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:
Marcel Hollerbach 2018-07-13 10:06:58 -04:00 committed by Mike Blumenkrantz
parent 45173fa375
commit 655c5ee6e0
1 changed files with 4 additions and 1 deletions

View File

@ -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);