forked from enlightenment/efl
elm_test_focus: fix a testcase
Summary: The test was checking that multiple register calls fail. However, we made this more stable and are making register only error if the configuration is not the same. This fixes that. fix T7141 Reviewers: zmike Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7141 Differential Revision: https://phab.enlightenment.org/D6588
This commit is contained in:
parent
45173fa375
commit
655c5ee6e0
|
@ -32,7 +32,10 @@ EFL_START_TEST(focus_register_twice)
|
|||
);
|
||||
|
||||
fail_if(!efl_ui_focus_manager_calc_register(m, r2, r1, NULL));
|
||||
fail_if(efl_ui_focus_manager_calc_register(m, r2, r1, NULL));
|
||||
//same confguration don't error out
|
||||
fail_if(!efl_ui_focus_manager_calc_register(m, r2, r1, NULL));
|
||||
//different confidurations error out
|
||||
fail_if(efl_ui_focus_manager_calc_register(m, r2, r1, r1));
|
||||
|
||||
efl_unref(r1);
|
||||
efl_unref(m);
|
||||
|
|
Loading…
Reference in New Issue