summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-08-16 16:32:13 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-08-16 16:33:37 +0200
commit2f147f272596306dc230a5085c5a5b21aae6ba3c (patch)
tree5b5c1f516917898bbd9359e1cf23aa6ce26aa587 /src/tests
parent8a8a833837f7217aea0a33f4f7afbb6edfb103c4 (diff)
eolian: rename is_class api for functions to is_static
Still needs restriction to classes only etc to be done later. Ref https://phab.enlightenment.org/T8118 Ref https://phab.enlightenment.org/T7675
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian/eolian_parsing.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index 7d680af4ec..9d6a219655 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -1005,22 +1005,22 @@ EFL_START_TEST(eolian_class_funcs)
1005 /* Class properties */ 1005 /* Class properties */
1006 fail_if(eolian_class_function_by_name_get(class, "a", EOLIAN_PROPERTY)); 1006 fail_if(eolian_class_function_by_name_get(class, "a", EOLIAN_PROPERTY));
1007 fail_if(!(fid = eolian_class_function_by_name_get(class, "a", EOLIAN_PROP_GET))); 1007 fail_if(!(fid = eolian_class_function_by_name_get(class, "a", EOLIAN_PROP_GET)));
1008 fail_if(!eolian_function_is_class(fid)); 1008 fail_if(!eolian_function_is_static(fid));
1009 fail_if(!(fid = eolian_class_function_by_name_get(class, "b", EOLIAN_PROP_GET))); 1009 fail_if(!(fid = eolian_class_function_by_name_get(class, "b", EOLIAN_PROP_GET)));
1010 fail_if(eolian_function_is_class(fid)); 1010 fail_if(eolian_function_is_static(fid));
1011 1011
1012 /* Class methods */ 1012 /* Class methods */
1013 fail_if(!(fid = eolian_class_function_by_name_get(class, "foo", EOLIAN_METHOD))); 1013 fail_if(!(fid = eolian_class_function_by_name_get(class, "foo", EOLIAN_METHOD)));
1014 fail_if(!eolian_function_is_class(fid)); 1014 fail_if(!eolian_function_is_static(fid));
1015 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PUBLIC); 1015 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PUBLIC);
1016 fail_if(!(fid = eolian_class_function_by_name_get(class, "bar", EOLIAN_METHOD))); 1016 fail_if(!(fid = eolian_class_function_by_name_get(class, "bar", EOLIAN_METHOD)));
1017 fail_if(eolian_function_is_class(fid)); 1017 fail_if(eolian_function_is_static(fid));
1018 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PUBLIC); 1018 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PUBLIC);
1019 fail_if(!(fid = eolian_class_function_by_name_get(class, "baz", EOLIAN_METHOD))); 1019 fail_if(!(fid = eolian_class_function_by_name_get(class, "baz", EOLIAN_METHOD)));
1020 fail_if(!eolian_function_is_class(fid)); 1020 fail_if(!eolian_function_is_static(fid));
1021 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PROTECTED); 1021 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PROTECTED);
1022 fail_if(!(fid = eolian_class_function_by_name_get(class, "bah", EOLIAN_METHOD))); 1022 fail_if(!(fid = eolian_class_function_by_name_get(class, "bah", EOLIAN_METHOD)));
1023 fail_if(eolian_function_is_class(fid)); 1023 fail_if(eolian_function_is_static(fid));
1024 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PROTECTED); 1024 fail_if(eolian_function_scope_get(fid, EOLIAN_METHOD) != EOLIAN_SCOPE_PROTECTED);
1025 1025
1026 eolian_state_free(eos); 1026 eolian_state_free(eos);