summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-07-13 10:06:58 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-13 10:22:45 -0400
commit655c5ee6e0113fd26cbd61010a74eb983d9de96b (patch)
tree23f05e56cbe2f8345c5a9c0a0eac51a50d90cf20
parent45173fa375e81b097c084f91c2c438c73933878f (diff)
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
-rw-r--r--src/tests/elementary/elm_test_focus.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/elementary/elm_test_focus.c b/src/tests/elementary/elm_test_focus.c
index 3ce49d9c71..7c1d032c5f 100644
--- a/src/tests/elementary/elm_test_focus.c
+++ b/src/tests/elementary/elm_test_focus.c
@@ -32,7 +32,10 @@ EFL_START_TEST(focus_register_twice)
32 ); 32 );
33 33
34 fail_if(!efl_ui_focus_manager_calc_register(m, r2, r1, NULL)); 34 fail_if(!efl_ui_focus_manager_calc_register(m, r2, r1, NULL));
35 fail_if(efl_ui_focus_manager_calc_register(m, r2, r1, NULL)); 35 //same confguration don't error out
36 fail_if(!efl_ui_focus_manager_calc_register(m, r2, r1, NULL));
37 //different confidurations error out
38 fail_if(efl_ui_focus_manager_calc_register(m, r2, r1, r1));
36 39
37 efl_unref(r1); 40 efl_unref(r1);
38 efl_unref(m); 41 efl_unref(m);