summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-09 18:26:49 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-09 18:26:49 +0200
commit267c57d0f10d4b1577181c8f7157b7bc2f8053a6 (patch)
tree7e41546452c4ad6c6aa93664e3e2a858fd01bf9d /src/tests
parent165921ec040f427875fc0b32b1f03d4a45efd25e (diff)
eolian: remove second parameter for eolian_type_c_type_get
This has been replaced by newer APIs.
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 7ef4387e1a..cc9c79bb79 100644
--- a/src/tests/eolian/eolian_parsing.c
+++ b/src/tests/eolian/eolian_parsing.c
@@ -375,12 +375,12 @@ EFL_START_TEST(eolian_typedef)
375 fail_if(!(type_name = eolian_typedecl_short_name_get(tdl))); 375 fail_if(!(type_name = eolian_typedecl_short_name_get(tdl)));
376 fail_if(strcmp(type_name, "List_Objects")); 376 fail_if(strcmp(type_name, "List_Objects"));
377 fail_if(!(type = eolian_typedecl_base_type_get(tdl))); 377 fail_if(!(type = eolian_typedecl_base_type_get(tdl)));
378 fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT))); 378 fail_if(!(type_name = eolian_type_c_type_get(type)));
379 fail_if(strcmp(type_name, "Eina_List *")); 379 fail_if(strcmp(type_name, "Eina_List *"));
380 eina_stringshare_del(type_name); 380 eina_stringshare_del(type_name);
381 fail_if(!(type = eolian_type_base_type_get(type))); 381 fail_if(!(type = eolian_type_base_type_get(type)));
382 fail_if(!!eolian_type_next_type_get(type)); 382 fail_if(!!eolian_type_next_type_get(type));
383 fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT))); 383 fail_if(!(type_name = eolian_type_c_type_get(type)));
384 fail_if(strcmp(type_name, "Typedef *")); 384 fail_if(strcmp(type_name, "Typedef *"));
385 eina_stringshare_del(type_name); 385 eina_stringshare_del(type_name);
386 386
@@ -432,14 +432,14 @@ EFL_START_TEST(eolian_complex_type)
432 eina_stringshare_del(type_name); 432 eina_stringshare_del(type_name);
433 fail_if(!(type = eolian_type_base_type_get(type))); 433 fail_if(!(type = eolian_type_base_type_get(type)));
434 fail_if(!!eolian_type_next_type_get(type)); 434 fail_if(!!eolian_type_next_type_get(type));
435 fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT))); 435 fail_if(!(type_name = eolian_type_c_type_get(type)));
436 fail_if(eolian_type_is_move(type)); 436 fail_if(eolian_type_is_move(type));
437 fail_if(eolian_type_builtin_type_get(type) != EOLIAN_TYPE_BUILTIN_ARRAY); 437 fail_if(eolian_type_builtin_type_get(type) != EOLIAN_TYPE_BUILTIN_ARRAY);
438 fail_if(strcmp(type_name, "Eina_Array *")); 438 fail_if(strcmp(type_name, "Eina_Array *"));
439 eina_stringshare_del(type_name); 439 eina_stringshare_del(type_name);
440 fail_if(!(type = eolian_type_base_type_get(type))); 440 fail_if(!(type = eolian_type_base_type_get(type)));
441 fail_if(!!eolian_type_next_type_get(type)); 441 fail_if(!!eolian_type_next_type_get(type));
442 fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT))); 442 fail_if(!(type_name = eolian_type_c_type_get(type)));
443 fail_if(!eolian_type_is_move(type)); 443 fail_if(!eolian_type_is_move(type));
444 fail_if(strcmp(type_name, "Eina_Strbuf *")); 444 fail_if(strcmp(type_name, "Eina_Strbuf *"));
445 eina_stringshare_del(type_name); 445 eina_stringshare_del(type_name);
@@ -456,7 +456,7 @@ EFL_START_TEST(eolian_complex_type)
456 eina_stringshare_del(type_name); 456 eina_stringshare_del(type_name);
457 fail_if(!(type = eolian_type_base_type_get(type))); 457 fail_if(!(type = eolian_type_base_type_get(type)));
458 fail_if(!!eolian_type_next_type_get(type)); 458 fail_if(!!eolian_type_next_type_get(type));
459 fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT))); 459 fail_if(!(type_name = eolian_type_c_type_get(type)));
460 fail_if(eolian_type_is_move(type)); 460 fail_if(eolian_type_is_move(type));
461 fail_if(strcmp(type_name, "const char *")); 461 fail_if(strcmp(type_name, "const char *"));
462 eina_stringshare_del(type_name); 462 eina_stringshare_del(type_name);
@@ -470,7 +470,7 @@ EFL_START_TEST(eolian_complex_type)
470 eina_stringshare_del(type_name); 470 eina_stringshare_del(type_name);
471 fail_if(!(type = eolian_type_base_type_get(type))); 471 fail_if(!(type = eolian_type_base_type_get(type)));
472 fail_if(!!eolian_type_next_type_get(type)); 472 fail_if(!!eolian_type_next_type_get(type));
473 fail_if(!(type_name = eolian_type_c_type_get(type, EOLIAN_C_TYPE_DEFAULT))); 473 fail_if(!(type_name = eolian_type_c_type_get(type)));
474 fail_if(eolian_type_is_move(type)); 474 fail_if(eolian_type_is_move(type));
475 fail_if(eolian_type_builtin_type_get(type) != EOLIAN_TYPE_BUILTIN_STRINGSHARE); 475 fail_if(eolian_type_builtin_type_get(type) != EOLIAN_TYPE_BUILTIN_STRINGSHARE);
476 fail_if(strcmp(type_name, "Eina_Stringshare *")); 476 fail_if(strcmp(type_name, "Eina_Stringshare *"));