summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-05-22 16:14:20 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:20 -0700
commit0c0f2b75e4c672ccab97f66b71f03824bc819460 (patch)
tree37ed78b1c01052f7a0e1830b21bfe4662ac7f883 /src
parent48738d125c7ad287e5b055d440f6376227506829 (diff)
eo: add infrastructure to test critical Eina Error.
Diffstat (limited to 'src')
-rw-r--r--src/tests/eo/suite/eo_error_msgs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/eo/suite/eo_error_msgs.h b/src/tests/eo/suite/eo_error_msgs.h
index c3690fd345..56819040c0 100644
--- a/src/tests/eo/suite/eo_error_msgs.h
+++ b/src/tests/eo/suite/eo_error_msgs.h
@@ -27,4 +27,10 @@ eo_test_safety_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const ch
27 ctx.did = EINA_FALSE; \ 27 ctx.did = EINA_FALSE; \
28 ctx.expected_level = EINA_LOG_LEVEL_ERR 28 ctx.expected_level = EINA_LOG_LEVEL_ERR
29 29
30#define TEST_EO_CRITICAL(fn, _msg) \
31 ctx.msg = _msg; \
32 ctx.fnc = fn; \
33 ctx.did = EINA_FALSE; \
34 ctx.expected_level = EINA_LOG_LEVEL_CRITICAL
35
30#endif /* _EO_ERROR_MSGS_H */ 36#endif /* _EO_ERROR_MSGS_H */