summaryrefslogtreecommitdiff
path: root/src/tests/ecore/efl_app_test_promise.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-04-02 08:34:14 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-04-02 08:34:18 -0400
commitf5d3030d7bb42b067a4ffff28ff15351358107b9 (patch)
tree9da0b24d7855c478876443537fac1b068cfd5a5e /src/tests/ecore/efl_app_test_promise.c
parent68c530080b7db72ca345d500505e56424d87d2d9 (diff)
tests: unset eina log callback at end of each efl_app promise test
Summary: ensure that this doesn't trigger cascading errors Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8514
Diffstat (limited to 'src/tests/ecore/efl_app_test_promise.c')
-rw-r--r--src/tests/ecore/efl_app_test_promise.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/ecore/efl_app_test_promise.c b/src/tests/ecore/efl_app_test_promise.c
index 2766297..91d3f80 100644
--- a/src/tests/ecore/efl_app_test_promise.c
+++ b/src/tests/ecore/efl_app_test_promise.c
@@ -1131,6 +1131,7 @@ EFL_START_TEST(efl_test_promise_null)
1131 fail_unless(ctx.did); 1131 fail_unless(ctx.did);
1132 1132
1133 ecore_shutdown(); 1133 ecore_shutdown();
1134 eina_log_print_cb_set(NULL, NULL);
1134} 1135}
1135EFL_END_TEST 1136EFL_END_TEST
1136 1137
@@ -1152,6 +1153,7 @@ EFL_START_TEST(efl_test_promise_reject_resolve_null)
1152 eina_promise_reject(NULL, DEFAULT_ERROR); 1153 eina_promise_reject(NULL, DEFAULT_ERROR);
1153 fail_unless(ctx.did); 1154 fail_unless(ctx.did);
1154 ecore_shutdown(); 1155 ecore_shutdown();
1156 eina_log_print_cb_set(NULL, NULL);
1155} 1157}
1156EFL_END_TEST 1158EFL_END_TEST
1157 1159
@@ -1236,6 +1238,7 @@ EFL_START_TEST(efl_test_future_null)
1236 ck_assert_ptr_eq(f, NULL); 1238 ck_assert_ptr_eq(f, NULL);
1237 ck_assert_int_eq(easy_cb_calls, 2); 1239 ck_assert_int_eq(easy_cb_calls, 2);
1238 ecore_shutdown(); 1240 ecore_shutdown();
1241 eina_log_print_cb_set(NULL, NULL);
1239} 1242}
1240EFL_END_TEST 1243EFL_END_TEST
1241 1244
@@ -1280,6 +1283,7 @@ EFL_START_TEST(efl_test_future_all_null)
1280 ck_assert_ptr_eq(f, NULL); 1283 ck_assert_ptr_eq(f, NULL);
1281 ecore_shutdown(); 1284 ecore_shutdown();
1282 ck_assert_int_eq(cb_called, len); 1285 ck_assert_int_eq(cb_called, len);
1286 eina_log_print_cb_set(NULL, NULL);
1283} 1287}
1284EFL_END_TEST 1288EFL_END_TEST
1285 1289
@@ -1311,6 +1315,7 @@ EFL_START_TEST(efl_test_future_race_null)
1311 ck_assert_ptr_eq(f, NULL); 1315 ck_assert_ptr_eq(f, NULL);
1312 ecore_shutdown(); 1316 ecore_shutdown();
1313 ck_assert_int_eq(cb_called, len); 1317 ck_assert_int_eq(cb_called, len);
1318 eina_log_print_cb_set(NULL, NULL);
1314} 1319}
1315EFL_END_TEST 1320EFL_END_TEST
1316 1321