bugBattle for Wesnoth - Bugs: bug #21747, test_gui2 unit tests fail

 
 
Show feedback again

bug #21747: test_gui2 unit tests fail

Submitted by:  Fabian Müller <fendrin>
Submitted on:  Mon 03 Mar 2014 07:16:29 AM UTC  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unit Tests
Status: NonePrivacy: Public
Assigned to: Mark de Wever <mordante>Open/Closed: Open
Release: 1.11.11+Operating System: All

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 05 Jun 2014 01:31:09 PM UTC, comment #1:

I've 'fixed' this by disabling the run of the tests with new_widgets set to true.

Alexander van Gessel <ai0867>
Project Member
Mon 03 Mar 2014 07:16:29 AM UTC, original submission:

src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_difficulty' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_difficulty' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_difficulty' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_difficulty' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_difficulty' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_selection' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_selection' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_selection' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_selection' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'campaign_selection' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'data_manage' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'data_manage' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'data_manage' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'data_manage' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'data_manage' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'editor_set_starting_position' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'editor_set_starting_position' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'editor_set_starting_position' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'editor_set_starting_position' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'editor_set_starting_position' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'game_load' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'game_load' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'game_load' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'game_load' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'game_load' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'gamestate_inspector' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'gamestate_inspector' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'gamestate_inspector' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'gamestate_inspector' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'gamestate_inspector' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'language_selection' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'language_selection' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'language_selection' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'language_selection' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'language_selection' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'simple_item_selector' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'simple_item_selector' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'simple_item_selector' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'simple_item_selector' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'simple_item_selector' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_change_control' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_change_control' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_change_control' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_change_control' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_change_control' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
warning gui/draw: Text: text is too wide for the canvas and will be clipped.
warning gui/draw: Text: text is too wide for the canvas and will be clipped.
warning gui/draw: Text: text is too wide for the canvas and will be clipped.
warning gui/draw: Text: text is too wide for the canvas and will be clipped.
warning gui/draw: Text: text is too wide for the canvas and will be clipped.
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_create_game' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_create_game' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_create_game' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_create_game' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_create_game' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_method_selection' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_method_selection' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_method_selection' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_method_selection' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_method_selection' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_server_list' Failed
new widgets = 1 resolution = 800x480
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_server_list' Failed
new widgets = 1 resolution = 800x600
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_server_list' Failed
new widgets = 1 resolution = 1024x768
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_server_list' Failed
new widgets = 1 resolution = 1280x1024
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..
src/tests/gui/test_gui2.cpp(173): error in "test_gui2": Test for 'mp_server_list' Failed
new widgets = 1 resolution = 1680x1050
Exception caught: Condition '!must_exist || result' failed at src/gui/auxiliary/find_widget.tpp:75 in function 'find_widget'..

Fabian Müller <fendrin>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ai0867 (Posted a comment)
  • -unavailable- added by fendrin (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup