summaryrefslogtreecommitdiff
path: root/src/tests/eo/suite/eo_test_call_errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/suite/eo_test_call_errors.c')
-rw-r--r--src/tests/eo/suite/eo_test_call_errors.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/tests/eo/suite/eo_test_call_errors.c b/src/tests/eo/suite/eo_test_call_errors.c
index 551c58deae..3b23216711 100644
--- a/src/tests/eo/suite/eo_test_call_errors.c
+++ b/src/tests/eo/suite/eo_test_call_errors.c
@@ -14,55 +14,55 @@ static struct log_ctx ctx;
START_TEST(eo_pure_virtual_fct_call)
{
- eo_init();
+ efl_object_init();
eina_log_print_cb_set(eo_test_print_cb, &ctx);
- Eo *obj = eo_add(SIMPLE_CLASS, NULL);
+ Eo *obj = efl_add(SIMPLE_CLASS, NULL);
fail_if(!obj);
- TEST_EO_ERROR("_eo_call_resolve", "in %s:%d: you called a pure virtual func '%s' (%d) of class '%s'.");
+ TEST_EO_ERROR("_efl_object_call_resolve", "in %s:%d: you called a pure virtual func '%s' (%d) of class '%s'.");
simple_pure_virtual(obj);
fail_unless(ctx.did);
- eo_unref(obj);
+ efl_unref(obj);
eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
- eo_shutdown();
+ efl_object_shutdown();
}
END_TEST
START_TEST(eo_api_not_implemented_call)
{
- eo_init();
+ efl_object_init();
eina_log_print_cb_set(eo_test_print_cb, &ctx);
- Eo *obj = eo_add(SIMPLE_CLASS, NULL);
+ Eo *obj = efl_add(SIMPLE_CLASS, NULL);
fail_if(!obj);
- TEST_EO_ERROR("_eo_api_op_id_get", "Unable to resolve op for api func %p");
+ TEST_EO_ERROR("_efl_object_api_op_id_get", "Unable to resolve op for api func %p");
simple_no_implementation(obj);
fail_unless(ctx.did);
- eo_unref(obj);
+ efl_unref(obj);
eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
- eo_shutdown();
+ efl_object_shutdown();
}
END_TEST
START_TEST(eo_op_not_found_in_super)
{
- eo_init();
+ efl_object_init();
eina_log_print_cb_set(eo_test_print_cb, &ctx);
- Eo *obj = eo_add(SIMPLE_CLASS, NULL);
+ Eo *obj = efl_add(SIMPLE_CLASS, NULL);
fail_if(!obj);
- TEST_EO_ERROR("_eo_call_resolve", "in %s:%d: func '%s' (%d) could not be resolved for class '%s' for super of '%s'.");
- simple_a_set(eo_super(obj, SIMPLE_CLASS), 10);
+ TEST_EO_ERROR("_efl_object_call_resolve", "in %s:%d: func '%s' (%d) could not be resolved for class '%s' for super of '%s'.");
+ simple_a_set(efl_super(obj, SIMPLE_CLASS), 10);
fail_unless(ctx.did);
- eo_unref(obj);
+ efl_unref(obj);
eina_log_print_cb_set(eina_log_print_cb_stderr, NULL);
- eo_shutdown();
+ efl_object_shutdown();
}
END_TEST