summaryrefslogtreecommitdiff
path: root/src/tests/eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-01 11:08:34 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-01 11:32:43 +0100
commit32a2268f46f8e1c03c01b5bdb85217a9a19ee7e8 (patch)
tree3b04aed2cfba12fa8693ac4a68f50908bf7828d5 /src/tests/eo
parent0f40a43e531bd9ac6403636f91aff3b56ed5e008 (diff)
eo: fix efl_isa to work propertly with interfaces
mro only contains special interfaces, not in general all, in order to have a working function, while NOT having a bad performance. In order to achive that we just copy the code that is done on efl_isa for a object. which is a linear walk of a list ref D7857 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7860
Diffstat (limited to 'src/tests/eo')
-rw-r--r--src/tests/eo/interface/interface_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/eo/interface/interface_main.c b/src/tests/eo/interface/interface_main.c
index 53142cfd7f..ed56c9fa26 100644
--- a/src/tests/eo/interface/interface_main.c
+++ b/src/tests/eo/interface/interface_main.c
@@ -37,6 +37,9 @@ main(int argc, char *argv[])
37 37
38 fail_if(!efl_isa(obj, INTERFACE_CLASS)); 38 fail_if(!efl_isa(obj, INTERFACE_CLASS));
39 fail_if(!efl_isa(obj, INTERFACE2_CLASS)); 39 fail_if(!efl_isa(obj, INTERFACE2_CLASS));
40 fail_if(!efl_isa(SIMPLE_CLASS, INTERFACE_CLASS));
41 fail_if(!efl_isa(SIMPLE_CLASS, INTERFACE2_CLASS));
42 fail_if(efl_isa(INTERFACE_CLASS, INTERFACE2_CLASS));
40 43
41 efl_unref(obj); 44 efl_unref(obj);
42 efl_object_shutdown(); 45 efl_object_shutdown();