path: root/src/tests/eo/suite/eo_test_class_simple.c
diff options
authorTom Hacohen <>2015-09-29 09:14:32 +0100
committerTom Hacohen <>2015-09-29 09:17:48 +0100
commitab6d7b44dfada31a2faa45455b00215959a0708e (patch)
tree9fda099074d1712e8e1b9aae7df65234d4271541 /src/tests/eo/suite/eo_test_class_simple.c
parent08d88d805cc8a0df65071aa2e9f55d312abb0a87 (diff)
Eo: add a regression test for broken callback comparison.
This bug was fixed in d889da6b12e6123073edb54d766c9af1fc6db822, but it was too late at night to start hacking on extracting a regression test and adding it to the suite, so adding it now. This test makes sure that we only fallback to string comparison with legacy events.
Diffstat (limited to 'src/tests/eo/suite/eo_test_class_simple.c')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/eo/suite/eo_test_class_simple.c b/src/tests/eo/suite/eo_test_class_simple.c
index 8e75eed5c3..cb4cb72c98 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -10,6 +10,9 @@
10EAPI const Eo_Event_Description _EV_A_CHANGED = 10EAPI const Eo_Event_Description _EV_A_CHANGED =
11 EO_EVENT_DESCRIPTION("a,changed"); 11 EO_EVENT_DESCRIPTION("a,changed");
12 12
13EAPI const Eo_Event_Description _EV_A_CHANGED2 =
14 EO_EVENT_DESCRIPTION("a,changed");
13static void 16static void
14_a_set(Eo *obj EINA_UNUSED, void *class_data, int a) 17_a_set(Eo *obj EINA_UNUSED, void *class_data, int a)
15{ 18{