projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1648b67
)
eo: cover eo_class_get new behaviour
author
Jérémy Zurcher
<jeremy@asynk.ch>
Sat, 12 Oct 2013 21:56:17 +0000
(23:56 +0200)
committer
Jérémy Zurcher
<jeremy@asynk.ch>
Sat, 12 Oct 2013 22:00:13 +0000
(
00:00
+0200)
src/tests/eo/suite/eo_test_general.c
patch
|
blob
|
history
diff --git
a/src/tests/eo/suite/eo_test_general.c
b/src/tests/eo/suite/eo_test_general.c
index
a9d0b2f
..
e2dde96
100644
(file)
--- 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);