summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2019-09-23 15:27:34 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-23 15:50:28 -0400
commit059e48ff0ef3f084e459e9542e47ba67c9e3f5c1 (patch)
tree88e804f2a024b65c230f97f3123a1f18fec3f29b /src/tests
parentb5e5117992e2e8601cfa786f90614a4a2e0be39c (diff)
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
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/efl/efl_test_composite_model.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/efl/efl_test_composite_model.c b/src/tests/efl/efl_test_composite_model.c
index 5a7d3f21ab..abae4c3666 100644
--- a/src/tests/efl/efl_test_composite_model.c
+++ b/src/tests/efl/efl_test_composite_model.c
@@ -51,9 +51,9 @@ _children_slice_get_then(void *data EINA_UNUSED,
51 p_true = efl_model_property_get(child, "test_p_true"); 51 p_true = efl_model_property_get(child, "test_p_true");
52 p_false = efl_model_property_get(child, "test_p_false"); 52 p_false = efl_model_property_get(child, "test_p_false");
53 53
54 eina_value_int_get(p_int, &v_int); 54 fail_if(!eina_value_int_get(p_int, &v_int));
55 eina_value_bool_get(p_true, &v_true); 55 fail_if(!eina_value_bool_get(p_true, &v_true));
56 eina_value_bool_get(p_false, &v_false); 56 fail_if(!eina_value_bool_get(p_false, &v_false));
57 57
58 fail_if(v_int != base_ints[i]); 58 fail_if(v_int != base_ints[i]);
59 fail_if(v_true != EINA_TRUE); 59 fail_if(v_true != EINA_TRUE);