summaryrefslogtreecommitdiff
path: root/src/tests/elementary/efl_ui_test_focus.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-05-28 12:01:57 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-28 12:01:57 -0400
commit8721caf787ce1a9abb6198f41bfc1a033d4f799a (patch)
tree2ec813d4f045cfa658302385d4baa36f3f114a43 /src/tests/elementary/efl_ui_test_focus.c
parent52b2701bc3bfb64a3f6ca4ce0b992ac83d7c9e73 (diff)
efl_ui: add a helper for not tollerating errors in a testsuite
Summary: We now also fail in the focus tests Depends on D9021 Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9022
Diffstat (limited to 'src/tests/elementary/efl_ui_test_focus.c')
-rw-r--r--src/tests/elementary/efl_ui_test_focus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/elementary/efl_ui_test_focus.c b/src/tests/elementary/efl_ui_test_focus.c
index 38a2ac0..8e75459 100644
--- a/src/tests/elementary/efl_ui_test_focus.c
+++ b/src/tests/elementary/efl_ui_test_focus.c
@@ -1,4 +1,5 @@
1#include "efl_ui_test_focus_common.h" 1#include "efl_ui_test_focus_common.h"
2#include "suite_helpers.h"
2 3
3EFL_START_TEST(focus_unregister_twice) 4EFL_START_TEST(focus_unregister_twice)
4{ 5{
@@ -1072,6 +1073,7 @@ EFL_END_TEST
1072 1073
1073void efl_ui_test_focus(TCase *tc) 1074void efl_ui_test_focus(TCase *tc)
1074{ 1075{
1076 tcase_add_checked_fixture(tc, fail_on_errors_setup, fail_on_errors_teardown);
1075 tcase_add_test(tc, focus_register_twice); 1077 tcase_add_test(tc, focus_register_twice);
1076 tcase_add_test(tc, focus_unregister_twice); 1078 tcase_add_test(tc, focus_unregister_twice);
1077 tcase_add_test(tc, pos_check); 1079 tcase_add_test(tc, pos_check);