summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_naviframe.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-07-10 13:57:40 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-07-10 13:57:40 -0400
commitf5c03fe1947653cbff5a9d5a60aa2314ce471b9c (patch)
tree7f9903558448fdfeb08e8725f35e76961e1217fa /src/tests/elementary/elm_test_naviframe.c
parent65c47edc3dafee089507198f395a973767878c19 (diff)
tests/elm: fail tests if unexpected warnings or errors occur
Summary: warnings and errors should never occur in unit tests unless they are intentionally triggered. this will help catch regressions Depends on D9256 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9257
Diffstat (limited to 'src/tests/elementary/elm_test_naviframe.c')
-rw-r--r--src/tests/elementary/elm_test_naviframe.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tests/elementary/elm_test_naviframe.c b/src/tests/elementary/elm_test_naviframe.c
index 336da14..01f5dfc 100644
--- a/src/tests/elementary/elm_test_naviframe.c
+++ b/src/tests/elementary/elm_test_naviframe.c
@@ -81,8 +81,6 @@ EFL_START_TEST(elm_naviframe_test_content_preserve_on_pop)
81 81
82 win = win_add(NULL, "naviframe", ELM_WIN_BASIC); 82 win = win_add(NULL, "naviframe", ELM_WIN_BASIC);
83 83
84 fail_on_errors_setup();
85
86 naviframe = elm_naviframe_add(win); 84 naviframe = elm_naviframe_add(win);
87 elm_naviframe_content_preserve_on_pop_set(naviframe, EINA_TRUE); 85 elm_naviframe_content_preserve_on_pop_set(naviframe, EINA_TRUE);
88 86
@@ -109,7 +107,6 @@ EFL_START_TEST(elm_naviframe_test_content_preserve_on_pop)
109 elm_object_signal_emit(button, "elm,action,click", "elm"); 107 elm_object_signal_emit(button, "elm,action,click", "elm");
110 108
111 ecore_main_loop_begin(); 109 ecore_main_loop_begin();
112 fail_on_errors_teardown();
113} 110}
114EFL_END_TEST 111EFL_END_TEST
115 112