summaryrefslogtreecommitdiff
path: root/src/tests/eo/function_overrides
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-09-27 17:01:51 +0100
committerTom Hacohen <tom@stosb.com>2013-09-27 17:01:51 +0100
commite6886e05b1f6feb9c620720b35b568c5e84de872 (patch)
tree3386a59fa3ce34dccb3f59e87b2904976fe05f7c /src/tests/eo/function_overrides
parent7ed7d7da8b8f7f969af806541a22be11e7b8477b (diff)
Eo: get rid of eo_class_do(_super) which we don't need anymore.
We now completely use eo_do(_super), so those are not needed.
Diffstat (limited to 'src/tests/eo/function_overrides')
-rw-r--r--src/tests/eo/function_overrides/function_overrides_inherit2.c4
-rw-r--r--src/tests/eo/function_overrides/function_overrides_main.c10
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/src/tests/eo/function_overrides/function_overrides_inherit2.c b/src/tests/eo/function_overrides/function_overrides_inherit2.c
index 0092655dfa..addf9fdd43 100644
--- a/src/tests/eo/function_overrides/function_overrides_inherit2.c
+++ b/src/tests/eo/function_overrides/function_overrides_inherit2.c
@@ -43,8 +43,8 @@ _class_print(Eo_Class *klass, void *data EINA_UNUSED, va_list *list)
43{ 43{
44 (void) list; 44 (void) list;
45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 45 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
46 fail_if(!eo_class_do_super(klass, MY_CLASS, simple_class_print())); 46 fail_if(!eo_do_super(klass, MY_CLASS, simple_class_print()));
47 fail_if(!eo_class_do_super(klass, MY_CLASS, simple_class_print2())); 47 fail_if(!eo_do_super(klass, MY_CLASS, simple_class_print2()));
48} 48}
49 49
50static void 50static void
diff --git a/src/tests/eo/function_overrides/function_overrides_main.c b/src/tests/eo/function_overrides/function_overrides_main.c
index c93e3130e1..4210925dfe 100644
--- a/src/tests/eo/function_overrides/function_overrides_main.c
+++ b/src/tests/eo/function_overrides/function_overrides_main.c
@@ -45,13 +45,13 @@ main(int argc, char *argv[])
45 fail_if(eo_do(obj, simple_class_print())); 45 fail_if(eo_do(obj, simple_class_print()));
46#endif 46#endif
47 47
48 fail_if(!eo_class_do(SIMPLE_CLASS, simple_class_print())); 48 fail_if(!eo_do(SIMPLE_CLASS, simple_class_print()));
49 fail_if(!eo_class_do(INHERIT_CLASS, simple_class_print())); 49 fail_if(!eo_do(INHERIT_CLASS, simple_class_print()));
50 fail_if(!eo_class_do(INHERIT2_CLASS, simple_class_print())); 50 fail_if(!eo_do(INHERIT2_CLASS, simple_class_print()));
51 fail_if(!eo_class_do(INHERIT3_CLASS, simple_class_print())); 51 fail_if(!eo_do(INHERIT3_CLASS, simple_class_print()));
52 52
53#ifdef EO_DEBUG 53#ifdef EO_DEBUG
54 fail_if(eo_class_do(SIMPLE_CLASS, simple_a_print())); 54 fail_if(eo_do(SIMPLE_CLASS, simple_a_print()));
55#endif 55#endif
56 56
57 eo_do_super(obj, SIMPLE_CLASS, eo_constructor()); 57 eo_do_super(obj, SIMPLE_CLASS, eo_constructor());
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.c b/src/tests/eo/function_overrides/function_overrides_simple.c
index ff1d5b3bc3..afa4fef9fb 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.c
+++ b/src/tests/eo/function_overrides/function_overrides_simple.c
@@ -34,8 +34,8 @@ _class_print(Eo_Class *klass, void *data EINA_UNUSED, va_list *list)
34{ 34{
35 (void) list; 35 (void) list;
36 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS)); 36 printf("Print %s-%s\n", eo_class_name_get(klass), eo_class_name_get(MY_CLASS));
37 fail_if(eo_class_do_super(klass, MY_CLASS, simple_class_print())); 37 fail_if(eo_do_super(klass, MY_CLASS, simple_class_print()));
38 fail_if(eo_class_do_super(klass, MY_CLASS, simple_class_print2())); 38 fail_if(eo_do_super(klass, MY_CLASS, simple_class_print2()));
39} 39}
40 40
41static void 41static void