Code review comment for lp:~stolowski/unity-2d/hud-highlight-fix

Albert Astals Cid (aacid) wrote :

The tests fail here

  1) Failure:
test_Highlight_should_follow_mouse(HUD_Search_tests)
    [/usr/lib/ruby/vendor_ruby/tdriver/verify/verify.rb:715:in `verify_equal'
     hud-search-tests.rb:46:in `item_is_highlighted'
     hud-search-tests.rb:220:in `test_Highlight_should_follow_mouse'
     /home/tsdgeos_work/unity-2d/unity-2d_trunk/tests/misc/lib/testhelper.rb:114:in `__send__'
     /home/tsdgeos_work/unity-2d/unity-2d_trunk/tests/misc/lib/testhelper.rb:114:in `run'
     /home/tsdgeos_work/unity-2d/unity-2d_trunk/tests/misc/lib/testhelper.rb:39:in `run']:
Verification "Result item #2 should have focus" at hud-search-tests.rb:46:in `item_is_highlighted' failed:
=> verify_equal('true', TIMEOUT, "Result item ##{index+1} should have focus") {
           results[index]['activeFocus']
       }
The value was not equal to true. It returned: "false"

  2) Failure:
test_Mixing_Keyboard___Mouse_navigation_should_highlight_only_one_item(HUD_Search_tests)
    [/usr/lib/ruby/vendor_ruby/tdriver/verify/verify.rb:715:in `verify_equal'
     hud-search-tests.rb:46:in `item_is_highlighted'
     hud-search-tests.rb:264:in `test_Mixing_Keyboard___Mouse_navigation_should_highlight_only_one_item'
     /home/tsdgeos_work/unity-2d/unity-2d_trunk/tests/misc/lib/testhelper.rb:114:in `__send__'
     /home/tsdgeos_work/unity-2d/unity-2d_trunk/tests/misc/lib/testhelper.rb:114:in `run'
     /home/tsdgeos_work/unity-2d/unity-2d_trunk/tests/misc/lib/testhelper.rb:39:in `run']:
Verification "Result item #2 should have focus" at hud-search-tests.rb:46:in `item_is_highlighted' failed:
=> verify_equal('true', TIMEOUT, "Result item ##{index+1} should have focus") {
           results[index]['activeFocus']
       }
The value was not equal to true. It returned: "false"

« Back to merge proposal