summaryrefslogtreecommitdiff
path: root/src/tests/eolian/eolian_parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eolian/eolian_parsing.c')
-rw-r--r--src/tests/eolian/eolian_parsing.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index 86c0798..c9d07ba 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -12,11 +12,12 @@
12 12
13START_TEST(eolian_namespaces) 13START_TEST(eolian_namespaces)
14{ 14{
15 const Eolian_Class *class11, *class112, *class21, *class_no, *impl_class; 15 const Eolian_Class *class11, *class112, *class21, *class_no, *impl_class,
16 *iclass;
16 const Eolian_Function *fid; 17 const Eolian_Function *fid;
17 Eina_Iterator *iter; 18 Eina_Iterator *iter;
18 Eolian_Function_Type func_type; 19 Eolian_Function_Type func_type;
19 const char *class_name, *val1, *val2; 20 const char *val1, *val2;
20 const Eolian_Implement *impl; 21 const Eolian_Implement *impl;
21 const Eolian_Unit *unit; 22 const Eolian_Unit *unit;
22 void *dummy; 23 void *dummy;
@@ -61,12 +62,12 @@ START_TEST(eolian_namespaces)
61 62
62 /* Inherits */ 63 /* Inherits */
63 fail_if(!(iter = eolian_class_inherits_get(class11))); 64 fail_if(!(iter = eolian_class_inherits_get(class11)));
64 fail_if(!(eina_iterator_next(iter, (void**)&class_name))); 65 fail_if(!(eina_iterator_next(iter, (void**)&iclass)));
65 fail_if(eolian_class_get_by_name(unit, class_name) != class112); 66 fail_if(iclass != class112);
66 fail_if(!(eina_iterator_next(iter, (void**)&class_name))); 67 fail_if(!(eina_iterator_next(iter, (void**)&iclass)));
67 fail_if(eolian_class_get_by_name(unit, class_name) != class21); 68 fail_if(iclass != class21);
68 fail_if(!(eina_iterator_next(iter, (void**)&class_name))); 69 fail_if(!(eina_iterator_next(iter, (void**)&iclass)));
69 fail_if(eolian_class_get_by_name(unit, class_name) != class_no); 70 fail_if(iclass != class_no);
70 fail_if(eina_iterator_next(iter, &dummy)); 71 fail_if(eina_iterator_next(iter, &dummy));
71 eina_iterator_free(iter); 72 eina_iterator_free(iter);
72 73