The previous preprocessor rule was generating strings like
"\"Efl.App\"_Realized.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8527
#define EFL_CLASS_SIMPLE_CLASS(FUNC, NAME, ABSTRACT_CLASS) \
static const Efl_Class_Description FUNC ##_realized_class_desc = { \
EO_VERSION, \
- #NAME"_Realized", \
+ NAME "_Realized", \
EFL_CLASS_TYPE_REGULAR, \
0, NULL, NULL, NULL \
}; \
}
EFL_END_TEST
+EFL_START_TEST(efl_loop_test_realized_name)
+{
+ ck_assert_str_eq(efl_class_name_get(efl_loop_realized_class_get()), "Efl.Loop_Realized");
+}
+EFL_END_TEST
+
void efl_app_test_efl_loop(TCase *tc)
{
tcase_add_test(tc, efl_app_test_efl_loop_register);
tcase_add_test(tc, efl_app_test_efl_loop_concentric);
+ tcase_add_test(tc, efl_loop_test_realized_name);
}