summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_general.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-01-18 14:04:59 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-24 16:29:25 -0800
commit549bf6e2696e9d1d52cfd365397a98511b82f92b (patch)
treea08217c006684296e9eadf6bbf8dd96827321f73 /src/tests/eo/suite/eo_test_general.c
parent87c5ffda588c348416f6a52029cdad8fe192c4f5 (diff)
eo: improve efl_isa to be able to know if a class is part of the hierarchy of another class.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7703
Diffstat (limited to '')
-rw-r--r--src/tests/eo/suite/eo_test_general.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index 889bfdd294..a8e6391b2e 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -327,6 +327,8 @@ EFL_START_TEST(efl_data_safe_fetch)
327 fail_if(!efl_isa(obj, SIMPLE_CLASS)); 327 fail_if(!efl_isa(obj, SIMPLE_CLASS));
328 fail_if(!efl_isa(obj, SIMPLE2_CLASS)); 328 fail_if(!efl_isa(obj, SIMPLE2_CLASS));
329 fail_if(!efl_isa(obj, SIMPLE3_CLASS)); 329 fail_if(!efl_isa(obj, SIMPLE3_CLASS));
330 fail_if(!efl_isa(SIMPLE3_CLASS, SIMPLE_CLASS));
331 fail_if(!efl_isa(SIMPLE_CLASS, SIMPLE_CLASS));
330 fail_if(!efl_data_scope_safe_get(obj, SIMPLE_CLASS)); 332 fail_if(!efl_data_scope_safe_get(obj, SIMPLE_CLASS));
331 fail_if(!efl_data_scope_safe_get(obj, SIMPLE3_CLASS)); 333 fail_if(!efl_data_scope_safe_get(obj, SIMPLE3_CLASS));
332 fail_if(efl_data_scope_safe_get(obj, SIMPLE2_CLASS) != NULL); 334 fail_if(efl_data_scope_safe_get(obj, SIMPLE2_CLASS) != NULL);