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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index 53ffbe6..3d2b4db 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -686,6 +686,7 @@ EFL_START_TEST(eolian_struct)
686 const Eolian_Unit *unit; 686 const Eolian_Unit *unit;
687 const char *type_name; 687 const char *type_name;
688 const char *file; 688 const char *file;
689 Eina_Iterator *structs;
689 690
690 Eolian_State *eos = eolian_state_new(); 691 Eolian_State *eos = eolian_state_new();
691 692
@@ -697,6 +698,9 @@ EFL_START_TEST(eolian_struct)
697 fail_if(!(class = eolian_unit_class_by_name_get(unit, "Struct"))); 698 fail_if(!(class = eolian_unit_class_by_name_get(unit, "Struct")));
698 fail_if(!eolian_class_function_by_name_get(class, "foo", EOLIAN_METHOD)); 699 fail_if(!eolian_class_function_by_name_get(class, "foo", EOLIAN_METHOD));
699 700
701 fail_if(!(structs = eolian_state_structs_by_file_get(eos, "struct.eo")));
702 eina_iterator_free(structs);
703
700 /* named struct */ 704 /* named struct */
701 fail_if(!(tdl = eolian_unit_struct_by_name_get(unit, "Named"))); 705 fail_if(!(tdl = eolian_unit_struct_by_name_get(unit, "Named")));
702 fail_if(!(type_name = eolian_typedecl_short_name_get(tdl))); 706 fail_if(!(type_name = eolian_typedecl_short_name_get(tdl)));