summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_error_msgs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/suite/eo_error_msgs.h')
-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
ctx.did = EINA_FALSE; \
ctx.expected_level = EINA_LOG_LEVEL_ERR
+#define TEST_EO_CRITICAL(fn, _msg) \
+ ctx.msg = _msg; \
+ ctx.fnc = fn; \
+ ctx.did = EINA_FALSE; \
+ ctx.expected_level = EINA_LOG_LEVEL_CRITICAL
+
#endif /* _EO_ERROR_MSGS_H */