summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/edje/edje_test_edje.c3
-rw-r--r--src/tests/eo/composite_objects/composite_objects_comp.c1
-rw-r--r--src/tests/eo/composite_objects/composite_objects_main.c1
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.c4
-rw-r--r--src/tests/eo/function_overrides/function_overrides_simple.h4
-rw-r--r--src/tests/eo/signals/signals_simple.c4
-rw-r--r--src/tests/eo/suite/eo_test_class_simple.c2
-rw-r--r--src/tests/eo/suite/eo_test_class_simple.h2
-rw-r--r--src/tests/eo/suite/eo_test_general.c3
9 files changed, 9 insertions, 15 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index e28329f1dd..f8aea4a7b9 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -178,7 +178,6 @@ START_TEST(edje_test_masking)
178 Evas *evas = EDJE_TEST_INIT_EVAS(); 178 Evas *evas = EDJE_TEST_INIT_EVAS();
179 const Evas_Object *sub, *clip2, *clip; 179 const Evas_Object *sub, *clip2, *clip;
180 Evas_Object *obj; 180 Evas_Object *obj;
181 Eina_Bool b;
182 181
183 obj = edje_object_add(evas); 182 obj = edje_object_add(evas);
184 fail_unless(edje_object_file_set(obj, test_layout_get("test_masking.edj"), "test_group")); 183 fail_unless(edje_object_file_set(obj, test_layout_get("test_masking.edj"), "test_group"));
@@ -213,7 +212,6 @@ START_TEST(edje_test_filters)
213 const Evas_Object *text, *sub; 212 const Evas_Object *text, *sub;
214 Evas_Object *obj, *src = NULL; 213 Evas_Object *obj, *src = NULL;
215 const char *prg, *name; 214 const char *prg, *name;
216 Eina_Bool b;
217 215
218 setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1); 216 setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1);
219 217
@@ -254,7 +252,6 @@ START_TEST(edje_test_snapshot)
254 Evas *evas = EDJE_TEST_INIT_EVAS(); 252 Evas *evas = EDJE_TEST_INIT_EVAS();
255 const Evas_Object *sub; 253 const Evas_Object *sub;
256 Evas_Object *obj; 254 Evas_Object *obj;
257 Eina_Bool b;
258 255
259 setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1); 256 setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1);
260 257
diff --git a/src/tests/eo/composite_objects/composite_objects_comp.c b/src/tests/eo/composite_objects/composite_objects_comp.c
index 59ab9560dc..51824a9a98 100644
--- a/src/tests/eo/composite_objects/composite_objects_comp.c
+++ b/src/tests/eo/composite_objects/composite_objects_comp.c
@@ -24,7 +24,6 @@ _a_get(Eo *obj, void *class_data EINA_UNUSED)
24static Eo * 24static Eo *
25_constructor(Eo *obj, void *class_data EINA_UNUSED) 25_constructor(Eo *obj, void *class_data EINA_UNUSED)
26{ 26{
27 Eina_Bool tmp;
28 obj = eo_constructor(eo_super(obj, MY_CLASS)); 27 obj = eo_constructor(eo_super(obj, MY_CLASS));
29 28
30 Eo *simple = eo_add(SIMPLE_CLASS, obj); 29 Eo *simple = eo_add(SIMPLE_CLASS, obj);
diff --git a/src/tests/eo/composite_objects/composite_objects_main.c b/src/tests/eo/composite_objects/composite_objects_main.c
index 9e90eb412a..6f9e914415 100644
--- a/src/tests/eo/composite_objects/composite_objects_main.c
+++ b/src/tests/eo/composite_objects/composite_objects_main.c
@@ -26,7 +26,6 @@ _a_changed_cb(void *data, const Eo_Event *event)
26int 26int
27main(int argc, char *argv[]) 27main(int argc, char *argv[])
28{ 28{
29 Eina_Bool tmp;
30 (void) argc; 29 (void) argc;
31 (void) argv; 30 (void) argv;
32 eo_init(); 31 eo_init();
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.c b/src/tests/eo/function_overrides/function_overrides_simple.c
index 57942f7efe..1e0a6a27f1 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.c
+++ b/src/tests/eo/function_overrides/function_overrides_simple.c
@@ -53,8 +53,8 @@ _class_print2(Eo_Class *klass, void *class_data EINA_UNUSED)
53 53
54EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a); 54EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
55EAPI EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE); 55EAPI EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE);
56EAPI EO_FUNC_BODY(simple_class_print, Eina_Bool, EINA_FALSE); 56EAPI EO_FUNC_BODY_CONST(simple_class_print, Eina_Bool, EINA_FALSE);
57EAPI EO_FUNC_BODY(simple_class_print2, Eina_Bool, EINA_FALSE); 57EAPI EO_FUNC_BODY_CONST(simple_class_print2, Eina_Bool, EINA_FALSE);
58 58
59static Eo_Op_Description op_descs[] = { 59static Eo_Op_Description op_descs[] = {
60 EO_OP_FUNC(simple_a_set, _a_set), 60 EO_OP_FUNC(simple_a_set, _a_set),
diff --git a/src/tests/eo/function_overrides/function_overrides_simple.h b/src/tests/eo/function_overrides/function_overrides_simple.h
index 3c54d74dd4..9128c90d34 100644
--- a/src/tests/eo/function_overrides/function_overrides_simple.h
+++ b/src/tests/eo/function_overrides/function_overrides_simple.h
@@ -8,8 +8,8 @@ typedef struct
8 8
9EAPI void simple_a_set(Eo *obj, int a); 9EAPI void simple_a_set(Eo *obj, int a);
10EAPI Eina_Bool simple_a_print(Eo *obj); 10EAPI Eina_Bool simple_a_print(Eo *obj);
11EAPI Eina_Bool simple_class_print(Eo *obj); 11EAPI Eina_Bool simple_class_print(const Eo *obj);
12EAPI Eina_Bool simple_class_print2(Eo *obj); 12EAPI Eina_Bool simple_class_print2(const Eo *obj);
13 13
14extern const Eo_Event_Description _SIG_A_CHANGED; 14extern const Eo_Event_Description _SIG_A_CHANGED;
15#define SIG_A_CHANGED (&(_SIG_A_CHANGED)) 15#define SIG_A_CHANGED (&(_SIG_A_CHANGED))
diff --git a/src/tests/eo/signals/signals_simple.c b/src/tests/eo/signals/signals_simple.c
index 8a70f5fca2..458b95c008 100644
--- a/src/tests/eo/signals/signals_simple.c
+++ b/src/tests/eo/signals/signals_simple.c
@@ -27,7 +27,7 @@ _a_set(Eo *obj, void *class_data, int a)
27} 27}
28 28
29Eina_Bool 29Eina_Bool
30_cb_added(void *data, const Eo_Event *event) 30_cb_added(void *data EINA_UNUSED, const Eo_Event *event)
31{ 31{
32 Simple_Public_Data *pd = eo_data_scope_get(event->obj, MY_CLASS); 32 Simple_Public_Data *pd = eo_data_scope_get(event->obj, MY_CLASS);
33 const Eo_Callback_Array_Item *callback_array = event->event_info; 33 const Eo_Callback_Array_Item *callback_array = event->event_info;
@@ -42,7 +42,7 @@ _cb_added(void *data, const Eo_Event *event)
42} 42}
43 43
44Eina_Bool 44Eina_Bool
45_cb_deled(void *data, const Eo_Event *event) 45_cb_deled(void *data EINA_UNUSED, const Eo_Event *event)
46{ 46{
47 Simple_Public_Data *pd = eo_data_scope_get(event->obj, MY_CLASS); 47 Simple_Public_Data *pd = eo_data_scope_get(event->obj, MY_CLASS);
48 const Eo_Callback_Array_Item *callback_array = event->event_info; 48 const Eo_Callback_Array_Item *callback_array = event->event_info;
diff --git a/src/tests/eo/suite/eo_test_class_simple.c b/src/tests/eo/suite/eo_test_class_simple.c
index 1fe449a002..224e80a290 100644
--- a/src/tests/eo/suite/eo_test_class_simple.c
+++ b/src/tests/eo/suite/eo_test_class_simple.c
@@ -84,7 +84,7 @@ _dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED, Eo_Dbg_Info *root)
84EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a); 84EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
85EO_FUNC_BODY(simple_a_get, int, 0); 85EO_FUNC_BODY(simple_a_get, int, 0);
86EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE); 86EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE);
87EO_FUNC_BODY(simple_class_hi_print, Eina_Bool, EINA_FALSE); 87EO_FUNC_BODY_CONST(simple_class_hi_print, Eina_Bool, EINA_FALSE);
88EO_VOID_FUNC_BODY(simple_pure_virtual); 88EO_VOID_FUNC_BODY(simple_pure_virtual);
89EO_VOID_FUNC_BODY(simple_no_implementation); 89EO_VOID_FUNC_BODY(simple_no_implementation);
90 90
diff --git a/src/tests/eo/suite/eo_test_class_simple.h b/src/tests/eo/suite/eo_test_class_simple.h
index 43cdd28bf6..3360ea887b 100644
--- a/src/tests/eo/suite/eo_test_class_simple.h
+++ b/src/tests/eo/suite/eo_test_class_simple.h
@@ -9,7 +9,7 @@ typedef struct
9EAPI void simple_a_set(Eo *obj, int a); 9EAPI void simple_a_set(Eo *obj, int a);
10EAPI int simple_a_get(Eo *obj); 10EAPI int simple_a_get(Eo *obj);
11EAPI Eina_Bool simple_a_print(Eo *obj); 11EAPI Eina_Bool simple_a_print(Eo *obj);
12EAPI Eina_Bool simple_class_hi_print(Eo *obj); 12EAPI Eina_Bool simple_class_hi_print(const Eo *obj);
13EAPI void simple_recursive(Eo *obj, int n); 13EAPI void simple_recursive(Eo *obj, int n);
14EAPI void simple_pure_virtual(Eo *obj); 14EAPI void simple_pure_virtual(Eo *obj);
15EAPI void simple_no_implementation(Eo *obj); 15EAPI void simple_no_implementation(Eo *obj);
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index 4800872ef3..b87f37a01c 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -284,7 +284,6 @@ END_TEST
284 284
285START_TEST(eo_composite_tests) 285START_TEST(eo_composite_tests)
286{ 286{
287 Eina_Bool tmp;
288 eo_init(); 287 eo_init();
289 288
290 Eo *obj = eo_add(SIMPLE_CLASS, NULL); 289 Eo *obj = eo_add(SIMPLE_CLASS, NULL);
@@ -735,7 +734,7 @@ _class_hi_print(Eo_Class *klass EINA_UNUSED, void *class_data EINA_UNUSED)
735} 734}
736 735
737EO_FUNC_BODY(multi_a_print, Eina_Bool, EINA_FALSE); 736EO_FUNC_BODY(multi_a_print, Eina_Bool, EINA_FALSE);
738EO_FUNC_BODY(multi_class_hi_print, Eina_Bool, EINA_FALSE); 737EO_FUNC_BODY_CONST(multi_class_hi_print, Eina_Bool, EINA_FALSE);
739 738
740static Eo_Op_Description _multi_do_op_descs[] = { 739static Eo_Op_Description _multi_do_op_descs[] = {
741 EO_OP_FUNC(multi_a_print, _a_print), 740 EO_OP_FUNC(multi_a_print, _a_print),