forked from enlightenment/efl
eo: Correctly name Realized classes.
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
This commit is contained in:
parent
fe54a4dd1a
commit
683958ee68
|
@ -47,7 +47,7 @@ EAPI void ___efl_ref2_reset(const Eo *obj_id);
|
|||
#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 \
|
||||
}; \
|
||||
|
|
|
@ -93,8 +93,15 @@ EFL_START_TEST(efl_app_test_efl_loop_concentric)
|
|||
}
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue