summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-16 15:27:04 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-16 15:37:04 +0200
commitd9594dbc9d9e2bf6e8e58a570f60c2206df45fb3 (patch)
tree3fa9c28b3c1ff63c65090c0a100d37c7ac80dc2b /src/tests
parent2d3c99d30bf00219b1062c60217503bbcdcb3a4a (diff)
eolian: drop @ctor_param and the associated APIs
This has been unused for a while, and has been just lingering around the code, so drop it so it doesn't make it into a release.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian/data/ctor_dtor.eo1
-rw-r--r--src/tests/eolian/eolian_parsing.c8
-rw-r--r--src/tests/eolian_cxx/eolian_cxx_test_binding.cc2
3 files changed, 0 insertions, 11 deletions
diff --git a/src/tests/eolian/data/ctor_dtor.eo b/src/tests/eolian/data/ctor_dtor.eo
index 256dcc0a4d..71bdcede81 100644
--- a/src/tests/eolian/data/ctor_dtor.eo
+++ b/src/tests/eolian/data/ctor_dtor.eo
@@ -23,6 +23,5 @@ class Ctor_Dtor extends Base {
23 constructors { 23 constructors {
24 .custom_constructor_1; 24 .custom_constructor_1;
25 .custom_constructor_2 @optional; 25 .custom_constructor_2 @optional;
26 .custom_constructor_3 @ctor_param;
27 } 26 }
28} 27}
diff --git a/src/tests/eolian/eolian_parsing.c b/src/tests/eolian/eolian_parsing.c
index cc9c79bb79..2dd6c7775a 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -313,14 +313,6 @@ EFL_START_TEST(eolian_ctor_dtor)
313 fail_if(strcmp(eolian_function_name_get(impl_func), "custom_constructor_2")); 313 fail_if(strcmp(eolian_function_name_get(impl_func), "custom_constructor_2"));
314 fail_if(!eolian_function_is_constructor(impl_func, class)); 314 fail_if(!eolian_function_is_constructor(impl_func, class));
315 fail_if(eolian_function_is_constructor(impl_func, base)); 315 fail_if(eolian_function_is_constructor(impl_func, base));
316 fail_if(!(eina_iterator_next(iter, (void**)&ctor)));
317 fail_if(!eolian_constructor_is_ctor_param(ctor));
318 fail_if(!(impl_class = eolian_constructor_class_get(ctor)));
319 fail_if(!(impl_func = eolian_constructor_function_get(ctor)));
320 fail_if(impl_class != class);
321 fail_if(strcmp(eolian_function_name_get(impl_func), "custom_constructor_3"));
322 fail_if(!eolian_function_is_constructor(impl_func, class));
323 fail_if(eolian_function_is_constructor(impl_func, base));
324 fail_if(eina_iterator_next(iter, &dummy)); 316 fail_if(eina_iterator_next(iter, &dummy));
325 eina_iterator_free(iter); 317 eina_iterator_free(iter);
326 318
diff --git a/src/tests/eolian_cxx/eolian_cxx_test_binding.cc b/src/tests/eolian_cxx/eolian_cxx_test_binding.cc
index 370619d6a7..ad2d48552d 100644
--- a/src/tests/eolian_cxx/eolian_cxx_test_binding.cc
+++ b/src/tests/eolian_cxx/eolian_cxx_test_binding.cc
@@ -292,7 +292,6 @@ EFL_START_TEST(eolian_cxx_test_constructors)
292 auto ctor = constructors[0]; 292 auto ctor = constructors[0];
293 ck_assert_str_eq("Generic.required_ctor_a", ctor.name.c_str()); 293 ck_assert_str_eq("Generic.required_ctor_a", ctor.name.c_str());
294 ck_assert(!ctor.is_optional); 294 ck_assert(!ctor.is_optional);
295 ck_assert(!ctor.is_ctor_param);
296 295
297 auto function = ctor.function; 296 auto function = ctor.function;
298 ck_assert_str_eq("required_ctor_a", function.name.c_str()); 297 ck_assert_str_eq("required_ctor_a", function.name.c_str());
@@ -300,7 +299,6 @@ EFL_START_TEST(eolian_cxx_test_constructors)
300 ctor = constructors[2]; 299 ctor = constructors[2];
301 ck_assert_str_eq("Generic.optional_ctor_a", ctor.name.c_str()); 300 ck_assert_str_eq("Generic.optional_ctor_a", ctor.name.c_str());
302 ck_assert(ctor.is_optional); 301 ck_assert(ctor.is_optional);
303 ck_assert(!ctor.is_ctor_param);
304 302
305 function = ctor.function; 303 function = ctor.function;
306 ck_assert_str_eq("optional_ctor_a", function.name.c_str()); 304 ck_assert_str_eq("optional_ctor_a", function.name.c_str());