efl: improve test in checking the return value during Eina_Value get operation.

Summary: Depends on D10061

Reviewers: zmike, bu5hm4n, SanghyeonLee, segfaultxavi, felipealmeida, lauromoura

Reviewed By: bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10062
This commit is contained in:
Cedric Bail 2019-09-23 15:27:34 -04:00 committed by Mike Blumenkrantz
parent b5e5117992
commit 059e48ff0e
1 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@ _children_slice_get_then(void *data EINA_UNUSED,
p_true = efl_model_property_get(child, "test_p_true");
p_false = efl_model_property_get(child, "test_p_false");
eina_value_int_get(p_int, &v_int);
eina_value_bool_get(p_true, &v_true);
eina_value_bool_get(p_false, &v_false);
fail_if(!eina_value_int_get(p_int, &v_int));
fail_if(!eina_value_bool_get(p_true, &v_true));
fail_if(!eina_value_bool_get(p_false, &v_false));
fail_if(v_int != base_ints[i]);
fail_if(v_true != EINA_TRUE);