jeyzu pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9e246eadd044936acddb95c957daab053c21b50e

commit 9e246eadd044936acddb95c957daab053c21b50e
Author: Jérémy Zurcher <[email protected]>
Date:   Sat Oct 12 23:56:17 2013 +0200

    eo: cover eo_class_get new behaviour
---
 src/tests/eo/suite/eo_test_general.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index a9d0b2f..e2dde96 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -669,6 +669,8 @@ START_TEST(eo_magic_checks)
         fail_if(eo_do_super(obj, (const Eo_Class *) buf, EO_NOOP));
         fail_if(eo_class_get((Eo *) buf));
         fail_if(eo_class_name_get((Eo_Class*) buf));
+        fail_if(eo_class_get(obj) != SIMPLE_CLASS);
+        fail_if(eo_class_get(SIMPLE_CLASS) != EO_CLASS_CLASS);
         eo_class_funcs_set((Eo_Class *) buf, NULL);
         eo_do((Eo_Class *) buf, NULL);
         eo_do_super((Eo_Class *) buf, SIMPLE_CLASS, EO_NOOP);

-- 


Reply via email to