efl: eina_magic_fail now trigger an ERR on NULL instead of CRITICAL.

Updating the test suite.


SVN revision: 82391
This commit is contained in:
Cedric BAIL 2013-01-08 09:04:29 +00:00
parent 63eeace6d6
commit 158759d507
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ _eina_test_magic_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const
{
struct log_ctx *ctx = data;
ck_assert_int_eq(level, EINA_LOG_LEVEL_CRITICAL);
ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR); /* Level ERR is triggered for access to NULL instead of level CRITICAL */
ck_assert_str_eq(ctx->msg, fmt);
ck_assert_str_eq(ctx->fnc, fnc);
ctx->did = EINA_TRUE;