summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-09-01 14:34:55 +0100
committerTom Hacohen <tom@stosb.com>2016-09-05 16:03:16 +0100
commitc8c0bbcfcfd33907e6f8edc253f094d89bd320c5 (patch)
treecdc7d0138b802329873ccbc94bcf4ac05a6a6aee /src/tests/eo/suite
parent48f7eb02a8a7c59af2118f7e617b943b0d1500c7 (diff)
Efl object: rename EFL_OBJECT_OVERRIDE_OPS_DEFINE.
It is now called EFL_OPS_DEFINE as it's used for general purpose ops definition.
Diffstat (limited to 'src/tests/eo/suite')
-rw-r--r--src/tests/eo/suite/eo_test_general.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index 4e2b2b32d4..e40ad8978e 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -73,7 +73,7 @@ START_TEST(efl_object_override_tests)
73 * make sure we don't cache. */ 73 * make sure we don't cache. */
74 ck_assert_int_eq(simple_a_get(obj), 0); 74 ck_assert_int_eq(simple_a_get(obj), 0);
75 75
76 EFL_OBJECT_OVERRIDE_OPS_DEFINE( 76 EFL_OPS_DEFINE(
77 overrides, 77 overrides,
78 EFL_OBJECT_OP_FUNC_OVERRIDE(simple_a_get, _simple_obj_override_a_get)); 78 EFL_OBJECT_OP_FUNC_OVERRIDE(simple_a_get, _simple_obj_override_a_get));
79 fail_if(!efl_object_override(obj, &overrides)); 79 fail_if(!efl_object_override(obj, &overrides));
@@ -85,7 +85,7 @@ START_TEST(efl_object_override_tests)
85 ck_assert_int_eq(simple_a_get(obj), OVERRIDE_A + OVERRIDE_A_SIMPLE); 85 ck_assert_int_eq(simple_a_get(obj), OVERRIDE_A + OVERRIDE_A_SIMPLE);
86 86
87 /* Override again. */ 87 /* Override again. */
88 EFL_OBJECT_OVERRIDE_OPS_DEFINE( 88 EFL_OPS_DEFINE(
89 overrides2, 89 overrides2,
90 EFL_OBJECT_OP_FUNC_OVERRIDE(simple_a_set, _simple_obj_override_a_double_set)); 90 EFL_OBJECT_OP_FUNC_OVERRIDE(simple_a_set, _simple_obj_override_a_double_set));
91 fail_if(!efl_object_override(obj, NULL)); 91 fail_if(!efl_object_override(obj, NULL));
@@ -99,7 +99,7 @@ START_TEST(efl_object_override_tests)
99 ck_assert_int_eq(simple_a_get(obj), OVERRIDE_A_SIMPLE * 2); 99 ck_assert_int_eq(simple_a_get(obj), OVERRIDE_A_SIMPLE * 2);
100 100
101 /* Try introducing a new function */ 101 /* Try introducing a new function */
102 EFL_OBJECT_OVERRIDE_OPS_DEFINE( 102 EFL_OPS_DEFINE(
103 overrides3, 103 overrides3,
104 EFL_OBJECT_OP_FUNC(simple2_class_beef_get, _simple_obj_override_a_double_set)); 104 EFL_OBJECT_OP_FUNC(simple2_class_beef_get, _simple_obj_override_a_double_set));
105 fail_if(!efl_object_override(obj, NULL)); 105 fail_if(!efl_object_override(obj, NULL));