summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/simple_callers.c8715
1 files changed, 4278 insertions, 4437 deletions
diff --git a/src/bin/simple_callers.c b/src/bin/simple_callers.c
index b8be342..992dd7a 100644
--- a/src/bin/simple_callers.c
+++ b/src/bin/simple_callers.c
@@ -766,6 +766,60 @@ TEST_FUNC_EVAS_OBJ_NO_RENDER_POST
766TEST_FUNC_EVAS_OBJ_NO_RENDER_OVERRIDE 766TEST_FUNC_EVAS_OBJ_NO_RENDER_OVERRIDE
767#endif 767#endif
768 768
769#ifndef TEST_FUNC_EO_ID
770#define TEST_FUNC_EO_ID
771 {
772 const char * id = NULL;
773#ifndef TEST_FUNC_EO_ID_id_VAL1
774#define TEST_FUNC_EO_ID_id_VAL1 NULL
775#endif
776#ifndef TEST_FUNC_EO_ID_id_VAL2
777#define TEST_FUNC_EO_ID_id_VAL2 "toto"
778#endif
779#ifdef TEST_FUNC_EO_ID_PRE
780TEST_FUNC_EO_ID_PRE
781#endif
782 eo_id_set(obj, TEST_FUNC_EO_ID_id_VAL1);
783 id = eo_id_get(obj);
784 FAIL_IF(eo_id, (STRCMP(id, TEST_FUNC_EO_ID_id_VAL1)));
785 eo_id_set(obj, TEST_FUNC_EO_ID_id_VAL2);
786 id = eo_id_get(obj);
787 FAIL_IF(eo_id, (STRCMP(id, TEST_FUNC_EO_ID_id_VAL2)));
788#ifdef TEST_FUNC_EO_ID_POST
789TEST_FUNC_EO_ID_POST
790#endif
791 }
792#else
793TEST_FUNC_EO_ID_OVERRIDE
794#endif
795
796#ifndef TEST_FUNC_EO_COMMENT
797#define TEST_FUNC_EO_COMMENT
798 {
799 const char * comment = NULL;
800#ifndef TEST_FUNC_EO_COMMENT_comment_VAL1
801#define TEST_FUNC_EO_COMMENT_comment_VAL1 NULL
802#endif
803#ifndef TEST_FUNC_EO_COMMENT_comment_VAL2
804#define TEST_FUNC_EO_COMMENT_comment_VAL2 "toto"
805#endif
806#ifdef TEST_FUNC_EO_COMMENT_PRE
807TEST_FUNC_EO_COMMENT_PRE
808#endif
809 eo_comment_set(obj, TEST_FUNC_EO_COMMENT_comment_VAL1);
810 comment = eo_comment_get(obj);
811 FAIL_IF(eo_comment, (STRCMP(comment, TEST_FUNC_EO_COMMENT_comment_VAL1)));
812 eo_comment_set(obj, TEST_FUNC_EO_COMMENT_comment_VAL2);
813 comment = eo_comment_get(obj);
814 FAIL_IF(eo_comment, (STRCMP(comment, TEST_FUNC_EO_COMMENT_comment_VAL2)));
815#ifdef TEST_FUNC_EO_COMMENT_POST
816TEST_FUNC_EO_COMMENT_POST
817#endif
818 }
819#else
820TEST_FUNC_EO_COMMENT_OVERRIDE
821#endif
822
769#ifndef TEST_FUNC_EFL_GFX_POSITION 823#ifndef TEST_FUNC_EFL_GFX_POSITION
770#define TEST_FUNC_EFL_GFX_POSITION 824#define TEST_FUNC_EFL_GFX_POSITION
771 { 825 {
@@ -1113,43 +1167,6 @@ TEST_FUNC_EVAS_CANVAS3D_LIGHT_ATTENUATION_ENABLE_OVERRIDE
1113#endif 1167#endif
1114TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR 1168TEST_OBJ_EVAS_CANVAS3D_LIGHT_DTOR
1115 1169
1116#ifndef TEST_OBJ_EVAS_SMART_CLIPPED_CTOR
1117#define TEST_OBJ_EVAS_SMART_CLIPPED_CTOR obj = eo_add(evas_smart_clipped_class_get(), parent);
1118#endif
1119TEST_OBJ_EVAS_SMART_CLIPPED_CTOR
1120
1121#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
1122#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
1123 {
1124 Eina_Bool value;
1125#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1
1126#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1 EINA_TRUE
1127#endif
1128#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2
1129#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2 EINA_FALSE
1130#endif
1131#ifdef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_PRE
1132TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_PRE
1133#endif
1134 evas_obj_smart_need_recalculate_set(obj, TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1);
1135 value = evas_obj_smart_need_recalculate_get(obj);
1136 FAIL_IF(evas_obj_smart_need_recalculate, (value != TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1));
1137 evas_obj_smart_need_recalculate_set(obj, TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2);
1138 value = evas_obj_smart_need_recalculate_get(obj);
1139 FAIL_IF(evas_obj_smart_need_recalculate, (value != TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2));
1140#ifdef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_POST
1141TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_POST
1142#endif
1143 }
1144#else
1145TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_OVERRIDE
1146#endif
1147
1148#ifndef TEST_OBJ_EVAS_SMART_CLIPPED_DTOR
1149#define TEST_OBJ_EVAS_SMART_CLIPPED_DTOR eo_del(obj);
1150#endif
1151TEST_OBJ_EVAS_SMART_CLIPPED_DTOR
1152
1153#ifndef TEST_OBJ_ECORE_AUDIO_CTOR 1170#ifndef TEST_OBJ_ECORE_AUDIO_CTOR
1154#define TEST_OBJ_ECORE_AUDIO_CTOR obj = eo_add(ecore_audio_class_get(), parent); 1171#define TEST_OBJ_ECORE_AUDIO_CTOR obj = eo_add(ecore_audio_class_get(), parent);
1155#endif 1172#endif
@@ -1241,152 +1258,10 @@ TEST_FUNC_ECORE_AUDIO_OBJ_VOLUME_OVERRIDE
1241#endif 1258#endif
1242TEST_OBJ_ECORE_AUDIO_DTOR 1259TEST_OBJ_ECORE_AUDIO_DTOR
1243 1260
1244#ifndef TEST_OBJ_ELM_CALENDAR_CTOR 1261#ifndef TEST_OBJ_ELM_LAYOUT_CTOR
1245#define TEST_OBJ_ELM_CALENDAR_CTOR obj = eo_add(elm_calendar_class_get(), parent); 1262#define TEST_OBJ_ELM_LAYOUT_CTOR obj = eo_add(elm_layout_class_get(), parent);
1246#endif
1247TEST_OBJ_ELM_CALENDAR_CTOR
1248
1249#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK
1250#define TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK
1251 {
1252 Elm_Calendar_Weekday day;
1253#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1
1254#define TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1 ELM_DAY_SUNDAY
1255#endif
1256#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2
1257#define TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2 ELM_DAY_MONDAY
1258#endif
1259#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_PRE
1260TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_PRE
1261#endif
1262 elm_obj_calendar_first_day_of_week_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1);
1263 day = elm_obj_calendar_first_day_of_week_get(obj);
1264 FAIL_IF(elm_obj_calendar_first_day_of_week, (day != TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1));
1265 elm_obj_calendar_first_day_of_week_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2);
1266 day = elm_obj_calendar_first_day_of_week_get(obj);
1267 FAIL_IF(elm_obj_calendar_first_day_of_week, (day != TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2));
1268#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_POST
1269TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_POST
1270#endif
1271 }
1272#else
1273TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_OVERRIDE
1274#endif
1275
1276#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE
1277#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE
1278 {
1279 Elm_Calendar_Selectable selectable;
1280#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1
1281#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1 ELM_CALENDAR_SELECTABLE_NONE
1282#endif
1283#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2
1284#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2 ELM_CALENDAR_SELECTABLE_YEAR
1285#endif
1286#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_PRE
1287TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_PRE
1288#endif
1289 elm_obj_calendar_selectable_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1);
1290 selectable = elm_obj_calendar_selectable_get(obj);
1291 FAIL_IF(elm_obj_calendar_selectable, (selectable != TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1));
1292 elm_obj_calendar_selectable_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2);
1293 selectable = elm_obj_calendar_selectable_get(obj);
1294 FAIL_IF(elm_obj_calendar_selectable, (selectable != TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2));
1295#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_POST
1296TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_POST
1297#endif
1298 }
1299#else
1300TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_OVERRIDE
1301#endif
1302
1303#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL
1304#define TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL
1305 {
1306 double interval;
1307#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1
1308#define TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1 0.0
1309#endif
1310#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2
1311#define TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2 1.0
1312#endif
1313#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_PRE
1314TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_PRE
1315#endif
1316 elm_obj_calendar_interval_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1);
1317 interval = elm_obj_calendar_interval_get(obj);
1318 FAIL_IF(elm_obj_calendar_interval, (interval != TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1));
1319 elm_obj_calendar_interval_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2);
1320 interval = elm_obj_calendar_interval_get(obj);
1321 FAIL_IF(elm_obj_calendar_interval, (interval != TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2));
1322#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_POST
1323TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_POST
1324#endif
1325 }
1326#else
1327TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_OVERRIDE
1328#endif
1329
1330#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE
1331#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE
1332 {
1333 Elm_Calendar_Select_Mode mode;
1334#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1
1335#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1 ELM_CALENDAR_SELECT_MODE_DEFAULT
1336#endif
1337#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2
1338#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2 ELM_CALENDAR_SELECT_MODE_ALWAYS
1339#endif
1340#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_PRE
1341TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_PRE
1342#endif
1343 elm_obj_calendar_select_mode_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1);
1344 mode = elm_obj_calendar_select_mode_get(obj);
1345 FAIL_IF(elm_obj_calendar_select_mode, (mode != TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1));
1346 elm_obj_calendar_select_mode_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2);
1347 mode = elm_obj_calendar_select_mode_get(obj);
1348 FAIL_IF(elm_obj_calendar_select_mode, (mode != TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2));
1349#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_POST
1350TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_POST
1351#endif
1352 }
1353#else
1354TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_OVERRIDE
1355#endif
1356
1357#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR
1358#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR
1359 {
1360 int min;
1361 int max;
1362#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1
1363#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1 0
1364#endif
1365#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2
1366#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2 100
1367#endif
1368#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1
1369#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1 0
1370#endif
1371#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2
1372#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2 100
1373#endif
1374#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_PRE
1375TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_PRE
1376#endif
1377 elm_obj_calendar_min_max_year_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1);
1378 elm_obj_calendar_min_max_year_get(obj, &min, &max);
1379 FAIL_IF(elm_obj_calendar_min_max_year, (min != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1) || (max != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1));
1380 elm_obj_calendar_min_max_year_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2);
1381 elm_obj_calendar_min_max_year_get(obj, &min, &max);
1382 FAIL_IF(elm_obj_calendar_min_max_year, (min != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2) || (max != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2));
1383#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_POST
1384TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_POST
1385#endif
1386 }
1387#else
1388TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_OVERRIDE
1389#endif 1263#endif
1264TEST_OBJ_ELM_LAYOUT_CTOR
1390 1265
1391#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS 1266#ifndef TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS
1392#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS 1267#define TEST_FUNC_ELM_OBJ_LAYOUT_EDJE_OBJECT_CAN_ACCESS
@@ -1448,73 +1323,6 @@ TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_POST
1448TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_OVERRIDE 1323TEST_FUNC_ELM_OBJ_LAYOUT_TEXT_OVERRIDE
1449#endif 1324#endif
1450 1325
1451#ifndef TEST_FUNC_EFL_FILE
1452#define TEST_FUNC_EFL_FILE
1453 {
1454 const char * file = NULL;
1455 const char * key = NULL;
1456#ifndef TEST_FUNC_EFL_FILE_file_VAL1
1457#define TEST_FUNC_EFL_FILE_file_VAL1 NULL
1458#endif
1459#ifndef TEST_FUNC_EFL_FILE_file_VAL2
1460#define TEST_FUNC_EFL_FILE_file_VAL2 "toto"
1461#endif
1462#ifndef TEST_FUNC_EFL_FILE_key_VAL1
1463#define TEST_FUNC_EFL_FILE_key_VAL1 NULL
1464#endif
1465#ifndef TEST_FUNC_EFL_FILE_key_VAL2
1466#define TEST_FUNC_EFL_FILE_key_VAL2 "toto"
1467#endif
1468#ifdef TEST_FUNC_EFL_FILE_PRE
1469TEST_FUNC_EFL_FILE_PRE
1470#endif
1471 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL1, TEST_FUNC_EFL_FILE_key_VAL1);
1472 efl_file_get(obj, &file, &key);
1473 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL1)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL1)));
1474 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL2, TEST_FUNC_EFL_FILE_key_VAL2);
1475 efl_file_get(obj, &file, &key);
1476 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL2)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL2)));
1477#ifdef TEST_FUNC_EFL_FILE_POST
1478TEST_FUNC_EFL_FILE_POST
1479#endif
1480 }
1481#else
1482TEST_FUNC_EFL_FILE_OVERRIDE
1483#endif
1484
1485#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
1486#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
1487 {
1488 const char * description = NULL;
1489#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1
1490#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1 0
1491#endif
1492#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2
1493#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2 100
1494#endif
1495#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1
1496#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1 NULL
1497#endif
1498#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2
1499#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2 "toto"
1500#endif
1501#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
1502TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
1503#endif
1504 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1);
1505 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1);
1506 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1)));
1507 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2);
1508 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2);
1509 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2)));
1510#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
1511TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
1512#endif
1513 }
1514#else
1515TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_OVERRIDE
1516#endif
1517
1518#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS 1326#ifndef TEST_FUNC_ELM_OBJ_WIDGET_FOCUS
1519#define TEST_FUNC_ELM_OBJ_WIDGET_FOCUS 1327#define TEST_FUNC_ELM_OBJ_WIDGET_FOCUS
1520 { 1328 {
@@ -2061,6 +1869,67 @@ TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_POST
2061TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_OVERRIDE 1869TEST_FUNC_ELM_OBJ_WIDGET_FOCUS_MOVE_POLICY_AUTOMATIC_OVERRIDE
2062#endif 1870#endif
2063 1871
1872#ifndef TEST_FUNC_EFL_FILE
1873#define TEST_FUNC_EFL_FILE
1874 {
1875 const char * file = NULL;
1876 const char * key = NULL;
1877#ifndef TEST_FUNC_EFL_FILE_file_VAL1
1878#define TEST_FUNC_EFL_FILE_file_VAL1 NULL
1879#endif
1880#ifndef TEST_FUNC_EFL_FILE_file_VAL2
1881#define TEST_FUNC_EFL_FILE_file_VAL2 "toto"
1882#endif
1883#ifndef TEST_FUNC_EFL_FILE_key_VAL1
1884#define TEST_FUNC_EFL_FILE_key_VAL1 NULL
1885#endif
1886#ifndef TEST_FUNC_EFL_FILE_key_VAL2
1887#define TEST_FUNC_EFL_FILE_key_VAL2 "toto"
1888#endif
1889#ifdef TEST_FUNC_EFL_FILE_PRE
1890TEST_FUNC_EFL_FILE_PRE
1891#endif
1892 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL1, TEST_FUNC_EFL_FILE_key_VAL1);
1893 efl_file_get(obj, &file, &key);
1894 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL1)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL1)));
1895 efl_file_set(obj, TEST_FUNC_EFL_FILE_file_VAL2, TEST_FUNC_EFL_FILE_key_VAL2);
1896 efl_file_get(obj, &file, &key);
1897 FAIL_IF(efl_file, (STRCMP(file, TEST_FUNC_EFL_FILE_file_VAL2)) || (STRCMP(key, TEST_FUNC_EFL_FILE_key_VAL2)));
1898#ifdef TEST_FUNC_EFL_FILE_POST
1899TEST_FUNC_EFL_FILE_POST
1900#endif
1901 }
1902#else
1903TEST_FUNC_EFL_FILE_OVERRIDE
1904#endif
1905
1906#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
1907#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE
1908 {
1909 Eina_Bool value;
1910#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1
1911#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1 EINA_TRUE
1912#endif
1913#ifndef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2
1914#define TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2 EINA_FALSE
1915#endif
1916#ifdef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_PRE
1917TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_PRE
1918#endif
1919 evas_obj_smart_need_recalculate_set(obj, TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1);
1920 value = evas_obj_smart_need_recalculate_get(obj);
1921 FAIL_IF(evas_obj_smart_need_recalculate, (value != TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL1));
1922 evas_obj_smart_need_recalculate_set(obj, TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2);
1923 value = evas_obj_smart_need_recalculate_get(obj);
1924 FAIL_IF(evas_obj_smart_need_recalculate, (value != TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_value_VAL2));
1925#ifdef TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_POST
1926TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_POST
1927#endif
1928 }
1929#else
1930TEST_FUNC_EVAS_OBJ_SMART_NEED_RECALCULATE_OVERRIDE
1931#endif
1932
2064#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME 1933#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME
2065#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME 1934#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACCESSIBLE_NAME
2066 { 1935 {
@@ -2324,101 +2193,195 @@ TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_POST
2324TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_OVERRIDE 2193TEST_FUNC_ELM_INTERFACE_ATSPI_COMPONENT_POSITION_OVERRIDE
2325#endif 2194#endif
2326 2195
2327#ifndef TEST_OBJ_ELM_CALENDAR_DTOR 2196#ifndef TEST_OBJ_ELM_LAYOUT_DTOR
2328#define TEST_OBJ_ELM_CALENDAR_DTOR eo_del(obj); 2197#define TEST_OBJ_ELM_LAYOUT_DTOR eo_del(obj);
2329#endif 2198#endif
2330TEST_OBJ_ELM_CALENDAR_DTOR 2199TEST_OBJ_ELM_LAYOUT_DTOR
2331 2200
2332#ifndef TEST_OBJ_ELM_BUTTON_CTOR 2201#ifndef TEST_OBJ_ELM_CALENDAR_CTOR
2333#define TEST_OBJ_ELM_BUTTON_CTOR obj = eo_add(elm_button_class_get(), parent); 2202#define TEST_OBJ_ELM_CALENDAR_CTOR obj = eo_add(elm_calendar_class_get(), parent);
2334#endif 2203#endif
2335TEST_OBJ_ELM_BUTTON_CTOR 2204TEST_OBJ_ELM_CALENDAR_CTOR
2336 2205
2337#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT 2206#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK
2338#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT 2207#define TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK
2339 { 2208 {
2340 double t; 2209 Elm_Calendar_Weekday day;
2341#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1 2210#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1
2342#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1 0.0 2211#define TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1 ELM_DAY_SUNDAY
2343#endif 2212#endif
2344#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2 2213#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2
2345#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2 1.0 2214#define TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2 ELM_DAY_MONDAY
2346#endif 2215#endif
2347#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_PRE 2216#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_PRE
2348TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_PRE 2217TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_PRE
2349#endif 2218#endif
2350 elm_obj_button_autorepeat_initial_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1); 2219 elm_obj_calendar_first_day_of_week_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1);
2351 t = elm_obj_button_autorepeat_initial_timeout_get(obj); 2220 day = elm_obj_calendar_first_day_of_week_get(obj);
2352 FAIL_IF(elm_obj_button_autorepeat_initial_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1)); 2221 FAIL_IF(elm_obj_calendar_first_day_of_week, (day != TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL1));
2353 elm_obj_button_autorepeat_initial_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2); 2222 elm_obj_calendar_first_day_of_week_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2);
2354 t = elm_obj_button_autorepeat_initial_timeout_get(obj); 2223 day = elm_obj_calendar_first_day_of_week_get(obj);
2355 FAIL_IF(elm_obj_button_autorepeat_initial_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2)); 2224 FAIL_IF(elm_obj_calendar_first_day_of_week, (day != TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_day_VAL2));
2356#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_POST 2225#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_POST
2357TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_POST 2226TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_POST
2358#endif 2227#endif
2359 } 2228 }
2360#else 2229#else
2361TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_OVERRIDE 2230TEST_FUNC_ELM_OBJ_CALENDAR_FIRST_DAY_OF_WEEK_OVERRIDE
2362#endif 2231#endif
2363 2232
2364#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT 2233#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE
2365#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT 2234#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE
2366 { 2235 {
2367 double t; 2236 Elm_Calendar_Selectable selectable;
2368#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1 2237#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1
2369#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1 0.0 2238#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1 ELM_CALENDAR_SELECTABLE_NONE
2370#endif 2239#endif
2371#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2 2240#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2
2372#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2 1.0 2241#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2 ELM_CALENDAR_SELECTABLE_YEAR
2373#endif 2242#endif
2374#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_PRE 2243#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_PRE
2375TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_PRE 2244TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_PRE
2376#endif 2245#endif
2377 elm_obj_button_autorepeat_gap_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1); 2246 elm_obj_calendar_selectable_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1);
2378 t = elm_obj_button_autorepeat_gap_timeout_get(obj); 2247 selectable = elm_obj_calendar_selectable_get(obj);
2379 FAIL_IF(elm_obj_button_autorepeat_gap_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1)); 2248 FAIL_IF(elm_obj_calendar_selectable, (selectable != TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL1));
2380 elm_obj_button_autorepeat_gap_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2); 2249 elm_obj_calendar_selectable_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2);
2381 t = elm_obj_button_autorepeat_gap_timeout_get(obj); 2250 selectable = elm_obj_calendar_selectable_get(obj);
2382 FAIL_IF(elm_obj_button_autorepeat_gap_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2)); 2251 FAIL_IF(elm_obj_calendar_selectable, (selectable != TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_selectable_VAL2));
2383#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_POST 2252#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_POST
2384TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_POST 2253TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_POST
2385#endif 2254#endif
2386 } 2255 }
2387#else 2256#else
2388TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_OVERRIDE 2257TEST_FUNC_ELM_OBJ_CALENDAR_SELECTABLE_OVERRIDE
2389#endif 2258#endif
2390 2259
2391#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT 2260#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL
2392#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT 2261#define TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL
2393 { 2262 {
2394 Eina_Bool on; 2263 double interval;
2395#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1 2264#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1
2396#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1 EINA_TRUE 2265#define TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1 0.0
2397#endif 2266#endif
2398#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2 2267#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2
2399#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2 EINA_FALSE 2268#define TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2 1.0
2400#endif 2269#endif
2401#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_PRE 2270#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_PRE
2402TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_PRE 2271TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_PRE
2403#endif 2272#endif
2404 elm_obj_button_autorepeat_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1); 2273 elm_obj_calendar_interval_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1);
2405 on = elm_obj_button_autorepeat_get(obj); 2274 interval = elm_obj_calendar_interval_get(obj);
2406 FAIL_IF(elm_obj_button_autorepeat, (on != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1)); 2275 FAIL_IF(elm_obj_calendar_interval, (interval != TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL1));
2407 elm_obj_button_autorepeat_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2); 2276 elm_obj_calendar_interval_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2);
2408 on = elm_obj_button_autorepeat_get(obj); 2277 interval = elm_obj_calendar_interval_get(obj);
2409 FAIL_IF(elm_obj_button_autorepeat, (on != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2)); 2278 FAIL_IF(elm_obj_calendar_interval, (interval != TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_interval_VAL2));
2410#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_POST 2279#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_POST
2411TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_POST 2280TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_POST
2412#endif 2281#endif
2413 } 2282 }
2414#else 2283#else
2415TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_OVERRIDE 2284TEST_FUNC_ELM_OBJ_CALENDAR_INTERVAL_OVERRIDE
2285#endif
2286
2287#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE
2288#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE
2289 {
2290 Elm_Calendar_Select_Mode mode;
2291#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1
2292#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1 ELM_CALENDAR_SELECT_MODE_DEFAULT
2293#endif
2294#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2
2295#define TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2 ELM_CALENDAR_SELECT_MODE_ALWAYS
2296#endif
2297#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_PRE
2298TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_PRE
2299#endif
2300 elm_obj_calendar_select_mode_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1);
2301 mode = elm_obj_calendar_select_mode_get(obj);
2302 FAIL_IF(elm_obj_calendar_select_mode, (mode != TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL1));
2303 elm_obj_calendar_select_mode_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2);
2304 mode = elm_obj_calendar_select_mode_get(obj);
2305 FAIL_IF(elm_obj_calendar_select_mode, (mode != TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_mode_VAL2));
2306#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_POST
2307TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_POST
2308#endif
2309 }
2310#else
2311TEST_FUNC_ELM_OBJ_CALENDAR_SELECT_MODE_OVERRIDE
2312#endif
2313
2314#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR
2315#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR
2316 {
2317 int min;
2318 int max;
2319#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1
2320#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1 0
2321#endif
2322#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2
2323#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2 100
2324#endif
2325#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1
2326#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1 0
2327#endif
2328#ifndef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2
2329#define TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2 100
2330#endif
2331#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_PRE
2332TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_PRE
2333#endif
2334 elm_obj_calendar_min_max_year_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1);
2335 elm_obj_calendar_min_max_year_get(obj, &min, &max);
2336 FAIL_IF(elm_obj_calendar_min_max_year, (min != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL1) || (max != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL1));
2337 elm_obj_calendar_min_max_year_set(obj, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2, TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2);
2338 elm_obj_calendar_min_max_year_get(obj, &min, &max);
2339 FAIL_IF(elm_obj_calendar_min_max_year, (min != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_min_VAL2) || (max != TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_max_VAL2));
2340#ifdef TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_POST
2341TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_POST
2342#endif
2343 }
2344#else
2345TEST_FUNC_ELM_OBJ_CALENDAR_MIN_MAX_YEAR_OVERRIDE
2416#endif 2346#endif
2417 2347
2418#ifndef TEST_OBJ_ELM_BUTTON_DTOR 2348#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
2419#define TEST_OBJ_ELM_BUTTON_DTOR eo_del(obj); 2349#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION
2350 {
2351 const char * description = NULL;
2352#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1
2353#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1 0
2354#endif
2355#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2
2356#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2 100
2357#endif
2358#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1
2359#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1 NULL
2420#endif 2360#endif
2421TEST_OBJ_ELM_BUTTON_DTOR 2361#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2
2362#define TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2 "toto"
2363#endif
2364#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
2365TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_PRE
2366#endif
2367 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1);
2368 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL1);
2369 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL1)));
2370 elm_interface_atspi_action_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2);
2371 description = elm_interface_atspi_action_description_get(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_id_VAL2);
2372 FAIL_IF(elm_interface_atspi_action_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_description_VAL2)));
2373#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
2374TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_POST
2375#endif
2376 }
2377#else
2378TEST_FUNC_ELM_INTERFACE_ATSPI_ACTION_DESCRIPTION_OVERRIDE
2379#endif
2380
2381#ifndef TEST_OBJ_ELM_CALENDAR_DTOR
2382#define TEST_OBJ_ELM_CALENDAR_DTOR eo_del(obj);
2383#endif
2384TEST_OBJ_ELM_CALENDAR_DTOR
2422 2385
2423#ifndef TEST_OBJ_ELM_NSTATE_CTOR 2386#ifndef TEST_OBJ_ELM_NSTATE_CTOR
2424#define TEST_OBJ_ELM_NSTATE_CTOR obj = eo_add(elm_nstate_class_get(), parent); 2387#define TEST_OBJ_ELM_NSTATE_CTOR obj = eo_add(elm_nstate_class_get(), parent);
@@ -2479,6 +2442,87 @@ TEST_FUNC_EFL_UI_NSTATE_VALUE_POST
2479TEST_FUNC_EFL_UI_NSTATE_VALUE_OVERRIDE 2442TEST_FUNC_EFL_UI_NSTATE_VALUE_OVERRIDE
2480#endif 2443#endif
2481 2444
2445#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT
2446#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT
2447 {
2448 double t;
2449#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1
2450#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1 0.0
2451#endif
2452#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2
2453#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2 1.0
2454#endif
2455#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_PRE
2456TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_PRE
2457#endif
2458 elm_obj_button_autorepeat_initial_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1);
2459 t = elm_obj_button_autorepeat_initial_timeout_get(obj);
2460 FAIL_IF(elm_obj_button_autorepeat_initial_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL1));
2461 elm_obj_button_autorepeat_initial_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2);
2462 t = elm_obj_button_autorepeat_initial_timeout_get(obj);
2463 FAIL_IF(elm_obj_button_autorepeat_initial_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_t_VAL2));
2464#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_POST
2465TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_POST
2466#endif
2467 }
2468#else
2469TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_INITIAL_TIMEOUT_OVERRIDE
2470#endif
2471
2472#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT
2473#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT
2474 {
2475 double t;
2476#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1
2477#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1 0.0
2478#endif
2479#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2
2480#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2 1.0
2481#endif
2482#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_PRE
2483TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_PRE
2484#endif
2485 elm_obj_button_autorepeat_gap_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1);
2486 t = elm_obj_button_autorepeat_gap_timeout_get(obj);
2487 FAIL_IF(elm_obj_button_autorepeat_gap_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL1));
2488 elm_obj_button_autorepeat_gap_timeout_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2);
2489 t = elm_obj_button_autorepeat_gap_timeout_get(obj);
2490 FAIL_IF(elm_obj_button_autorepeat_gap_timeout, (t != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_t_VAL2));
2491#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_POST
2492TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_POST
2493#endif
2494 }
2495#else
2496TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_GAP_TIMEOUT_OVERRIDE
2497#endif
2498
2499#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT
2500#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT
2501 {
2502 Eina_Bool on;
2503#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1
2504#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1 EINA_TRUE
2505#endif
2506#ifndef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2
2507#define TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2 EINA_FALSE
2508#endif
2509#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_PRE
2510TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_PRE
2511#endif
2512 elm_obj_button_autorepeat_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1);
2513 on = elm_obj_button_autorepeat_get(obj);
2514 FAIL_IF(elm_obj_button_autorepeat, (on != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL1));
2515 elm_obj_button_autorepeat_set(obj, TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2);
2516 on = elm_obj_button_autorepeat_get(obj);
2517 FAIL_IF(elm_obj_button_autorepeat, (on != TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_on_VAL2));
2518#ifdef TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_POST
2519TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_POST
2520#endif
2521 }
2522#else
2523TEST_FUNC_ELM_OBJ_BUTTON_AUTOREPEAT_OVERRIDE
2524#endif
2525
2482#ifndef TEST_OBJ_ELM_NSTATE_DTOR 2526#ifndef TEST_OBJ_ELM_NSTATE_DTOR
2483#define TEST_OBJ_ELM_NSTATE_DTOR eo_del(obj); 2527#define TEST_OBJ_ELM_NSTATE_DTOR eo_del(obj);
2484#endif 2528#endif
@@ -3254,6 +3298,409 @@ TEST_FUNC_ELM_INTERFACE_SCROLLABLE_LOOP_OVERRIDE
3254#endif 3298#endif
3255TEST_OBJ_ELM_MAP_DTOR 3299TEST_OBJ_ELM_MAP_DTOR
3256 3300
3301#ifndef TEST_OBJ_EDJE_OBJECT_CTOR
3302#define TEST_OBJ_EDJE_OBJECT_CTOR obj = eo_add(edje_object_class_get(), parent);
3303#endif
3304TEST_OBJ_EDJE_OBJECT_CTOR
3305
3306#ifndef TEST_FUNC_EDJE_OBJ_UPDATE_HINTS
3307#define TEST_FUNC_EDJE_OBJ_UPDATE_HINTS
3308 {
3309 Eina_Bool update;
3310#ifndef TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL1
3311#define TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL1 EINA_TRUE
3312#endif
3313#ifndef TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL2
3314#define TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL2 EINA_FALSE
3315#endif
3316#ifdef TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_PRE
3317TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_PRE
3318#endif
3319 edje_obj_update_hints_set(obj, TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL1);
3320 update = edje_obj_update_hints_get(obj);
3321 FAIL_IF(edje_obj_update_hints, (update != TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL1));
3322 edje_obj_update_hints_set(obj, TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL2);
3323 update = edje_obj_update_hints_get(obj);
3324 FAIL_IF(edje_obj_update_hints, (update != TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_update_VAL2));
3325#ifdef TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_POST
3326TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_POST
3327#endif
3328 }
3329#else
3330TEST_FUNC_EDJE_OBJ_UPDATE_HINTS_OVERRIDE
3331#endif
3332
3333#ifndef TEST_FUNC_EDJE_OBJ_MIRRORED
3334#define TEST_FUNC_EDJE_OBJ_MIRRORED
3335 {
3336 Eina_Bool rtl;
3337#ifndef TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL1
3338#define TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL1 EINA_TRUE
3339#endif
3340#ifndef TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL2
3341#define TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL2 EINA_FALSE
3342#endif
3343#ifdef TEST_FUNC_EDJE_OBJ_MIRRORED_PRE
3344TEST_FUNC_EDJE_OBJ_MIRRORED_PRE
3345#endif
3346 edje_obj_mirrored_set(obj, TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL1);
3347 rtl = edje_obj_mirrored_get(obj);
3348 FAIL_IF(edje_obj_mirrored, (rtl != TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL1));
3349 edje_obj_mirrored_set(obj, TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL2);
3350 rtl = edje_obj_mirrored_get(obj);
3351 FAIL_IF(edje_obj_mirrored, (rtl != TEST_FUNC_EDJE_OBJ_MIRRORED_rtl_VAL2));
3352#ifdef TEST_FUNC_EDJE_OBJ_MIRRORED_POST
3353TEST_FUNC_EDJE_OBJ_MIRRORED_POST
3354#endif
3355 }
3356#else
3357TEST_FUNC_EDJE_OBJ_MIRRORED_OVERRIDE
3358#endif
3359
3360#ifndef TEST_FUNC_EDJE_OBJ_LANGUAGE
3361#define TEST_FUNC_EDJE_OBJ_LANGUAGE
3362 {
3363 const char * language = NULL;
3364#ifndef TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL1
3365#define TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL1 NULL
3366#endif
3367#ifndef TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL2
3368#define TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL2 "toto"
3369#endif
3370#ifdef TEST_FUNC_EDJE_OBJ_LANGUAGE_PRE
3371TEST_FUNC_EDJE_OBJ_LANGUAGE_PRE
3372#endif
3373 edje_obj_language_set(obj, TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL1);
3374 language = edje_obj_language_get(obj);
3375 FAIL_IF(edje_obj_language, (STRCMP(language, TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL1)));
3376 edje_obj_language_set(obj, TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL2);
3377 language = edje_obj_language_get(obj);
3378 FAIL_IF(edje_obj_language, (STRCMP(language, TEST_FUNC_EDJE_OBJ_LANGUAGE_language_VAL2)));
3379#ifdef TEST_FUNC_EDJE_OBJ_LANGUAGE_POST
3380TEST_FUNC_EDJE_OBJ_LANGUAGE_POST
3381#endif
3382 }
3383#else
3384TEST_FUNC_EDJE_OBJ_LANGUAGE_OVERRIDE
3385#endif
3386
3387#ifndef TEST_FUNC_EDJE_OBJ_ANIMATION
3388#define TEST_FUNC_EDJE_OBJ_ANIMATION
3389 {
3390 Eina_Bool on;
3391#ifndef TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL1
3392#define TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL1 EINA_TRUE
3393#endif
3394#ifndef TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL2
3395#define TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL2 EINA_FALSE
3396#endif
3397#ifdef TEST_FUNC_EDJE_OBJ_ANIMATION_PRE
3398TEST_FUNC_EDJE_OBJ_ANIMATION_PRE
3399#endif
3400 edje_obj_animation_set(obj, TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL1);
3401 on = edje_obj_animation_get(obj);
3402 FAIL_IF(edje_obj_animation, (on != TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL1));
3403 edje_obj_animation_set(obj, TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL2);
3404 on = edje_obj_animation_get(obj);
3405 FAIL_IF(edje_obj_animation, (on != TEST_FUNC_EDJE_OBJ_ANIMATION_on_VAL2));
3406#ifdef TEST_FUNC_EDJE_OBJ_ANIMATION_POST
3407TEST_FUNC_EDJE_OBJ_ANIMATION_POST
3408#endif
3409 }
3410#else
3411TEST_FUNC_EDJE_OBJ_ANIMATION_OVERRIDE
3412#endif
3413
3414#ifndef TEST_FUNC_EDJE_OBJ_PLAY
3415#define TEST_FUNC_EDJE_OBJ_PLAY
3416 {
3417 Eina_Bool play;
3418#ifndef TEST_FUNC_EDJE_OBJ_PLAY_play_VAL1
3419#define TEST_FUNC_EDJE_OBJ_PLAY_play_VAL1 EINA_TRUE
3420#endif
3421#ifndef TEST_FUNC_EDJE_OBJ_PLAY_play_VAL2
3422#define TEST_FUNC_EDJE_OBJ_PLAY_play_VAL2 EINA_FALSE
3423#endif
3424#ifdef TEST_FUNC_EDJE_OBJ_PLAY_PRE
3425TEST_FUNC_EDJE_OBJ_PLAY_PRE
3426#endif
3427 edje_obj_play_set(obj, TEST_FUNC_EDJE_OBJ_PLAY_play_VAL1);
3428 play = edje_obj_play_get(obj);
3429 FAIL_IF(edje_obj_play, (play != TEST_FUNC_EDJE_OBJ_PLAY_play_VAL1));
3430 edje_obj_play_set(obj, TEST_FUNC_EDJE_OBJ_PLAY_play_VAL2);
3431 play = edje_obj_play_get(obj);
3432 FAIL_IF(edje_obj_play, (play != TEST_FUNC_EDJE_OBJ_PLAY_play_VAL2));
3433#ifdef TEST_FUNC_EDJE_OBJ_PLAY_POST
3434TEST_FUNC_EDJE_OBJ_PLAY_POST
3435#endif
3436 }
3437#else
3438TEST_FUNC_EDJE_OBJ_PLAY_OVERRIDE
3439#endif
3440
3441#ifndef TEST_FUNC_EDJE_OBJ_SCALE
3442#define TEST_FUNC_EDJE_OBJ_SCALE
3443 {
3444 double scale;
3445#ifndef TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL1
3446#define TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL1 0.0
3447#endif
3448#ifndef TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL2
3449#define TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL2 1.0
3450#endif
3451#ifdef TEST_FUNC_EDJE_OBJ_SCALE_PRE
3452TEST_FUNC_EDJE_OBJ_SCALE_PRE
3453#endif
3454 edje_obj_scale_set(obj, TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL1);
3455 scale = edje_obj_scale_get(obj);
3456 FAIL_IF(edje_obj_scale, (scale != TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL1));
3457 edje_obj_scale_set(obj, TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL2);
3458 scale = edje_obj_scale_get(obj);
3459 FAIL_IF(edje_obj_scale, (scale != TEST_FUNC_EDJE_OBJ_SCALE_scale_VAL2));
3460#ifdef TEST_FUNC_EDJE_OBJ_SCALE_POST
3461TEST_FUNC_EDJE_OBJ_SCALE_POST
3462#endif
3463 }
3464#else
3465TEST_FUNC_EDJE_OBJ_SCALE_OVERRIDE
3466#endif
3467
3468#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS
3469#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS
3470 {
3471 const char * font = NULL;
3472 Evas_Font_Size size;
3473#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL1
3474#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL1 NULL
3475#endif
3476#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL2
3477#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL2 "toto"
3478#endif
3479#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL1
3480#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL1 NULL
3481#endif
3482#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL2
3483#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL2 "toto"
3484#endif
3485#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL1
3486#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL1 0
3487#endif
3488#ifndef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL2
3489#define TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL2 100
3490#endif
3491#ifdef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_PRE
3492TEST_FUNC_EDJE_OBJ_TEXT_CLASS_PRE
3493#endif
3494 edje_obj_text_class_set(obj, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL1, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL1, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL1);
3495 edje_obj_text_class_get(obj, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL1, &font, &size);
3496 FAIL_IF(edje_obj_text_class, (STRCMP(font, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL1)) || (size != TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL1));
3497 edje_obj_text_class_set(obj, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL2, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL2, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL2);
3498 edje_obj_text_class_get(obj, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_text_class_VAL2, &font, &size);
3499 FAIL_IF(edje_obj_text_class, (STRCMP(font, TEST_FUNC_EDJE_OBJ_TEXT_CLASS_font_VAL2)) || (size != TEST_FUNC_EDJE_OBJ_TEXT_CLASS_size_VAL2));
3500#ifdef TEST_FUNC_EDJE_OBJ_TEXT_CLASS_POST
3501TEST_FUNC_EDJE_OBJ_TEXT_CLASS_POST
3502#endif
3503 }
3504#else
3505TEST_FUNC_EDJE_OBJ_TEXT_CLASS_OVERRIDE
3506#endif
3507
3508#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS
3509#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS
3510 {
3511 int r;
3512 int g;
3513 int b;
3514 int a;
3515 int r2;
3516 int g2;
3517 int b2;
3518 int a2;
3519 int r3;
3520 int g3;
3521 int b3;
3522 int a3;
3523#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL1
3524#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL1 NULL
3525#endif
3526#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL2
3527#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL2 "toto"
3528#endif
3529#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL1
3530#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL1 0
3531#endif
3532#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL2
3533#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL2 100
3534#endif
3535#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL1
3536#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL1 0
3537#endif
3538#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL2
3539#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL2 100
3540#endif
3541#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL1
3542#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL1 0
3543#endif
3544#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL2
3545#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL2 100
3546#endif
3547#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL1
3548#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL1 0
3549#endif
3550#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL2
3551#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL2 100
3552#endif
3553#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL1
3554#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL1 0
3555#endif
3556#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL2
3557#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL2 100
3558#endif
3559#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL1
3560#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL1 0
3561#endif
3562#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL2
3563#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL2 100
3564#endif
3565#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL1
3566#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL1 0
3567#endif
3568#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL2
3569#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL2 100
3570#endif
3571#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL1
3572#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL1 0
3573#endif
3574#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL2
3575#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL2 100
3576#endif
3577#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL1
3578#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL1 0
3579#endif
3580#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL2
3581#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL2 100
3582#endif
3583#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL1
3584#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL1 0
3585#endif
3586#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL2
3587#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL2 100
3588#endif
3589#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL1
3590#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL1 0
3591#endif
3592#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL2
3593#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL2 100
3594#endif
3595#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL1
3596#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL1 0
3597#endif
3598#ifndef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL2
3599#define TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL2 100
3600#endif
3601#ifdef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_PRE
3602TEST_FUNC_EDJE_OBJ_COLOR_CLASS_PRE
3603#endif
3604 edje_obj_color_class_set(obj, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL1, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL1);
3605 edje_obj_color_class_get(obj, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL1, &r, &g, &b, &a, &r2, &g2, &b2, &a2, &r3, &g3, &b3, &a3);
3606 FAIL_IF(edje_obj_color_class, (r != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL1) || (g != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL1) || (b != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL1) || (a != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL1) || (r2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL1) || (g2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL1) || (b2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL1) || (a2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL1) || (r3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL1) || (g3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL1) || (b3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL1) || (a3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL1));
3607 edje_obj_color_class_set(obj, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL2, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL2);
3608 edje_obj_color_class_get(obj, TEST_FUNC_EDJE_OBJ_COLOR_CLASS_color_class_VAL2, &r, &g, &b, &a, &r2, &g2, &b2, &a2, &r3, &g3, &b3, &a3);
3609 FAIL_IF(edje_obj_color_class, (r != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r_VAL2) || (g != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g_VAL2) || (b != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b_VAL2) || (a != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a_VAL2) || (r2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r2_VAL2) || (g2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g2_VAL2) || (b2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b2_VAL2) || (a2 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a2_VAL2) || (r3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_r3_VAL2) || (g3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_g3_VAL2) || (b3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_b3_VAL2) || (a3 != TEST_FUNC_EDJE_OBJ_COLOR_CLASS_a3_VAL2));
3610#ifdef TEST_FUNC_EDJE_OBJ_COLOR_CLASS_POST
3611TEST_FUNC_EDJE_OBJ_COLOR_CLASS_POST
3612#endif
3613 }
3614#else
3615TEST_FUNC_EDJE_OBJ_COLOR_CLASS_OVERRIDE
3616#endif
3617
3618#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS
3619#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS
3620 {
3621 int minw;
3622 int minh;
3623 int maxw;
3624 int maxh;
3625#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL1
3626#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL1 NULL
3627#endif
3628#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL2
3629#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL2 "toto"
3630#endif
3631#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL1
3632#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL1 0
3633#endif
3634#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL2
3635#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL2 100
3636#endif
3637#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL1
3638#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL1 0
3639#endif
3640#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL2
3641#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL2 100
3642#endif
3643#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL1
3644#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL1 0
3645#endif
3646#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL2
3647#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL2 100
3648#endif
3649#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL1
3650#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL1 0
3651#endif
3652#ifndef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL2
3653#define TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL2 100
3654#endif
3655#ifdef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_PRE
3656TEST_FUNC_EDJE_OBJ_SIZE_CLASS_PRE
3657#endif
3658 edje_obj_size_class_set(obj, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL1, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL1, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL1, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL1, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL1);
3659 edje_obj_size_class_get(obj, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL1, &minw, &minh, &maxw, &maxh);
3660 FAIL_IF(edje_obj_size_class, (minw != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL1) || (minh != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL1) || (maxw != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL1) || (maxh != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL1));
3661 edje_obj_size_class_set(obj, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL2, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL2, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL2, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL2, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL2);
3662 edje_obj_size_class_get(obj, TEST_FUNC_EDJE_OBJ_SIZE_CLASS_size_class_VAL2, &minw, &minh, &maxw, &maxh);
3663 FAIL_IF(edje_obj_size_class, (minw != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minw_VAL2) || (minh != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_minh_VAL2) || (maxw != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxw_VAL2) || (maxh != TEST_FUNC_EDJE_OBJ_SIZE_CLASS_maxh_VAL2));
3664#ifdef TEST_FUNC_EDJE_OBJ_SIZE_CLASS_POST
3665TEST_FUNC_EDJE_OBJ_SIZE_CLASS_POST
3666#endif
3667 }
3668#else
3669TEST_FUNC_EDJE_OBJ_SIZE_CLASS_OVERRIDE
3670#endif
3671
3672#ifndef TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR
3673#define TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR
3674 {
3675 double scale;
3676#ifndef TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL1
3677#define TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL1 0.0
3678#endif
3679#ifndef TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL2
3680#define TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL2 1.0
3681#endif
3682#ifdef TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_PRE
3683TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_PRE
3684#endif
3685 edje_obj_transition_duration_factor_set(obj, TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL1);
3686 scale = edje_obj_transition_duration_factor_get(obj);
3687 FAIL_IF(edje_obj_transition_duration_factor, (scale != TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL1));
3688 edje_obj_transition_duration_factor_set(obj, TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL2);
3689 scale = edje_obj_transition_duration_factor_get(obj);
3690 FAIL_IF(edje_obj_transition_duration_factor, (scale != TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_scale_VAL2));
3691#ifdef TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_POST
3692TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_POST
3693#endif
3694 }
3695#else
3696TEST_FUNC_EDJE_OBJ_TRANSITION_DURATION_FACTOR_OVERRIDE
3697#endif
3698
3699#ifndef TEST_OBJ_EDJE_OBJECT_DTOR
3700#define TEST_OBJ_EDJE_OBJECT_DTOR eo_del(obj);
3701#endif
3702TEST_OBJ_EDJE_OBJECT_DTOR
3703
3257#ifndef TEST_OBJ_ELM_GLVIEW_CTOR 3704#ifndef TEST_OBJ_ELM_GLVIEW_CTOR
3258#define TEST_OBJ_ELM_GLVIEW_CTOR obj = eo_add(elm_glview_class_get(), parent); 3705#define TEST_OBJ_ELM_GLVIEW_CTOR obj = eo_add(elm_glview_class_get(), parent);
3259#endif 3706#endif
@@ -3298,140 +3745,1070 @@ TEST_FUNC_EFL_GFX_VIEW_SIZE_OVERRIDE
3298#endif 3745#endif
3299TEST_OBJ_ELM_GLVIEW_DTOR 3746TEST_OBJ_ELM_GLVIEW_DTOR
3300 3747
3301#ifndef TEST_OBJ_ELM_NOTIFY_CTOR 3748#ifndef TEST_OBJ_ELM_COMBOBOX_CTOR
3302#define TEST_OBJ_ELM_NOTIFY_CTOR obj = eo_add(elm_notify_class_get(), parent); 3749#define TEST_OBJ_ELM_COMBOBOX_CTOR obj = eo_add(elm_combobox_class_get(), parent);
3303#endif 3750#endif
3304TEST_OBJ_ELM_NOTIFY_CTOR 3751TEST_OBJ_ELM_COMBOBOX_CTOR
3305 3752
3306#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN 3753#ifndef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION
3307#define TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN 3754#define TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION
3308 { 3755 {
3309 double horizontal; 3756 Eina_Bool enabled;
3310 double vertical; 3757#ifndef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1
3311#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL1 3758#define TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1 EINA_TRUE
3312#define TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL1 0.0
3313#endif 3759#endif
3314#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL2 3760#ifndef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2
3315#define TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL2 1.0 3761#define TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2 EINA_FALSE
3316#endif 3762#endif
3317#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL1 3763#ifdef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_PRE
3318#define TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL1 0.0 3764TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_PRE
3319#endif 3765#endif
3320#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL2 3766 elm_obj_combobox_multiple_selection_set(obj, TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1);
3321#define TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL2 1.0 3767 enabled = elm_obj_combobox_multiple_selection_get(obj);
3768 FAIL_IF(elm_obj_combobox_multiple_selection, (enabled != TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1));
3769 elm_obj_combobox_multiple_selection_set(obj, TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2);
3770 enabled = elm_obj_combobox_multiple_selection_get(obj);
3771 FAIL_IF(elm_obj_combobox_multiple_selection, (enabled != TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2));
3772#ifdef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_POST
3773TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_POST
3322#endif 3774#endif
3323#ifdef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_PRE 3775 }
3324TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_PRE 3776#else
3777TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_OVERRIDE
3325#endif 3778#endif
3326 elm_obj_notify_align_set(obj, TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL1, TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL1); 3779
3327 elm_obj_notify_align_get(obj, &horizontal, &vertical); 3780#ifndef TEST_OBJ_ELM_COMBOBOX_DTOR
3328 FAIL_IF(elm_obj_notify_align, (horizontal != TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL1) || (vertical != TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL1)); 3781#define TEST_OBJ_ELM_COMBOBOX_DTOR eo_del(obj);
3329 elm_obj_notify_align_set(obj, TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL2, TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL2); 3782#endif
3330 elm_obj_notify_align_get(obj, &horizontal, &vertical); 3783TEST_OBJ_ELM_COMBOBOX_DTOR
3331 FAIL_IF(elm_obj_notify_align, (horizontal != TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_horizontal_VAL2) || (vertical != TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_vertical_VAL2)); 3784
3332#ifdef TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_POST 3785#ifndef TEST_OBJ_ELM_ICON_CTOR
3333TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_POST 3786#define TEST_OBJ_ELM_ICON_CTOR obj = eo_add(elm_icon_class_get(), parent);
3787#endif
3788TEST_OBJ_ELM_ICON_CTOR
3789
3790#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE
3791#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE
3792 {
3793 Eina_Bool fill_inside;
3794#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1
3795#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1 EINA_TRUE
3796#endif
3797#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2
3798#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2 EINA_FALSE
3799#endif
3800#ifdef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_PRE
3801TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_PRE
3802#endif
3803 elm_obj_image_fill_inside_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1);
3804 fill_inside = elm_obj_image_fill_inside_get(obj);
3805 FAIL_IF(elm_obj_image_fill_inside, (fill_inside != TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1));
3806 elm_obj_image_fill_inside_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2);
3807 fill_inside = elm_obj_image_fill_inside_get(obj);
3808 FAIL_IF(elm_obj_image_fill_inside, (fill_inside != TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2));
3809#ifdef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_POST
3810TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_POST
3334#endif 3811#endif
3335 } 3812 }
3336#else 3813#else
3337TEST_FUNC_ELM_OBJ_NOTIFY_ALIGN_OVERRIDE 3814TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_OVERRIDE
3338#endif 3815#endif
3339 3816
3340#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS 3817#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED
3341#define TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS 3818#define TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED
3342 { 3819 {
3343 Eina_Bool allow; 3820 Eina_Bool fixed;
3344#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL1 3821#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1
3345#define TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL1 EINA_TRUE 3822#define TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1 EINA_TRUE
3346#endif 3823#endif
3347#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL2 3824#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2
3348#define TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL2 EINA_FALSE 3825#define TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2 EINA_FALSE
3349#endif 3826#endif
3350#ifdef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_PRE 3827#ifdef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_PRE
3351TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_PRE 3828TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_PRE
3352#endif 3829#endif
3353 elm_obj_notify_allow_events_set(obj, TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL1); 3830 elm_obj_image_aspect_fixed_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1);
3354 allow = elm_obj_notify_allow_events_get(obj); 3831 fixed = elm_obj_image_aspect_fixed_get(obj);
3355 FAIL_IF(elm_obj_notify_allow_events, (allow != TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL1)); 3832 FAIL_IF(elm_obj_image_aspect_fixed, (fixed != TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1));
3356 elm_obj_notify_allow_events_set(obj, TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL2); 3833 elm_obj_image_aspect_fixed_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2);
3357 allow = elm_obj_notify_allow_events_get(obj); 3834 fixed = elm_obj_image_aspect_fixed_get(obj);
3358 FAIL_IF(elm_obj_notify_allow_events, (allow != TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_allow_VAL2)); 3835 FAIL_IF(elm_obj_image_aspect_fixed, (fixed != TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2));
3359#ifdef TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_POST 3836#ifdef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_POST
3360TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_POST 3837TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_POST
3361#endif 3838#endif
3362 } 3839 }
3363#else 3840#else
3364TEST_FUNC_ELM_OBJ_NOTIFY_ALLOW_EVENTS_OVERRIDE 3841TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_OVERRIDE
3365#endif 3842#endif
3366 3843
3367#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT 3844#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ICON
3368#define TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT 3845#define TEST_FUNC_ELM_OBJ_IMAGE_ICON
3369 { 3846 {
3370 double timeout; 3847 const char * name = NULL;
3371#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL1 3848#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL1
3372#define TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL1 0.0 3849#define TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL1 NULL
3373#endif 3850#endif
3374#ifndef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL2 3851#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL2
3375#define TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL2 1.0 3852#define TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL2 "toto"
3376#endif 3853#endif
3377#ifdef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_PRE 3854#ifdef TEST_FUNC_ELM_OBJ_IMAGE_ICON_PRE
3378TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_PRE 3855TEST_FUNC_ELM_OBJ_IMAGE_ICON_PRE
3379#endif 3856#endif
3380 elm_obj_notify_timeout_set(obj, TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL1); 3857 elm_obj_image_icon_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL1);
3381 timeout = elm_obj_notify_timeout_get(obj); 3858 name = elm_obj_image_icon_get(obj);
3382 FAIL_IF(elm_obj_notify_timeout, (timeout != TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL1)); 3859 FAIL_IF(elm_obj_image_icon, (STRCMP(name, TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL1)));
3383 elm_obj_notify_timeout_set(obj, TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL2); 3860 elm_obj_image_icon_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL2);
3384 timeout = elm_obj_notify_timeout_get(obj); 3861 name = elm_obj_image_icon_get(obj);
3385 FAIL_IF(elm_obj_notify_timeout, (timeout != TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_timeout_VAL2)); 3862 FAIL_IF(elm_obj_image_icon, (STRCMP(name, TEST_FUNC_ELM_OBJ_IMAGE_ICON_name_VAL2)));
3386#ifdef TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_POST 3863#ifdef TEST_FUNC_ELM_OBJ_IMAGE_ICON_POST
3387TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_POST 3864TEST_FUNC_ELM_OBJ_IMAGE_ICON_POST
3388#endif 3865#endif
3389 } 3866 }
3390#else 3867#else
3391TEST_FUNC_ELM_OBJ_NOTIFY_TIMEOUT_OVERRIDE 3868TEST_FUNC_ELM_OBJ_IMAGE_ICON_OVERRIDE
3392#endif 3869#endif
3393 3870
3394#ifndef TEST_OBJ_ELM_NOTIFY_DTOR 3871#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET
3395#define TEST_OBJ_ELM_NOTIFY_DTOR eo_del(obj); 3872#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET
3873 {
3874 Eina_Bool set;
3875#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1
3876#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1 EINA_TRUE
3877#endif
3878#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2
3879#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2 EINA_FALSE
3880#endif
3881#ifdef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_PRE
3882TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_PRE
3883#endif
3884 evas_draggable_interface_drag_target_set(obj, TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1);
3885 set = evas_draggable_interface_drag_target_get(obj);
3886 FAIL_IF(evas_draggable_interface_drag_target, (set != TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1));
3887 evas_draggable_interface_drag_target_set(obj, TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2);
3888 set = evas_draggable_interface_drag_target_get(obj);
3889 FAIL_IF(evas_draggable_interface_drag_target, (set != TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2));
3890#ifdef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_POST
3891TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_POST
3892#endif
3893 }
3894#else
3895TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_OVERRIDE
3396#endif 3896#endif
3397TEST_OBJ_ELM_NOTIFY_DTOR
3398 3897
3399#ifndef TEST_OBJ_ELM_COMBOBOX_CTOR 3898#ifndef TEST_FUNC_EFL_FILE_ASYNC
3400#define TEST_OBJ_ELM_COMBOBOX_CTOR obj = eo_add(elm_combobox_class_get(), parent); 3899#define TEST_FUNC_EFL_FILE_ASYNC
3900 {
3901 Eina_Bool async;
3902#ifndef TEST_FUNC_EFL_FILE_ASYNC_async_VAL1
3903#define TEST_FUNC_EFL_FILE_ASYNC_async_VAL1 EINA_TRUE
3904#endif
3905#ifndef TEST_FUNC_EFL_FILE_ASYNC_async_VAL2
3906#define TEST_FUNC_EFL_FILE_ASYNC_async_VAL2 EINA_FALSE
3907#endif
3908#ifdef TEST_FUNC_EFL_FILE_ASYNC_PRE
3909TEST_FUNC_EFL_FILE_ASYNC_PRE
3910#endif
3911 efl_file_async_set(obj, TEST_FUNC_EFL_FILE_ASYNC_async_VAL1);
3912 async = efl_file_async_get(obj);
3913 FAIL_IF(efl_file_async, (async != TEST_FUNC_EFL_FILE_ASYNC_async_VAL1));
3914 efl_file_async_set(obj, TEST_FUNC_EFL_FILE_ASYNC_async_VAL2);
3915 async = efl_file_async_get(obj);
3916 FAIL_IF(efl_file_async, (async != TEST_FUNC_EFL_FILE_ASYNC_async_VAL2));
3917#ifdef TEST_FUNC_EFL_FILE_ASYNC_POST
3918TEST_FUNC_EFL_FILE_ASYNC_POST
3919#endif
3920 }
3921#else
3922TEST_FUNC_EFL_FILE_ASYNC_OVERRIDE
3401#endif 3923#endif
3402TEST_OBJ_ELM_COMBOBOX_CTOR
3403 3924
3404#ifndef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION 3925#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE
3405#define TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION 3926#define TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE
3927 {
3928 Eina_Bool smooth_scale;
3929#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1
3930#define TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1 EINA_TRUE
3931#endif
3932#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2
3933#define TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2 EINA_FALSE
3934#endif
3935#ifdef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_PRE
3936TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_PRE
3937#endif
3938 efl_image_smooth_scale_set(obj, TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1);
3939 smooth_scale = efl_image_smooth_scale_get(obj);
3940 FAIL_IF(efl_image_smooth_scale, (smooth_scale != TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1));
3941 efl_image_smooth_scale_set(obj, TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2);
3942 smooth_scale = efl_image_smooth_scale_get(obj);
3943 FAIL_IF(efl_image_smooth_scale, (smooth_scale != TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2));
3944#ifdef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_POST
3945TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_POST
3946#endif
3947 }
3948#else
3949TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_OVERRIDE
3950#endif
3951
3952#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE
3953#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE
3954 {
3955 int w;
3956 int h;
3957#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1
3958#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1 0
3959#endif
3960#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2
3961#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2 100
3962#endif
3963#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1
3964#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1 0
3965#endif
3966#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2
3967#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2 100
3968#endif
3969#ifdef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_PRE
3970TEST_FUNC_EFL_IMAGE_LOAD_SIZE_PRE
3971#endif
3972 efl_image_load_size_set(obj, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1);
3973 efl_image_load_size_get(obj, &w, &h);
3974 FAIL_IF(efl_image_load_size, (w != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1) || (h != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1));
3975 efl_image_load_size_set(obj, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2);
3976 efl_image_load_size_get(obj, &w, &h);
3977 FAIL_IF(efl_image_load_size, (w != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2) || (h != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2));
3978#ifdef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_POST
3979TEST_FUNC_EFL_IMAGE_LOAD_SIZE_POST
3980#endif
3981 }
3982#else
3983TEST_FUNC_EFL_IMAGE_LOAD_SIZE_OVERRIDE
3984#endif
3985
3986#ifndef TEST_FUNC_EFL_PLAYER_PLAY
3987#define TEST_FUNC_EFL_PLAYER_PLAY
3988 {
3989 Eina_Bool play;
3990#ifndef TEST_FUNC_EFL_PLAYER_PLAY_play_VAL1
3991#define TEST_FUNC_EFL_PLAYER_PLAY_play_VAL1 EINA_TRUE
3992#endif
3993#ifndef TEST_FUNC_EFL_PLAYER_PLAY_play_VAL2
3994#define TEST_FUNC_EFL_PLAYER_PLAY_play_VAL2 EINA_FALSE
3995#endif
3996#ifdef TEST_FUNC_EFL_PLAYER_PLAY_PRE
3997TEST_FUNC_EFL_PLAYER_PLAY_PRE
3998#endif
3999 efl_player_play_set(obj, TEST_FUNC_EFL_PLAYER_PLAY_play_VAL1);
4000 play = efl_player_play_get(obj);
4001 FAIL_IF(efl_player_play, (play != TEST_FUNC_EFL_PLAYER_PLAY_play_VAL1));
4002 efl_player_play_set(obj, TEST_FUNC_EFL_PLAYER_PLAY_play_VAL2);
4003 play = efl_player_play_get(obj);
4004 FAIL_IF(efl_player_play, (play != TEST_FUNC_EFL_PLAYER_PLAY_play_VAL2));
4005#ifdef TEST_FUNC_EFL_PLAYER_PLAY_POST
4006TEST_FUNC_EFL_PLAYER_PLAY_POST
4007#endif
4008 }
4009#else
4010TEST_FUNC_EFL_PLAYER_PLAY_OVERRIDE
4011#endif
4012
4013#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION
4014#define TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION
4015 {
4016 const char * description = NULL;
4017#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL1
4018#define TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL1 NULL
4019#endif
4020#ifndef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL2
4021#define TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL2 "toto"
4022#endif
4023#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_PRE
4024TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_PRE
4025#endif
4026 elm_interface_atspi_image_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL1);
4027 description = elm_interface_atspi_image_description_get(obj);
4028 FAIL_IF(elm_interface_atspi_image_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL1)));
4029 elm_interface_atspi_image_description_set(obj, TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL2);
4030 description = elm_interface_atspi_image_description_get(obj);
4031 FAIL_IF(elm_interface_atspi_image_description, (STRCMP(description, TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_description_VAL2)));
4032#ifdef TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_POST
4033TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_POST
4034#endif
4035 }
4036#else
4037TEST_FUNC_ELM_INTERFACE_ATSPI_IMAGE_DESCRIPTION_OVERRIDE
4038#endif
4039
4040#ifndef TEST_FUNC_EFL_ORIENTATION
4041#define TEST_FUNC_EFL_ORIENTATION
4042 {
4043 Efl_Orient dir;
4044#ifndef TEST_FUNC_EFL_ORIENTATION_dir_VAL1
4045#define TEST_FUNC_EFL_ORIENTATION_dir_VAL1 EFL_ORIENT_NONE
4046#endif
4047#ifndef TEST_FUNC_EFL_ORIENTATION_dir_VAL2
4048#define TEST_FUNC_EFL_ORIENTATION_dir_VAL2 EFL_ORIENT_UP
4049#endif
4050#ifdef TEST_FUNC_EFL_ORIENTATION_PRE
4051TEST_FUNC_EFL_ORIENTATION_PRE
4052#endif
4053 efl_orientation_set(obj, TEST_FUNC_EFL_ORIENTATION_dir_VAL1);
4054 dir = efl_orientation_get(obj);
4055 FAIL_IF(efl_orientation, (dir != TEST_FUNC_EFL_ORIENTATION_dir_VAL1));
4056 efl_orientation_set(obj, TEST_FUNC_EFL_ORIENTATION_dir_VAL2);
4057 dir = efl_orientation_get(obj);
4058 FAIL_IF(efl_orientation, (dir != TEST_FUNC_EFL_ORIENTATION_dir_VAL2));
4059#ifdef TEST_FUNC_EFL_ORIENTATION_POST
4060TEST_FUNC_EFL_ORIENTATION_POST
4061#endif
4062 }
4063#else
4064TEST_FUNC_EFL_ORIENTATION_OVERRIDE
4065#endif
4066
4067#ifndef TEST_FUNC_EFL_FLIP
4068#define TEST_FUNC_EFL_FLIP
4069 {
4070 Efl_Flip flip;
4071#ifndef TEST_FUNC_EFL_FLIP_flip_VAL1
4072#define TEST_FUNC_EFL_FLIP_flip_VAL1 EFL_FLIP_NONE
4073#endif
4074#ifndef TEST_FUNC_EFL_FLIP_flip_VAL2
4075#define TEST_FUNC_EFL_FLIP_flip_VAL2 EFL_FLIP_HORIZONTAL
4076#endif
4077#ifdef TEST_FUNC_EFL_FLIP_PRE
4078TEST_FUNC_EFL_FLIP_PRE
4079#endif
4080 efl_flip_set(obj, TEST_FUNC_EFL_FLIP_flip_VAL1);
4081 flip = efl_flip_get(obj);
4082 FAIL_IF(efl_flip, (flip != TEST_FUNC_EFL_FLIP_flip_VAL1));
4083 efl_flip_set(obj, TEST_FUNC_EFL_FLIP_flip_VAL2);
4084 flip = efl_flip_get(obj);
4085 FAIL_IF(efl_flip, (flip != TEST_FUNC_EFL_FLIP_flip_VAL2));
4086#ifdef TEST_FUNC_EFL_FLIP_POST
4087TEST_FUNC_EFL_FLIP_POST
4088#endif
4089 }
4090#else
4091TEST_FUNC_EFL_FLIP_OVERRIDE
4092#endif
4093
4094#ifndef TEST_OBJ_ELM_ICON_DTOR
4095#define TEST_OBJ_ELM_ICON_DTOR eo_del(obj);
4096#endif
4097TEST_OBJ_ELM_ICON_DTOR
4098
4099#ifndef TEST_OBJ_EVAS_IMAGE_CTOR
4100#define TEST_OBJ_EVAS_IMAGE_CTOR obj = eo_add(evas_image_class_get(), parent);
4101#endif
4102TEST_OBJ_EVAS_IMAGE_CTOR
4103
4104#ifndef TEST_FUNC_EFL_IMAGE_BORDER
4105#define TEST_FUNC_EFL_IMAGE_BORDER
4106 {
4107 int l;
4108 int r;
4109 int t;
4110 int b;
4111#ifndef TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1
4112#define TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1 0
4113#endif
4114#ifndef TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2
4115#define TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2 100
4116#endif
4117#ifndef TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1
4118#define TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1 0
4119#endif
4120#ifndef TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2
4121#define TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2 100
4122#endif
4123#ifndef TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1
4124#define TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1 0
4125#endif
4126#ifndef TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2
4127#define TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2 100
4128#endif
4129#ifndef TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1
4130#define TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1 0
4131#endif
4132#ifndef TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2
4133#define TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2 100
4134#endif
4135#ifdef TEST_FUNC_EFL_IMAGE_BORDER_PRE
4136TEST_FUNC_EFL_IMAGE_BORDER_PRE
4137#endif
4138 efl_image_border_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1, TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1, TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1, TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1);
4139 efl_image_border_get(obj, &l, &r, &t, &b);
4140 FAIL_IF(efl_image_border, (l != TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1) || (r != TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1) || (t != TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1) || (b != TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1));
4141 efl_image_border_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2, TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2, TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2, TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2);
4142 efl_image_border_get(obj, &l, &r, &t, &b);
4143 FAIL_IF(efl_image_border, (l != TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2) || (r != TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2) || (t != TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2) || (b != TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2));
4144#ifdef TEST_FUNC_EFL_IMAGE_BORDER_POST
4145TEST_FUNC_EFL_IMAGE_BORDER_POST
4146#endif
4147 }
4148#else
4149TEST_FUNC_EFL_IMAGE_BORDER_OVERRIDE
4150#endif
4151
4152#ifndef TEST_FUNC_EFL_IMAGE_BORDER_SCALE
4153#define TEST_FUNC_EFL_IMAGE_BORDER_SCALE
4154 {
4155 double scale;
4156#ifndef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1
4157#define TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1 0.0
4158#endif
4159#ifndef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2
4160#define TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2 1.0
4161#endif
4162#ifdef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_PRE
4163TEST_FUNC_EFL_IMAGE_BORDER_SCALE_PRE
4164#endif
4165 efl_image_border_scale_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1);
4166 scale = efl_image_border_scale_get(obj);
4167 FAIL_IF(efl_image_border_scale, (scale != TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1));
4168 efl_image_border_scale_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2);
4169 scale = efl_image_border_scale_get(obj);
4170 FAIL_IF(efl_image_border_scale, (scale != TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2));
4171#ifdef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_POST
4172TEST_FUNC_EFL_IMAGE_BORDER_SCALE_POST
4173#endif
4174 }
4175#else
4176TEST_FUNC_EFL_IMAGE_BORDER_SCALE_OVERRIDE
4177#endif
4178
4179#ifndef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL
4180#define TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL
4181 {
4182 Efl_Gfx_Border_Fill_Mode fill;
4183#ifndef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1
4184#define TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1 EFL_GFX_BORDER_FILL_MODE_NONE
4185#endif
4186#ifndef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2
4187#define TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2 EFL_GFX_BORDER_FILL_MODE_DEFAULT
4188#endif
4189#ifdef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_PRE
4190TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_PRE
4191#endif
4192 efl_image_border_center_fill_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1);
4193 fill = efl_image_border_center_fill_get(obj);
4194 FAIL_IF(efl_image_border_center_fill, (fill != TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1));
4195 efl_image_border_center_fill_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2);
4196 fill = efl_image_border_center_fill_get(obj);
4197 FAIL_IF(efl_image_border_center_fill, (fill != TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2));
4198#ifdef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_POST
4199TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_POST
4200#endif
4201 }
4202#else
4203TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_OVERRIDE
4204#endif
4205
4206#ifndef TEST_FUNC_EFL_IMAGE_CONTENT_HINT
4207#define TEST_FUNC_EFL_IMAGE_CONTENT_HINT
4208 {
4209 Efl_Image_Content_Hint hint;
4210#ifndef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1
4211#define TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1 EFL_IMAGE_CONTENT_HINT_NONE
4212#endif
4213#ifndef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2
4214#define TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2 EFL_IMAGE_CONTENT_HINT_DYNAMIC
4215#endif
4216#ifdef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_PRE
4217TEST_FUNC_EFL_IMAGE_CONTENT_HINT_PRE
4218#endif
4219 efl_image_content_hint_set(obj, TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1);
4220 hint = efl_image_content_hint_get(obj);
4221 FAIL_IF(efl_image_content_hint, (hint != TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1));
4222 efl_image_content_hint_set(obj, TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2);
4223 hint = efl_image_content_hint_get(obj);
4224 FAIL_IF(efl_image_content_hint, (hint != TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2));
4225#ifdef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_POST
4226TEST_FUNC_EFL_IMAGE_CONTENT_HINT_POST
4227#endif
4228 }
4229#else
4230TEST_FUNC_EFL_IMAGE_CONTENT_HINT_OVERRIDE
4231#endif
4232
4233#ifndef TEST_FUNC_EFL_IMAGE_SCALE_HINT
4234#define TEST_FUNC_EFL_IMAGE_SCALE_HINT
4235 {
4236 Efl_Image_Scale_Hint hint;
4237#ifndef TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1
4238#define TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1 EFL_IMAGE_SCALE_HINT_NONE
4239#endif
4240#ifndef TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2
4241#define TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2 EFL_IMAGE_SCALE_HINT_DYNAMIC
4242#endif
4243#ifdef TEST_FUNC_EFL_IMAGE_SCALE_HINT_PRE
4244TEST_FUNC_EFL_IMAGE_SCALE_HINT_PRE
4245#endif
4246 efl_image_scale_hint_set(obj, TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1);
4247 hint = efl_image_scale_hint_get(obj);
4248 FAIL_IF(efl_image_scale_hint, (hint != TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1));
4249 efl_image_scale_hint_set(obj, TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2);
4250 hint = efl_image_scale_hint_get(obj);
4251 FAIL_IF(efl_image_scale_hint, (hint != TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2));
4252#ifdef TEST_FUNC_EFL_IMAGE_SCALE_HINT_POST
4253TEST_FUNC_EFL_IMAGE_SCALE_HINT_POST
4254#endif
4255 }
4256#else
4257TEST_FUNC_EFL_IMAGE_SCALE_HINT_OVERRIDE
4258#endif
4259
4260#ifndef TEST_FUNC_EFL_GFX_BUFFER_ALPHA
4261#define TEST_FUNC_EFL_GFX_BUFFER_ALPHA
4262 {
4263 Eina_Bool alpha;
4264#ifndef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1
4265#define TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1 EINA_TRUE
4266#endif
4267#ifndef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2
4268#define TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2 EINA_FALSE
4269#endif
4270#ifdef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_PRE
4271TEST_FUNC_EFL_GFX_BUFFER_ALPHA_PRE
4272#endif
4273 efl_gfx_buffer_alpha_set(obj, TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1);
4274 alpha = efl_gfx_buffer_alpha_get(obj);
4275 FAIL_IF(efl_gfx_buffer_alpha, (alpha != TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1));
4276 efl_gfx_buffer_alpha_set(obj, TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2);
4277 alpha = efl_gfx_buffer_alpha_get(obj);
4278 FAIL_IF(efl_gfx_buffer_alpha, (alpha != TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2));
4279#ifdef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_POST
4280TEST_FUNC_EFL_GFX_BUFFER_ALPHA_POST
4281#endif
4282 }
4283#else
4284TEST_FUNC_EFL_GFX_BUFFER_ALPHA_OVERRIDE
4285#endif
4286
4287#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO
4288#define TEST_FUNC_EFL_GFX_FILL_AUTO
4289 {
4290 Eina_Bool filled;
4291#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1
4292#define TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1 EINA_TRUE
4293#endif
4294#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2
4295#define TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2 EINA_FALSE
4296#endif
4297#ifdef TEST_FUNC_EFL_GFX_FILL_AUTO_PRE
4298TEST_FUNC_EFL_GFX_FILL_AUTO_PRE
4299#endif
4300 efl_gfx_fill_auto_set(obj, TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1);
4301 filled = efl_gfx_fill_auto_get(obj);
4302 FAIL_IF(efl_gfx_fill_auto, (filled != TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1));
4303 efl_gfx_fill_auto_set(obj, TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2);
4304 filled = efl_gfx_fill_auto_get(obj);
4305 FAIL_IF(efl_gfx_fill_auto, (filled != TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2));
4306#ifdef TEST_FUNC_EFL_GFX_FILL_AUTO_POST
4307TEST_FUNC_EFL_GFX_FILL_AUTO_POST
4308#endif
4309 }
4310#else
4311TEST_FUNC_EFL_GFX_FILL_AUTO_OVERRIDE
4312#endif
4313
4314#ifndef TEST_FUNC_EFL_GFX_FILL
4315#define TEST_FUNC_EFL_GFX_FILL
4316 {
4317 int x;
4318 int y;
4319 int w;
4320 int h;
4321#ifndef TEST_FUNC_EFL_GFX_FILL_x_VAL1
4322#define TEST_FUNC_EFL_GFX_FILL_x_VAL1 0
4323#endif
4324#ifndef TEST_FUNC_EFL_GFX_FILL_x_VAL2
4325#define TEST_FUNC_EFL_GFX_FILL_x_VAL2 100
4326#endif
4327#ifndef TEST_FUNC_EFL_GFX_FILL_y_VAL1
4328#define TEST_FUNC_EFL_GFX_FILL_y_VAL1 0
4329#endif
4330#ifndef TEST_FUNC_EFL_GFX_FILL_y_VAL2
4331#define TEST_FUNC_EFL_GFX_FILL_y_VAL2 100
4332#endif
4333#ifndef TEST_FUNC_EFL_GFX_FILL_w_VAL1
4334#define TEST_FUNC_EFL_GFX_FILL_w_VAL1 0
4335#endif
4336#ifndef TEST_FUNC_EFL_GFX_FILL_w_VAL2
4337#define TEST_FUNC_EFL_GFX_FILL_w_VAL2 100
4338#endif
4339#ifndef TEST_FUNC_EFL_GFX_FILL_h_VAL1
4340#define TEST_FUNC_EFL_GFX_FILL_h_VAL1 0
4341#endif
4342#ifndef TEST_FUNC_EFL_GFX_FILL_h_VAL2
4343#define TEST_FUNC_EFL_GFX_FILL_h_VAL2 100
4344#endif
4345#ifdef TEST_FUNC_EFL_GFX_FILL_PRE
4346TEST_FUNC_EFL_GFX_FILL_PRE
4347#endif
4348 efl_gfx_fill_set(obj, TEST_FUNC_EFL_GFX_FILL_x_VAL1, TEST_FUNC_EFL_GFX_FILL_y_VAL1, TEST_FUNC_EFL_GFX_FILL_w_VAL1, TEST_FUNC_EFL_GFX_FILL_h_VAL1);
4349 efl_gfx_fill_get(obj, &x, &y, &w, &h);
4350 FAIL_IF(efl_gfx_fill, (x != TEST_FUNC_EFL_GFX_FILL_x_VAL1) || (y != TEST_FUNC_EFL_GFX_FILL_y_VAL1) || (w != TEST_FUNC_EFL_GFX_FILL_w_VAL1) || (h != TEST_FUNC_EFL_GFX_FILL_h_VAL1));
4351 efl_gfx_fill_set(obj, TEST_FUNC_EFL_GFX_FILL_x_VAL2, TEST_FUNC_EFL_GFX_FILL_y_VAL2, TEST_FUNC_EFL_GFX_FILL_w_VAL2, TEST_FUNC_EFL_GFX_FILL_h_VAL2);
4352 efl_gfx_fill_get(obj, &x, &y, &w, &h);
4353 FAIL_IF(efl_gfx_fill, (x != TEST_FUNC_EFL_GFX_FILL_x_VAL2) || (y != TEST_FUNC_EFL_GFX_FILL_y_VAL2) || (w != TEST_FUNC_EFL_GFX_FILL_w_VAL2) || (h != TEST_FUNC_EFL_GFX_FILL_h_VAL2));
4354#ifdef TEST_FUNC_EFL_GFX_FILL_POST
4355TEST_FUNC_EFL_GFX_FILL_POST
4356#endif
4357 }
4358#else
4359TEST_FUNC_EFL_GFX_FILL_OVERRIDE
4360#endif
4361
4362#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM
4363#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM
4364 {
4365 const char * code = NULL;
4366 const char * name = NULL;
4367#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1
4368#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1 NULL
4369#endif
4370#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2
4371#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2 "toto"
4372#endif
4373#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1
4374#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1 NULL
4375#endif
4376#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2
4377#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2 "toto"
4378#endif
4379#ifdef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_PRE
4380TEST_FUNC_EFL_GFX_FILTER_PROGRAM_PRE
4381#endif
4382 efl_gfx_filter_program_set(obj, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1);
4383 efl_gfx_filter_program_get(obj, &code, &name);
4384 FAIL_IF(efl_gfx_filter_program, (STRCMP(code, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1)) || (STRCMP(name, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1)));
4385 efl_gfx_filter_program_set(obj, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2);
4386 efl_gfx_filter_program_get(obj, &code, &name);
4387 FAIL_IF(efl_gfx_filter_program, (STRCMP(code, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2)) || (STRCMP(name, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2)));
4388#ifdef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_POST
4389TEST_FUNC_EFL_GFX_FILTER_PROGRAM_POST
4390#endif
4391 }
4392#else
4393TEST_FUNC_EFL_GFX_FILTER_PROGRAM_OVERRIDE
4394#endif
4395
4396#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE
4397#define TEST_FUNC_EFL_GFX_FILTER_STATE
4398 {
4399 const char * cur_state = NULL;
4400 double cur_val;
4401 const char * next_state = NULL;
4402 double next_val;
4403 double pos;
4404#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1
4405#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1 NULL
4406#endif
4407#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2
4408#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2 "toto"
4409#endif
4410#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1
4411#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1 0.0
4412#endif
4413#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2
4414#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2 1.0
4415#endif
4416#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1
4417#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1 NULL
4418#endif
4419#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2
4420#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2 "toto"
4421#endif
4422#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1
4423#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1 0.0
4424#endif
4425#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2
4426#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2 1.0
4427#endif
4428#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1
4429#define TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1 0.0
4430#endif
4431#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2
4432#define TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2 1.0
4433#endif
4434#ifdef TEST_FUNC_EFL_GFX_FILTER_STATE_PRE
4435TEST_FUNC_EFL_GFX_FILTER_STATE_PRE
4436#endif
4437 efl_gfx_filter_state_set(obj, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1);
4438 efl_gfx_filter_state_get(obj, &cur_state, &cur_val, &next_state, &next_val, &pos);
4439 FAIL_IF(efl_gfx_filter_state, (STRCMP(cur_state, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1)) || (cur_val != TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1) || (STRCMP(next_state, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1)) || (next_val != TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1) || (pos != TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1));
4440 efl_gfx_filter_state_set(obj, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2);
4441 efl_gfx_filter_state_get(obj, &cur_state, &cur_val, &next_state, &next_val, &pos);
4442 FAIL_IF(efl_gfx_filter_state, (STRCMP(cur_state, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2)) || (cur_val != TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2) || (STRCMP(next_state, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2)) || (next_val != TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2) || (pos != TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2));
4443#ifdef TEST_FUNC_EFL_GFX_FILTER_STATE_POST
4444TEST_FUNC_EFL_GFX_FILTER_STATE_POST
4445#endif
4446 }
4447#else
4448TEST_FUNC_EFL_GFX_FILTER_STATE_OVERRIDE
4449#endif
4450
4451#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA
4452#define TEST_FUNC_EFL_GFX_FILTER_DATA
4453 {
4454 const char * value = NULL;
4455 Eina_Bool execute;
4456#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1
4457#define TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1 NULL
4458#endif
4459#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2
4460#define TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2 "toto"
4461#endif
4462#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1
4463#define TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1 NULL
4464#endif
4465#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2
4466#define TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2 "toto"
4467#endif
4468#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1
4469#define TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1 EINA_TRUE
4470#endif
4471#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2
4472#define TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2 EINA_FALSE
4473#endif
4474#ifdef TEST_FUNC_EFL_GFX_FILTER_DATA_PRE
4475TEST_FUNC_EFL_GFX_FILTER_DATA_PRE
4476#endif
4477 efl_gfx_filter_data_set(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1, TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1);
4478 efl_gfx_filter_data_get(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1, &value, &execute);
4479 FAIL_IF(efl_gfx_filter_data, (STRCMP(value, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1)) || (execute != TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1));
4480 efl_gfx_filter_data_set(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2, TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2);
4481 efl_gfx_filter_data_get(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2, &value, &execute);
4482 FAIL_IF(efl_gfx_filter_data, (STRCMP(value, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2)) || (execute != TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2));
4483#ifdef TEST_FUNC_EFL_GFX_FILTER_DATA_POST
4484TEST_FUNC_EFL_GFX_FILTER_DATA_POST
4485#endif
4486 }
4487#else
4488TEST_FUNC_EFL_GFX_FILTER_DATA_OVERRIDE
4489#endif
4490
4491#ifndef TEST_OBJ_EVAS_IMAGE_DTOR
4492#define TEST_OBJ_EVAS_IMAGE_DTOR eo_del(obj);
4493#endif
4494TEST_OBJ_EVAS_IMAGE_DTOR
4495
4496#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
4497#define TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR obj = eo_add(elm_app_server_view_class_get(), parent);
4498#endif
4499TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
4500
4501#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS
4502#define TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS
4503 {
4504 short progress;
4505#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1
4506#define TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1 0
4507#endif
4508#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2
4509#define TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2 100
4510#endif
4511#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_PRE
4512TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_PRE
4513#endif
4514 elm_app_server_view_progress_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1);
4515 progress = elm_app_server_view_progress_get(obj);
4516 FAIL_IF(elm_app_server_view_progress, (progress != TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1));
4517 elm_app_server_view_progress_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2);
4518 progress = elm_app_server_view_progress_get(obj);
4519 FAIL_IF(elm_app_server_view_progress, (progress != TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2));
4520#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_POST
4521TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_POST
4522#endif
4523 }
4524#else
4525TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_OVERRIDE
4526#endif
4527
4528#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS
4529#define TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS
4530 {
4531 int events;
4532#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1
4533#define TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1 0
4534#endif
4535#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2
4536#define TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2 100
4537#endif
4538#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_PRE
4539TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_PRE
4540#endif
4541 elm_app_server_view_new_events_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1);
4542 events = elm_app_server_view_new_events_get(obj);
4543 FAIL_IF(elm_app_server_view_new_events, (events != TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1));
4544 elm_app_server_view_new_events_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2);
4545 events = elm_app_server_view_new_events_get(obj);
4546 FAIL_IF(elm_app_server_view_new_events, (events != TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2));
4547#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_POST
4548TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_POST
4549#endif
4550 }
4551#else
4552TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_OVERRIDE
4553#endif
4554
4555#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON
4556#define TEST_FUNC_ELM_APP_SERVER_VIEW_ICON
4557 {
4558 const char * icon = NULL;
4559#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1
4560#define TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1 NULL
4561#endif
4562#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2
4563#define TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2 "toto"
4564#endif
4565#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_PRE
4566TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_PRE
4567#endif
4568 elm_app_server_view_icon_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1);
4569 icon = elm_app_server_view_icon_get(obj);
4570 FAIL_IF(elm_app_server_view_icon, (STRCMP(icon, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1)));
4571 elm_app_server_view_icon_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2);
4572 icon = elm_app_server_view_icon_get(obj);
4573 FAIL_IF(elm_app_server_view_icon, (STRCMP(icon, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2)));
4574#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_POST
4575TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_POST
4576#endif
4577 }
4578#else
4579TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_OVERRIDE
4580#endif
4581
4582#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE
4583#define TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE
4584 {
4585 const char * title = NULL;
4586#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1
4587#define TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1 NULL
4588#endif
4589#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2
4590#define TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2 "toto"
4591#endif
4592#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_PRE
4593TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_PRE
4594#endif
4595 elm_app_server_view_title_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1);
4596 title = elm_app_server_view_title_get(obj);
4597 FAIL_IF(elm_app_server_view_title, (STRCMP(title, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1)));
4598 elm_app_server_view_title_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2);
4599 title = elm_app_server_view_title_get(obj);
4600 FAIL_IF(elm_app_server_view_title, (STRCMP(title, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2)));
4601#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_POST
4602TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_POST
4603#endif
4604 }
4605#else
4606TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_OVERRIDE
4607#endif
4608
4609#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID
4610#define TEST_FUNC_ELM_APP_SERVER_VIEW_ID
4611 {
4612 const char * ret = NULL;
4613#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1
4614#define TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1 NULL
4615#endif
4616#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2
4617#define TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2 "toto"
4618#endif
4619#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_PRE
4620TEST_FUNC_ELM_APP_SERVER_VIEW_ID_PRE
4621#endif
4622 elm_app_server_view_id_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1);
4623 ret = elm_app_server_view_id_get(obj);
4624 FAIL_IF(elm_app_server_view_id, (STRCMP(ret, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1)));
4625 elm_app_server_view_id_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2);
4626 ret = elm_app_server_view_id_get(obj);
4627 FAIL_IF(elm_app_server_view_id, (STRCMP(ret, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2)));
4628#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_POST
4629TEST_FUNC_ELM_APP_SERVER_VIEW_ID_POST
4630#endif
4631 }
4632#else
4633TEST_FUNC_ELM_APP_SERVER_VIEW_ID_OVERRIDE
4634#endif
4635
4636#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR
4637#define TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR eo_del(obj);
4638#endif
4639TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR
4640
4641#ifndef TEST_OBJ_ELM_LIST_CTOR
4642#define TEST_OBJ_ELM_LIST_CTOR obj = eo_add(elm_list_class_get(), parent);
4643#endif
4644TEST_OBJ_ELM_LIST_CTOR
4645
4646#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL
4647#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL
4648 {
4649 Eina_Bool horizontal;
4650#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1
4651#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1 EINA_TRUE
4652#endif
4653#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2
4654#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2 EINA_FALSE
4655#endif
4656#ifdef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_PRE
4657TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_PRE
4658#endif
4659 elm_obj_list_horizontal_set(obj, TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1);
4660 horizontal = elm_obj_list_horizontal_get(obj);
4661 FAIL_IF(elm_obj_list_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1));
4662 elm_obj_list_horizontal_set(obj, TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2);
4663 horizontal = elm_obj_list_horizontal_get(obj);
4664 FAIL_IF(elm_obj_list_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2));
4665#ifdef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_POST
4666TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_POST
4667#endif
4668 }
4669#else
4670TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_OVERRIDE
4671#endif
4672
4673#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE
4674#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE
4675 {
4676 Elm_Object_Select_Mode mode;
4677#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1
4678#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1 ELM_OBJECT_SELECT_MODE_DEFAULT
4679#endif
4680#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2
4681#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2 ELM_OBJECT_SELECT_MODE_ALWAYS
4682#endif
4683#ifdef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_PRE
4684TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_PRE
4685#endif
4686 elm_obj_list_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1);
4687 mode = elm_obj_list_select_mode_get(obj);
4688 FAIL_IF(elm_obj_list_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1));
4689 elm_obj_list_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2);
4690 mode = elm_obj_list_select_mode_get(obj);
4691 FAIL_IF(elm_obj_list_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2));
4692#ifdef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_POST
4693TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_POST
4694#endif
4695 }
4696#else
4697TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_OVERRIDE
4698#endif
4699
4700#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION
4701#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION
3406 { 4702 {
3407 Eina_Bool enabled; 4703 Eina_Bool enabled;
3408#ifndef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1 4704#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1
3409#define TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1 EINA_TRUE 4705#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1 EINA_TRUE
3410#endif 4706#endif
3411#ifndef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2 4707#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2
3412#define TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2 EINA_FALSE 4708#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2 EINA_FALSE
3413#endif 4709#endif
3414#ifdef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_PRE 4710#ifdef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_PRE
3415TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_PRE 4711TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_PRE
3416#endif 4712#endif
3417 elm_obj_combobox_multiple_selection_set(obj, TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1); 4713 elm_obj_list_focus_on_selection_set(obj, TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1);
3418 enabled = elm_obj_combobox_multiple_selection_get(obj); 4714 enabled = elm_obj_list_focus_on_selection_get(obj);
3419 FAIL_IF(elm_obj_combobox_multiple_selection, (enabled != TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL1)); 4715 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1));
3420 elm_obj_combobox_multiple_selection_set(obj, TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2); 4716 elm_obj_list_focus_on_selection_set(obj, TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2);
3421 enabled = elm_obj_combobox_multiple_selection_get(obj); 4717 enabled = elm_obj_list_focus_on_selection_get(obj);
3422 FAIL_IF(elm_obj_combobox_multiple_selection, (enabled != TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_enabled_VAL2)); 4718 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2));
3423#ifdef TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_POST 4719#ifdef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_POST
3424TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_POST 4720TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_POST
3425#endif 4721#endif
3426 } 4722 }
3427#else 4723#else
3428TEST_FUNC_ELM_OBJ_COMBOBOX_MULTIPLE_SELECTION_OVERRIDE 4724TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_OVERRIDE
3429#endif 4725#endif
3430 4726
3431#ifndef TEST_OBJ_ELM_COMBOBOX_DTOR 4727#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT
3432#define TEST_OBJ_ELM_COMBOBOX_DTOR eo_del(obj); 4728#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT
4729 {
4730 Eina_Bool multi;
4731#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1
4732#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1 EINA_TRUE
4733#endif
4734#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2
4735#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2 EINA_FALSE
4736#endif
4737#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_PRE
4738TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_PRE
4739#endif
4740 elm_obj_list_multi_select_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1);
4741 multi = elm_obj_list_multi_select_get(obj);
4742 FAIL_IF(elm_obj_list_multi_select, (multi != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1));
4743 elm_obj_list_multi_select_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2);
4744 multi = elm_obj_list_multi_select_get(obj);
4745 FAIL_IF(elm_obj_list_multi_select, (multi != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2));
4746#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_POST
4747TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_POST
4748#endif
4749 }
4750#else
4751TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_OVERRIDE
3433#endif 4752#endif
3434TEST_OBJ_ELM_COMBOBOX_DTOR 4753
4754#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE
4755#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE
4756 {
4757 Elm_Object_Multi_Select_Mode mode;
4758#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1
4759#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1 ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
4760#endif
4761#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2
4762#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2 ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
4763#endif
4764#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_PRE
4765TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_PRE
4766#endif
4767 elm_obj_list_multi_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1);
4768 mode = elm_obj_list_multi_select_mode_get(obj);
4769 FAIL_IF(elm_obj_list_multi_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1));
4770 elm_obj_list_multi_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2);
4771 mode = elm_obj_list_multi_select_mode_get(obj);
4772 FAIL_IF(elm_obj_list_multi_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2));
4773#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_POST
4774TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_POST
4775#endif
4776 }
4777#else
4778TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_OVERRIDE
4779#endif
4780
4781#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE
4782#define TEST_FUNC_ELM_OBJ_LIST_MODE
4783 {
4784 Elm_List_Mode mode;
4785#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1
4786#define TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1 ELM_LIST_COMPRESS
4787#endif
4788#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2
4789#define TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2 ELM_LIST_SCROLL
4790#endif
4791#ifdef TEST_FUNC_ELM_OBJ_LIST_MODE_PRE
4792TEST_FUNC_ELM_OBJ_LIST_MODE_PRE
4793#endif
4794 elm_obj_list_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1);
4795 mode = elm_obj_list_mode_get(obj);
4796 FAIL_IF(elm_obj_list_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1));
4797 elm_obj_list_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2);
4798 mode = elm_obj_list_mode_get(obj);
4799 FAIL_IF(elm_obj_list_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2));
4800#ifdef TEST_FUNC_ELM_OBJ_LIST_MODE_POST
4801TEST_FUNC_ELM_OBJ_LIST_MODE_POST
4802#endif
4803 }
4804#else
4805TEST_FUNC_ELM_OBJ_LIST_MODE_OVERRIDE
4806#endif
4807
4808#ifndef TEST_OBJ_ELM_LIST_DTOR
4809#define TEST_OBJ_ELM_LIST_DTOR eo_del(obj);
4810#endif
4811TEST_OBJ_ELM_LIST_DTOR
3435 4812
3436#ifndef TEST_OBJ_ELM_ENTRY_CTOR 4813#ifndef TEST_OBJ_ELM_ENTRY_CTOR
3437#define TEST_OBJ_ELM_ENTRY_CTOR obj = eo_add(elm_entry_class_get(), parent); 4814#define TEST_OBJ_ELM_ENTRY_CTOR obj = eo_add(elm_entry_class_get(), parent);
@@ -4472,455 +5849,6 @@ TEST_FUNC_ELM_OBJ_WIDGET_ITEM_LOOP_ENABLED_OVERRIDE
4472#endif 5849#endif
4473TEST_OBJ_ELM_GENLIST_DTOR 5850TEST_OBJ_ELM_GENLIST_DTOR
4474 5851
4475#ifndef TEST_OBJ_ELM_LIST_CTOR
4476#define TEST_OBJ_ELM_LIST_CTOR obj = eo_add(elm_list_class_get(), parent);
4477#endif
4478TEST_OBJ_ELM_LIST_CTOR
4479
4480#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL
4481#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL
4482 {
4483 Eina_Bool horizontal;
4484#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1
4485#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1 EINA_TRUE
4486#endif
4487#ifndef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2
4488#define TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2 EINA_FALSE
4489#endif
4490#ifdef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_PRE
4491TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_PRE
4492#endif
4493 elm_obj_list_horizontal_set(obj, TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1);
4494 horizontal = elm_obj_list_horizontal_get(obj);
4495 FAIL_IF(elm_obj_list_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL1));
4496 elm_obj_list_horizontal_set(obj, TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2);
4497 horizontal = elm_obj_list_horizontal_get(obj);
4498 FAIL_IF(elm_obj_list_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_horizontal_VAL2));
4499#ifdef TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_POST
4500TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_POST
4501#endif
4502 }
4503#else
4504TEST_FUNC_ELM_OBJ_LIST_HORIZONTAL_OVERRIDE
4505#endif
4506
4507#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE
4508#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE
4509 {
4510 Elm_Object_Select_Mode mode;
4511#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1
4512#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1 ELM_OBJECT_SELECT_MODE_DEFAULT
4513#endif
4514#ifndef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2
4515#define TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2 ELM_OBJECT_SELECT_MODE_ALWAYS
4516#endif
4517#ifdef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_PRE
4518TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_PRE
4519#endif
4520 elm_obj_list_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1);
4521 mode = elm_obj_list_select_mode_get(obj);
4522 FAIL_IF(elm_obj_list_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL1));
4523 elm_obj_list_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2);
4524 mode = elm_obj_list_select_mode_get(obj);
4525 FAIL_IF(elm_obj_list_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_mode_VAL2));
4526#ifdef TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_POST
4527TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_POST
4528#endif
4529 }
4530#else
4531TEST_FUNC_ELM_OBJ_LIST_SELECT_MODE_OVERRIDE
4532#endif
4533
4534#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION
4535#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION
4536 {
4537 Eina_Bool enabled;
4538#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1
4539#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1 EINA_TRUE
4540#endif
4541#ifndef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2
4542#define TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2 EINA_FALSE
4543#endif
4544#ifdef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_PRE
4545TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_PRE
4546#endif
4547 elm_obj_list_focus_on_selection_set(obj, TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1);
4548 enabled = elm_obj_list_focus_on_selection_get(obj);
4549 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL1));
4550 elm_obj_list_focus_on_selection_set(obj, TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2);
4551 enabled = elm_obj_list_focus_on_selection_get(obj);
4552 FAIL_IF(elm_obj_list_focus_on_selection, (enabled != TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_enabled_VAL2));
4553#ifdef TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_POST
4554TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_POST
4555#endif
4556 }
4557#else
4558TEST_FUNC_ELM_OBJ_LIST_FOCUS_ON_SELECTION_OVERRIDE
4559#endif
4560
4561#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT
4562#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT
4563 {
4564 Eina_Bool multi;
4565#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1
4566#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1 EINA_TRUE
4567#endif
4568#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2
4569#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2 EINA_FALSE
4570#endif
4571#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_PRE
4572TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_PRE
4573#endif
4574 elm_obj_list_multi_select_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1);
4575 multi = elm_obj_list_multi_select_get(obj);
4576 FAIL_IF(elm_obj_list_multi_select, (multi != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL1));
4577 elm_obj_list_multi_select_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2);
4578 multi = elm_obj_list_multi_select_get(obj);
4579 FAIL_IF(elm_obj_list_multi_select, (multi != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_multi_VAL2));
4580#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_POST
4581TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_POST
4582#endif
4583 }
4584#else
4585TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_OVERRIDE
4586#endif
4587
4588#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE
4589#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE
4590 {
4591 Elm_Object_Multi_Select_Mode mode;
4592#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1
4593#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1 ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT
4594#endif
4595#ifndef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2
4596#define TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2 ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
4597#endif
4598#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_PRE
4599TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_PRE
4600#endif
4601 elm_obj_list_multi_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1);
4602 mode = elm_obj_list_multi_select_mode_get(obj);
4603 FAIL_IF(elm_obj_list_multi_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL1));
4604 elm_obj_list_multi_select_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2);
4605 mode = elm_obj_list_multi_select_mode_get(obj);
4606 FAIL_IF(elm_obj_list_multi_select_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_mode_VAL2));
4607#ifdef TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_POST
4608TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_POST
4609#endif
4610 }
4611#else
4612TEST_FUNC_ELM_OBJ_LIST_MULTI_SELECT_MODE_OVERRIDE
4613#endif
4614
4615#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE
4616#define TEST_FUNC_ELM_OBJ_LIST_MODE
4617 {
4618 Elm_List_Mode mode;
4619#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1
4620#define TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1 ELM_LIST_COMPRESS
4621#endif
4622#ifndef TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2
4623#define TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2 ELM_LIST_SCROLL
4624#endif
4625#ifdef TEST_FUNC_ELM_OBJ_LIST_MODE_PRE
4626TEST_FUNC_ELM_OBJ_LIST_MODE_PRE
4627#endif
4628 elm_obj_list_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1);
4629 mode = elm_obj_list_mode_get(obj);
4630 FAIL_IF(elm_obj_list_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL1));
4631 elm_obj_list_mode_set(obj, TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2);
4632 mode = elm_obj_list_mode_get(obj);
4633 FAIL_IF(elm_obj_list_mode, (mode != TEST_FUNC_ELM_OBJ_LIST_MODE_mode_VAL2));
4634#ifdef TEST_FUNC_ELM_OBJ_LIST_MODE_POST
4635TEST_FUNC_ELM_OBJ_LIST_MODE_POST
4636#endif
4637 }
4638#else
4639TEST_FUNC_ELM_OBJ_LIST_MODE_OVERRIDE
4640#endif
4641
4642#ifndef TEST_OBJ_ELM_LIST_DTOR
4643#define TEST_OBJ_ELM_LIST_DTOR eo_del(obj);
4644#endif
4645TEST_OBJ_ELM_LIST_DTOR
4646
4647#ifndef TEST_OBJ_ELM_BOX_CTOR
4648#define TEST_OBJ_ELM_BOX_CTOR obj = eo_add(elm_box_class_get(), parent);
4649#endif
4650TEST_OBJ_ELM_BOX_CTOR
4651
4652#ifndef TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS
4653#define TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS
4654 {
4655 Eina_Bool homogeneous;
4656#ifndef TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL1
4657#define TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL1 EINA_TRUE
4658#endif
4659#ifndef TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL2
4660#define TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL2 EINA_FALSE
4661#endif
4662#ifdef TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_PRE
4663TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_PRE
4664#endif
4665 elm_obj_box_homogeneous_set(obj, TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL1);
4666 homogeneous = elm_obj_box_homogeneous_get(obj);
4667 FAIL_IF(elm_obj_box_homogeneous, (homogeneous != TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL1));
4668 elm_obj_box_homogeneous_set(obj, TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL2);
4669 homogeneous = elm_obj_box_homogeneous_get(obj);
4670 FAIL_IF(elm_obj_box_homogeneous, (homogeneous != TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_homogeneous_VAL2));
4671#ifdef TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_POST
4672TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_POST
4673#endif
4674 }
4675#else
4676TEST_FUNC_ELM_OBJ_BOX_HOMOGENEOUS_OVERRIDE
4677#endif
4678
4679#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN
4680#define TEST_FUNC_ELM_OBJ_BOX_ALIGN
4681 {
4682 double horizontal;
4683 double vertical;
4684#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL1
4685#define TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL1 0.0
4686#endif
4687#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL2
4688#define TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL2 1.0
4689#endif
4690#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL1
4691#define TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL1 0.0
4692#endif
4693#ifndef TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL2
4694#define TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL2 1.0
4695#endif
4696#ifdef TEST_FUNC_ELM_OBJ_BOX_ALIGN_PRE
4697TEST_FUNC_ELM_OBJ_BOX_ALIGN_PRE
4698#endif
4699 elm_obj_box_align_set(obj, TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL1, TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL1);
4700 elm_obj_box_align_get(obj, &horizontal, &vertical);
4701 FAIL_IF(elm_obj_box_align, (horizontal != TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL1) || (vertical != TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL1));
4702 elm_obj_box_align_set(obj, TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL2, TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL2);
4703 elm_obj_box_align_get(obj, &horizontal, &vertical);
4704 FAIL_IF(elm_obj_box_align, (horizontal != TEST_FUNC_ELM_OBJ_BOX_ALIGN_horizontal_VAL2) || (vertical != TEST_FUNC_ELM_OBJ_BOX_ALIGN_vertical_VAL2));
4705#ifdef TEST_FUNC_ELM_OBJ_BOX_ALIGN_POST
4706TEST_FUNC_ELM_OBJ_BOX_ALIGN_POST
4707#endif
4708 }
4709#else
4710TEST_FUNC_ELM_OBJ_BOX_ALIGN_OVERRIDE
4711#endif
4712
4713#ifndef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL
4714#define TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL
4715 {
4716 Eina_Bool horizontal;
4717#ifndef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL1
4718#define TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL1 EINA_TRUE
4719#endif
4720#ifndef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL2
4721#define TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL2 EINA_FALSE
4722#endif
4723#ifdef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_PRE
4724TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_PRE
4725#endif
4726 elm_obj_box_horizontal_set(obj, TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL1);
4727 horizontal = elm_obj_box_horizontal_get(obj);
4728 FAIL_IF(elm_obj_box_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL1));
4729 elm_obj_box_horizontal_set(obj, TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL2);
4730 horizontal = elm_obj_box_horizontal_get(obj);
4731 FAIL_IF(elm_obj_box_horizontal, (horizontal != TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_horizontal_VAL2));
4732#ifdef TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_POST
4733TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_POST
4734#endif
4735 }
4736#else
4737TEST_FUNC_ELM_OBJ_BOX_HORIZONTAL_OVERRIDE
4738#endif
4739
4740#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING
4741#define TEST_FUNC_ELM_OBJ_BOX_PADDING
4742 {
4743 Evas_Coord horizontal;
4744 Evas_Coord vertical;
4745#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL1
4746#define TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL1 0
4747#endif
4748#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL2
4749#define TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL2 100
4750#endif
4751#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL1
4752#define TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL1 0
4753#endif
4754#ifndef TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL2
4755#define TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL2 100
4756#endif
4757#ifdef TEST_FUNC_ELM_OBJ_BOX_PADDING_PRE
4758TEST_FUNC_ELM_OBJ_BOX_PADDING_PRE
4759#endif
4760 elm_obj_box_padding_set(obj, TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL1, TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL1);
4761 elm_obj_box_padding_get(obj, &horizontal, &vertical);
4762 FAIL_IF(elm_obj_box_padding, (horizontal != TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL1) || (vertical != TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL1));
4763 elm_obj_box_padding_set(obj, TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL2, TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL2);
4764 elm_obj_box_padding_get(obj, &horizontal, &vertical);
4765 FAIL_IF(elm_obj_box_padding, (horizontal != TEST_FUNC_ELM_OBJ_BOX_PADDING_horizontal_VAL2) || (vertical != TEST_FUNC_ELM_OBJ_BOX_PADDING_vertical_VAL2));
4766#ifdef TEST_FUNC_ELM_OBJ_BOX_PADDING_POST
4767TEST_FUNC_ELM_OBJ_BOX_PADDING_POST
4768#endif
4769 }
4770#else
4771TEST_FUNC_ELM_OBJ_BOX_PADDING_OVERRIDE
4772#endif
4773
4774#ifndef TEST_OBJ_ELM_BOX_DTOR
4775#define TEST_OBJ_ELM_BOX_DTOR eo_del(obj);
4776#endif
4777TEST_OBJ_ELM_BOX_DTOR
4778
4779#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
4780#define TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR obj = eo_add(elm_app_server_view_class_get(), parent);
4781#endif
4782TEST_OBJ_ELM_APP_SERVER_VIEW_CTOR
4783
4784#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS
4785#define TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS
4786 {
4787 short progress;
4788#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1
4789#define TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1 0
4790#endif
4791#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2
4792#define TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2 100
4793#endif
4794#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_PRE
4795TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_PRE
4796#endif
4797 elm_app_server_view_progress_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1);
4798 progress = elm_app_server_view_progress_get(obj);
4799 FAIL_IF(elm_app_server_view_progress, (progress != TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL1));
4800 elm_app_server_view_progress_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2);
4801 progress = elm_app_server_view_progress_get(obj);
4802 FAIL_IF(elm_app_server_view_progress, (progress != TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_progress_VAL2));
4803#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_POST
4804TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_POST
4805#endif
4806 }
4807#else
4808TEST_FUNC_ELM_APP_SERVER_VIEW_PROGRESS_OVERRIDE
4809#endif
4810
4811#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS
4812#define TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS
4813 {
4814 int events;
4815#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1
4816#define TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1 0
4817#endif
4818#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2
4819#define TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2 100
4820#endif
4821#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_PRE
4822TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_PRE
4823#endif
4824 elm_app_server_view_new_events_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1);
4825 events = elm_app_server_view_new_events_get(obj);
4826 FAIL_IF(elm_app_server_view_new_events, (events != TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL1));
4827 elm_app_server_view_new_events_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2);
4828 events = elm_app_server_view_new_events_get(obj);
4829 FAIL_IF(elm_app_server_view_new_events, (events != TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_events_VAL2));
4830#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_POST
4831TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_POST
4832#endif
4833 }
4834#else
4835TEST_FUNC_ELM_APP_SERVER_VIEW_NEW_EVENTS_OVERRIDE
4836#endif
4837
4838#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON
4839#define TEST_FUNC_ELM_APP_SERVER_VIEW_ICON
4840 {
4841 const char * icon = NULL;
4842#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1
4843#define TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1 NULL
4844#endif
4845#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2
4846#define TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2 "toto"
4847#endif
4848#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_PRE
4849TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_PRE
4850#endif
4851 elm_app_server_view_icon_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1);
4852 icon = elm_app_server_view_icon_get(obj);
4853 FAIL_IF(elm_app_server_view_icon, (STRCMP(icon, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL1)));
4854 elm_app_server_view_icon_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2);
4855 icon = elm_app_server_view_icon_get(obj);
4856 FAIL_IF(elm_app_server_view_icon, (STRCMP(icon, TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_icon_VAL2)));
4857#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_POST
4858TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_POST
4859#endif
4860 }
4861#else
4862TEST_FUNC_ELM_APP_SERVER_VIEW_ICON_OVERRIDE
4863#endif
4864
4865#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE
4866#define TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE
4867 {
4868 const char * title = NULL;
4869#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1
4870#define TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1 NULL
4871#endif
4872#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2
4873#define TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2 "toto"
4874#endif
4875#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_PRE
4876TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_PRE
4877#endif
4878 elm_app_server_view_title_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1);
4879 title = elm_app_server_view_title_get(obj);
4880 FAIL_IF(elm_app_server_view_title, (STRCMP(title, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL1)));
4881 elm_app_server_view_title_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2);
4882 title = elm_app_server_view_title_get(obj);
4883 FAIL_IF(elm_app_server_view_title, (STRCMP(title, TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_title_VAL2)));
4884#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_POST
4885TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_POST
4886#endif
4887 }
4888#else
4889TEST_FUNC_ELM_APP_SERVER_VIEW_TITLE_OVERRIDE
4890#endif
4891
4892#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID
4893#define TEST_FUNC_ELM_APP_SERVER_VIEW_ID
4894 {
4895 const char * ret = NULL;
4896#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1
4897#define TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1 NULL
4898#endif
4899#ifndef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2
4900#define TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2 "toto"
4901#endif
4902#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_PRE
4903TEST_FUNC_ELM_APP_SERVER_VIEW_ID_PRE
4904#endif
4905 elm_app_server_view_id_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1);
4906 ret = elm_app_server_view_id_get(obj);
4907 FAIL_IF(elm_app_server_view_id, (STRCMP(ret, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL1)));
4908 elm_app_server_view_id_set(obj, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2);
4909 ret = elm_app_server_view_id_get(obj);
4910 FAIL_IF(elm_app_server_view_id, (STRCMP(ret, TEST_FUNC_ELM_APP_SERVER_VIEW_ID_ret_VAL2)));
4911#ifdef TEST_FUNC_ELM_APP_SERVER_VIEW_ID_POST
4912TEST_FUNC_ELM_APP_SERVER_VIEW_ID_POST
4913#endif
4914 }
4915#else
4916TEST_FUNC_ELM_APP_SERVER_VIEW_ID_OVERRIDE
4917#endif
4918
4919#ifndef TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR
4920#define TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR eo_del(obj);
4921#endif
4922TEST_OBJ_ELM_APP_SERVER_VIEW_DTOR
4923
4924#ifndef TEST_OBJ_ELM_MULTIBUTTONENTRY_CTOR 5852#ifndef TEST_OBJ_ELM_MULTIBUTTONENTRY_CTOR
4925#define TEST_OBJ_ELM_MULTIBUTTONENTRY_CTOR obj = eo_add(elm_multibuttonentry_class_get(), parent); 5853#define TEST_OBJ_ELM_MULTIBUTTONENTRY_CTOR obj = eo_add(elm_multibuttonentry_class_get(), parent);
4926#endif 5854#endif
@@ -4985,804 +5913,96 @@ TEST_FUNC_ELM_OBJ_MULTIBUTTONENTRY_EXPANDED_OVERRIDE
4985#endif 5913#endif
4986TEST_OBJ_ELM_MULTIBUTTONENTRY_DTOR 5914TEST_OBJ_ELM_MULTIBUTTONENTRY_DTOR
4987 5915
4988#ifndef TEST_OBJ_EVAS_IMAGE_CTOR 5916#ifndef TEST_OBJ_ELM_DISKSELECTOR_CTOR
4989#define TEST_OBJ_EVAS_IMAGE_CTOR obj = eo_add(evas_image_class_get(), parent); 5917#define TEST_OBJ_ELM_DISKSELECTOR_CTOR obj = eo_add(elm_diskselector_class_get(), parent);
4990#endif
4991TEST_OBJ_EVAS_IMAGE_CTOR
4992
4993#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE
4994#define TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE
4995 {
4996 Eina_Bool smooth_scale;
4997#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1
4998#define TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1 EINA_TRUE
4999#endif
5000#ifndef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2
5001#define TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2 EINA_FALSE
5002#endif
5003#ifdef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_PRE
5004TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_PRE
5005#endif
5006 efl_image_smooth_scale_set(obj, TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1);
5007 smooth_scale = efl_image_smooth_scale_get(obj);
5008 FAIL_IF(efl_image_smooth_scale, (smooth_scale != TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL1));
5009 efl_image_smooth_scale_set(obj, TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2);
5010 smooth_scale = efl_image_smooth_scale_get(obj);
5011 FAIL_IF(efl_image_smooth_scale, (smooth_scale != TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_smooth_scale_VAL2));
5012#ifdef TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_POST
5013TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_POST
5014#endif
5015 }
5016#else
5017TEST_FUNC_EFL_IMAGE_SMOOTH_SCALE_OVERRIDE
5018#endif
5019
5020#ifndef TEST_FUNC_EFL_IMAGE_BORDER
5021#define TEST_FUNC_EFL_IMAGE_BORDER
5022 {
5023 int l;
5024 int r;
5025 int t;
5026 int b;
5027#ifndef TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1
5028#define TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1 0
5029#endif
5030#ifndef TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2
5031#define TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2 100
5032#endif
5033#ifndef TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1
5034#define TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1 0
5035#endif
5036#ifndef TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2
5037#define TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2 100
5038#endif
5039#ifndef TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1
5040#define TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1 0
5041#endif
5042#ifndef TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2
5043#define TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2 100
5044#endif
5045#ifndef TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1
5046#define TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1 0
5047#endif
5048#ifndef TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2
5049#define TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2 100
5050#endif
5051#ifdef TEST_FUNC_EFL_IMAGE_BORDER_PRE
5052TEST_FUNC_EFL_IMAGE_BORDER_PRE
5053#endif
5054 efl_image_border_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1, TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1, TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1, TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1);
5055 efl_image_border_get(obj, &l, &r, &t, &b);
5056 FAIL_IF(efl_image_border, (l != TEST_FUNC_EFL_IMAGE_BORDER_l_VAL1) || (r != TEST_FUNC_EFL_IMAGE_BORDER_r_VAL1) || (t != TEST_FUNC_EFL_IMAGE_BORDER_t_VAL1) || (b != TEST_FUNC_EFL_IMAGE_BORDER_b_VAL1));
5057 efl_image_border_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2, TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2, TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2, TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2);
5058 efl_image_border_get(obj, &l, &r, &t, &b);
5059 FAIL_IF(efl_image_border, (l != TEST_FUNC_EFL_IMAGE_BORDER_l_VAL2) || (r != TEST_FUNC_EFL_IMAGE_BORDER_r_VAL2) || (t != TEST_FUNC_EFL_IMAGE_BORDER_t_VAL2) || (b != TEST_FUNC_EFL_IMAGE_BORDER_b_VAL2));
5060#ifdef TEST_FUNC_EFL_IMAGE_BORDER_POST
5061TEST_FUNC_EFL_IMAGE_BORDER_POST
5062#endif
5063 }
5064#else
5065TEST_FUNC_EFL_IMAGE_BORDER_OVERRIDE
5066#endif
5067
5068#ifndef TEST_FUNC_EFL_IMAGE_BORDER_SCALE
5069#define TEST_FUNC_EFL_IMAGE_BORDER_SCALE
5070 {
5071 double scale;
5072#ifndef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1
5073#define TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1 0.0
5074#endif
5075#ifndef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2
5076#define TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2 1.0
5077#endif
5078#ifdef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_PRE
5079TEST_FUNC_EFL_IMAGE_BORDER_SCALE_PRE
5080#endif
5081 efl_image_border_scale_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1);
5082 scale = efl_image_border_scale_get(obj);
5083 FAIL_IF(efl_image_border_scale, (scale != TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL1));
5084 efl_image_border_scale_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2);
5085 scale = efl_image_border_scale_get(obj);
5086 FAIL_IF(efl_image_border_scale, (scale != TEST_FUNC_EFL_IMAGE_BORDER_SCALE_scale_VAL2));
5087#ifdef TEST_FUNC_EFL_IMAGE_BORDER_SCALE_POST
5088TEST_FUNC_EFL_IMAGE_BORDER_SCALE_POST
5089#endif
5090 }
5091#else
5092TEST_FUNC_EFL_IMAGE_BORDER_SCALE_OVERRIDE
5093#endif
5094
5095#ifndef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL
5096#define TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL
5097 {
5098 Efl_Gfx_Border_Fill_Mode fill;
5099#ifndef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1
5100#define TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1 EFL_GFX_BORDER_FILL_MODE_NONE
5101#endif
5102#ifndef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2
5103#define TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2 EFL_GFX_BORDER_FILL_MODE_DEFAULT
5104#endif
5105#ifdef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_PRE
5106TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_PRE
5107#endif
5108 efl_image_border_center_fill_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1);
5109 fill = efl_image_border_center_fill_get(obj);
5110 FAIL_IF(efl_image_border_center_fill, (fill != TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL1));
5111 efl_image_border_center_fill_set(obj, TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2);
5112 fill = efl_image_border_center_fill_get(obj);
5113 FAIL_IF(efl_image_border_center_fill, (fill != TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_fill_VAL2));
5114#ifdef TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_POST
5115TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_POST
5116#endif
5117 }
5118#else
5119TEST_FUNC_EFL_IMAGE_BORDER_CENTER_FILL_OVERRIDE
5120#endif
5121
5122#ifndef TEST_FUNC_EFL_IMAGE_CONTENT_HINT
5123#define TEST_FUNC_EFL_IMAGE_CONTENT_HINT
5124 {
5125 Efl_Image_Content_Hint hint;
5126#ifndef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1
5127#define TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1 EFL_IMAGE_CONTENT_HINT_NONE
5128#endif
5129#ifndef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2
5130#define TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2 EFL_IMAGE_CONTENT_HINT_DYNAMIC
5131#endif
5132#ifdef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_PRE
5133TEST_FUNC_EFL_IMAGE_CONTENT_HINT_PRE
5134#endif
5135 efl_image_content_hint_set(obj, TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1);
5136 hint = efl_image_content_hint_get(obj);
5137 FAIL_IF(efl_image_content_hint, (hint != TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL1));
5138 efl_image_content_hint_set(obj, TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2);
5139 hint = efl_image_content_hint_get(obj);
5140 FAIL_IF(efl_image_content_hint, (hint != TEST_FUNC_EFL_IMAGE_CONTENT_HINT_hint_VAL2));
5141#ifdef TEST_FUNC_EFL_IMAGE_CONTENT_HINT_POST
5142TEST_FUNC_EFL_IMAGE_CONTENT_HINT_POST
5143#endif
5144 }
5145#else
5146TEST_FUNC_EFL_IMAGE_CONTENT_HINT_OVERRIDE
5147#endif
5148
5149#ifndef TEST_FUNC_EFL_IMAGE_SCALE_HINT
5150#define TEST_FUNC_EFL_IMAGE_SCALE_HINT
5151 {
5152 Efl_Image_Scale_Hint hint;
5153#ifndef TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1
5154#define TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1 EFL_IMAGE_SCALE_HINT_NONE
5155#endif
5156#ifndef TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2
5157#define TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2 EFL_IMAGE_SCALE_HINT_DYNAMIC
5158#endif
5159#ifdef TEST_FUNC_EFL_IMAGE_SCALE_HINT_PRE
5160TEST_FUNC_EFL_IMAGE_SCALE_HINT_PRE
5161#endif
5162 efl_image_scale_hint_set(obj, TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1);
5163 hint = efl_image_scale_hint_get(obj);
5164 FAIL_IF(efl_image_scale_hint, (hint != TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL1));
5165 efl_image_scale_hint_set(obj, TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2);
5166 hint = efl_image_scale_hint_get(obj);
5167 FAIL_IF(efl_image_scale_hint, (hint != TEST_FUNC_EFL_IMAGE_SCALE_HINT_hint_VAL2));
5168#ifdef TEST_FUNC_EFL_IMAGE_SCALE_HINT_POST
5169TEST_FUNC_EFL_IMAGE_SCALE_HINT_POST
5170#endif
5171 }
5172#else
5173TEST_FUNC_EFL_IMAGE_SCALE_HINT_OVERRIDE
5174#endif
5175
5176#ifndef TEST_FUNC_EFL_GFX_BUFFER_ALPHA
5177#define TEST_FUNC_EFL_GFX_BUFFER_ALPHA
5178 {
5179 Eina_Bool alpha;
5180#ifndef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1
5181#define TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1 EINA_TRUE
5182#endif
5183#ifndef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2
5184#define TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2 EINA_FALSE
5185#endif
5186#ifdef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_PRE
5187TEST_FUNC_EFL_GFX_BUFFER_ALPHA_PRE
5188#endif
5189 efl_gfx_buffer_alpha_set(obj, TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1);
5190 alpha = efl_gfx_buffer_alpha_get(obj);
5191 FAIL_IF(efl_gfx_buffer_alpha, (alpha != TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL1));
5192 efl_gfx_buffer_alpha_set(obj, TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2);
5193 alpha = efl_gfx_buffer_alpha_get(obj);
5194 FAIL_IF(efl_gfx_buffer_alpha, (alpha != TEST_FUNC_EFL_GFX_BUFFER_ALPHA_alpha_VAL2));
5195#ifdef TEST_FUNC_EFL_GFX_BUFFER_ALPHA_POST
5196TEST_FUNC_EFL_GFX_BUFFER_ALPHA_POST
5197#endif
5198 }
5199#else
5200TEST_FUNC_EFL_GFX_BUFFER_ALPHA_OVERRIDE
5201#endif
5202
5203#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO
5204#define TEST_FUNC_EFL_GFX_FILL_AUTO
5205 {
5206 Eina_Bool filled;
5207#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1
5208#define TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1 EINA_TRUE
5209#endif
5210#ifndef TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2
5211#define TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2 EINA_FALSE
5212#endif
5213#ifdef TEST_FUNC_EFL_GFX_FILL_AUTO_PRE
5214TEST_FUNC_EFL_GFX_FILL_AUTO_PRE
5215#endif
5216 efl_gfx_fill_auto_set(obj, TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1);
5217 filled = efl_gfx_fill_auto_get(obj);
5218 FAIL_IF(efl_gfx_fill_auto, (filled != TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL1));
5219 efl_gfx_fill_auto_set(obj, TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2);
5220 filled = efl_gfx_fill_auto_get(obj);
5221 FAIL_IF(efl_gfx_fill_auto, (filled != TEST_FUNC_EFL_GFX_FILL_AUTO_filled_VAL2));
5222#ifdef TEST_FUNC_EFL_GFX_FILL_AUTO_POST
5223TEST_FUNC_EFL_GFX_FILL_AUTO_POST
5224#endif
5225 }
5226#else
5227TEST_FUNC_EFL_GFX_FILL_AUTO_OVERRIDE
5228#endif
5229
5230#ifndef TEST_FUNC_EFL_GFX_FILL
5231#define TEST_FUNC_EFL_GFX_FILL
5232 {
5233 int x;
5234 int y;
5235 int w;
5236 int h;
5237#ifndef TEST_FUNC_EFL_GFX_FILL_x_VAL1
5238#define TEST_FUNC_EFL_GFX_FILL_x_VAL1 0
5239#endif
5240#ifndef TEST_FUNC_EFL_GFX_FILL_x_VAL2
5241#define TEST_FUNC_EFL_GFX_FILL_x_VAL2 100
5242#endif
5243#ifndef TEST_FUNC_EFL_GFX_FILL_y_VAL1
5244#define TEST_FUNC_EFL_GFX_FILL_y_VAL1 0
5245#endif
5246#ifndef TEST_FUNC_EFL_GFX_FILL_y_VAL2
5247#define TEST_FUNC_EFL_GFX_FILL_y_VAL2 100
5248#endif
5249#ifndef TEST_FUNC_EFL_GFX_FILL_w_VAL1
5250#define TEST_FUNC_EFL_GFX_FILL_w_VAL1 0
5251#endif
5252#ifndef TEST_FUNC_EFL_GFX_FILL_w_VAL2
5253#define TEST_FUNC_EFL_GFX_FILL_w_VAL2 100
5254#endif
5255#ifndef TEST_FUNC_EFL_GFX_FILL_h_VAL1
5256#define TEST_FUNC_EFL_GFX_FILL_h_VAL1 0
5257#endif
5258#ifndef TEST_FUNC_EFL_GFX_FILL_h_VAL2
5259#define TEST_FUNC_EFL_GFX_FILL_h_VAL2 100
5260#endif
5261#ifdef TEST_FUNC_EFL_GFX_FILL_PRE
5262TEST_FUNC_EFL_GFX_FILL_PRE
5263#endif
5264 efl_gfx_fill_set(obj, TEST_FUNC_EFL_GFX_FILL_x_VAL1, TEST_FUNC_EFL_GFX_FILL_y_VAL1, TEST_FUNC_EFL_GFX_FILL_w_VAL1, TEST_FUNC_EFL_GFX_FILL_h_VAL1);
5265 efl_gfx_fill_get(obj, &x, &y, &w, &h);
5266 FAIL_IF(efl_gfx_fill, (x != TEST_FUNC_EFL_GFX_FILL_x_VAL1) || (y != TEST_FUNC_EFL_GFX_FILL_y_VAL1) || (w != TEST_FUNC_EFL_GFX_FILL_w_VAL1) || (h != TEST_FUNC_EFL_GFX_FILL_h_VAL1));
5267 efl_gfx_fill_set(obj, TEST_FUNC_EFL_GFX_FILL_x_VAL2, TEST_FUNC_EFL_GFX_FILL_y_VAL2, TEST_FUNC_EFL_GFX_FILL_w_VAL2, TEST_FUNC_EFL_GFX_FILL_h_VAL2);
5268 efl_gfx_fill_get(obj, &x, &y, &w, &h);
5269 FAIL_IF(efl_gfx_fill, (x != TEST_FUNC_EFL_GFX_FILL_x_VAL2) || (y != TEST_FUNC_EFL_GFX_FILL_y_VAL2) || (w != TEST_FUNC_EFL_GFX_FILL_w_VAL2) || (h != TEST_FUNC_EFL_GFX_FILL_h_VAL2));
5270#ifdef TEST_FUNC_EFL_GFX_FILL_POST
5271TEST_FUNC_EFL_GFX_FILL_POST
5272#endif
5273 }
5274#else
5275TEST_FUNC_EFL_GFX_FILL_OVERRIDE
5276#endif
5277
5278#ifndef TEST_FUNC_EFL_ORIENTATION
5279#define TEST_FUNC_EFL_ORIENTATION
5280 {
5281 Efl_Orient dir;
5282#ifndef TEST_FUNC_EFL_ORIENTATION_dir_VAL1
5283#define TEST_FUNC_EFL_ORIENTATION_dir_VAL1 EFL_ORIENT_NONE
5284#endif
5285#ifndef TEST_FUNC_EFL_ORIENTATION_dir_VAL2
5286#define TEST_FUNC_EFL_ORIENTATION_dir_VAL2 EFL_ORIENT_UP
5287#endif
5288#ifdef TEST_FUNC_EFL_ORIENTATION_PRE
5289TEST_FUNC_EFL_ORIENTATION_PRE
5290#endif
5291 efl_orientation_set(obj, TEST_FUNC_EFL_ORIENTATION_dir_VAL1);
5292 dir = efl_orientation_get(obj);
5293 FAIL_IF(efl_orientation, (dir != TEST_FUNC_EFL_ORIENTATION_dir_VAL1));
5294 efl_orientation_set(obj, TEST_FUNC_EFL_ORIENTATION_dir_VAL2);
5295 dir = efl_orientation_get(obj);
5296 FAIL_IF(efl_orientation, (dir != TEST_FUNC_EFL_ORIENTATION_dir_VAL2));
5297#ifdef TEST_FUNC_EFL_ORIENTATION_POST
5298TEST_FUNC_EFL_ORIENTATION_POST
5299#endif
5300 }
5301#else
5302TEST_FUNC_EFL_ORIENTATION_OVERRIDE
5303#endif
5304
5305#ifndef TEST_FUNC_EFL_FLIP
5306#define TEST_FUNC_EFL_FLIP
5307 {
5308 Efl_Flip flip;
5309#ifndef TEST_FUNC_EFL_FLIP_flip_VAL1
5310#define TEST_FUNC_EFL_FLIP_flip_VAL1 EFL_FLIP_NONE
5311#endif
5312#ifndef TEST_FUNC_EFL_FLIP_flip_VAL2
5313#define TEST_FUNC_EFL_FLIP_flip_VAL2 EFL_FLIP_HORIZONTAL
5314#endif
5315#ifdef TEST_FUNC_EFL_FLIP_PRE
5316TEST_FUNC_EFL_FLIP_PRE
5317#endif
5318 efl_flip_set(obj, TEST_FUNC_EFL_FLIP_flip_VAL1);
5319 flip = efl_flip_get(obj);
5320 FAIL_IF(efl_flip, (flip != TEST_FUNC_EFL_FLIP_flip_VAL1));
5321 efl_flip_set(obj, TEST_FUNC_EFL_FLIP_flip_VAL2);
5322 flip = efl_flip_get(obj);
5323 FAIL_IF(efl_flip, (flip != TEST_FUNC_EFL_FLIP_flip_VAL2));
5324#ifdef TEST_FUNC_EFL_FLIP_POST
5325TEST_FUNC_EFL_FLIP_POST
5326#endif
5327 }
5328#else
5329TEST_FUNC_EFL_FLIP_OVERRIDE
5330#endif
5331
5332#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM
5333#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM
5334 {
5335 const char * code = NULL;
5336 const char * name = NULL;
5337#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1
5338#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1 NULL
5339#endif
5340#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2
5341#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2 "toto"
5342#endif
5343#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1
5344#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1 NULL
5345#endif
5346#ifndef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2
5347#define TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2 "toto"
5348#endif
5349#ifdef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_PRE
5350TEST_FUNC_EFL_GFX_FILTER_PROGRAM_PRE
5351#endif
5352 efl_gfx_filter_program_set(obj, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1);
5353 efl_gfx_filter_program_get(obj, &code, &name);
5354 FAIL_IF(efl_gfx_filter_program, (STRCMP(code, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL1)) || (STRCMP(name, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL1)));
5355 efl_gfx_filter_program_set(obj, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2);
5356 efl_gfx_filter_program_get(obj, &code, &name);
5357 FAIL_IF(efl_gfx_filter_program, (STRCMP(code, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_code_VAL2)) || (STRCMP(name, TEST_FUNC_EFL_GFX_FILTER_PROGRAM_name_VAL2)));
5358#ifdef TEST_FUNC_EFL_GFX_FILTER_PROGRAM_POST
5359TEST_FUNC_EFL_GFX_FILTER_PROGRAM_POST
5360#endif
5361 }
5362#else
5363TEST_FUNC_EFL_GFX_FILTER_PROGRAM_OVERRIDE
5364#endif
5365
5366#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE
5367#define TEST_FUNC_EFL_GFX_FILTER_STATE
5368 {
5369 const char * cur_state = NULL;
5370 double cur_val;
5371 const char * next_state = NULL;
5372 double next_val;
5373 double pos;
5374#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1
5375#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1 NULL
5376#endif
5377#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2
5378#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2 "toto"
5379#endif
5380#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1
5381#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1 0.0
5382#endif
5383#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2
5384#define TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2 1.0
5385#endif
5386#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1
5387#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1 NULL
5388#endif
5389#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2
5390#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2 "toto"
5391#endif
5392#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1
5393#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1 0.0
5394#endif
5395#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2
5396#define TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2 1.0
5397#endif
5398#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1
5399#define TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1 0.0
5400#endif
5401#ifndef TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2
5402#define TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2 1.0
5403#endif
5404#ifdef TEST_FUNC_EFL_GFX_FILTER_STATE_PRE
5405TEST_FUNC_EFL_GFX_FILTER_STATE_PRE
5406#endif
5407 efl_gfx_filter_state_set(obj, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1, TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1);
5408 efl_gfx_filter_state_get(obj, &cur_state, &cur_val, &next_state, &next_val, &pos);
5409 FAIL_IF(efl_gfx_filter_state, (STRCMP(cur_state, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL1)) || (cur_val != TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL1) || (STRCMP(next_state, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL1)) || (next_val != TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL1) || (pos != TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL1));
5410 efl_gfx_filter_state_set(obj, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2, TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2);
5411 efl_gfx_filter_state_get(obj, &cur_state, &cur_val, &next_state, &next_val, &pos);
5412 FAIL_IF(efl_gfx_filter_state, (STRCMP(cur_state, TEST_FUNC_EFL_GFX_FILTER_STATE_cur_state_VAL2)) || (cur_val != TEST_FUNC_EFL_GFX_FILTER_STATE_cur_val_VAL2) || (STRCMP(next_state, TEST_FUNC_EFL_GFX_FILTER_STATE_next_state_VAL2)) || (next_val != TEST_FUNC_EFL_GFX_FILTER_STATE_next_val_VAL2) || (pos != TEST_FUNC_EFL_GFX_FILTER_STATE_pos_VAL2));
5413#ifdef TEST_FUNC_EFL_GFX_FILTER_STATE_POST
5414TEST_FUNC_EFL_GFX_FILTER_STATE_POST
5415#endif
5416 }
5417#else
5418TEST_FUNC_EFL_GFX_FILTER_STATE_OVERRIDE
5419#endif
5420
5421#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA
5422#define TEST_FUNC_EFL_GFX_FILTER_DATA
5423 {
5424 const char * value = NULL;
5425 Eina_Bool execute;
5426#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1
5427#define TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1 NULL
5428#endif
5429#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2
5430#define TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2 "toto"
5431#endif
5432#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1
5433#define TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1 NULL
5434#endif
5435#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2
5436#define TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2 "toto"
5437#endif
5438#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1
5439#define TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1 EINA_TRUE
5440#endif
5441#ifndef TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2
5442#define TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2 EINA_FALSE
5443#endif
5444#ifdef TEST_FUNC_EFL_GFX_FILTER_DATA_PRE
5445TEST_FUNC_EFL_GFX_FILTER_DATA_PRE
5446#endif
5447 efl_gfx_filter_data_set(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1, TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1);
5448 efl_gfx_filter_data_get(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL1, &value, &execute);
5449 FAIL_IF(efl_gfx_filter_data, (STRCMP(value, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL1)) || (execute != TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL1));
5450 efl_gfx_filter_data_set(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2, TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2);
5451 efl_gfx_filter_data_get(obj, TEST_FUNC_EFL_GFX_FILTER_DATA_name_VAL2, &value, &execute);
5452 FAIL_IF(efl_gfx_filter_data, (STRCMP(value, TEST_FUNC_EFL_GFX_FILTER_DATA_value_VAL2)) || (execute != TEST_FUNC_EFL_GFX_FILTER_DATA_execute_VAL2));
5453#ifdef TEST_FUNC_EFL_GFX_FILTER_DATA_POST
5454TEST_FUNC_EFL_GFX_FILTER_DATA_POST
5455#endif
5456 }
5457#else
5458TEST_FUNC_EFL_GFX_FILTER_DATA_OVERRIDE
5459#endif
5460
5461#ifndef TEST_OBJ_EVAS_IMAGE_DTOR
5462#define TEST_OBJ_EVAS_IMAGE_DTOR eo_del(obj);
5463#endif
5464TEST_OBJ_EVAS_IMAGE_DTOR
5465
5466#ifndef TEST_OBJ_ELM_ICON_CTOR
5467#define TEST_OBJ_ELM_ICON_CTOR obj = eo_add(elm_icon_class_get(), parent);
5468#endif
5469TEST_OBJ_ELM_ICON_CTOR
5470
5471#ifndef TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP
5472#define TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP
5473 {
5474 Elm_Icon_Lookup_Order order;
5475#ifndef TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL1
5476#define TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL1 ELM_ICON_LOOKUP_FDO_THEME
5477#endif
5478#ifndef TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL2
5479#define TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL2 ELM_ICON_LOOKUP_THEME_FDO
5480#endif
5481#ifdef TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_PRE
5482TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_PRE
5483#endif
5484 elm_obj_icon_order_lookup_set(obj, TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL1);
5485 order = elm_obj_icon_order_lookup_get(obj);
5486 FAIL_IF(elm_obj_icon_order_lookup, (order != TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL1));
5487 elm_obj_icon_order_lookup_set(obj, TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL2);
5488 order = elm_obj_icon_order_lookup_get(obj);
5489 FAIL_IF(elm_obj_icon_order_lookup, (order != TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_order_VAL2));
5490#ifdef TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_POST
5491TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_POST
5492#endif
5493 }
5494#else
5495TEST_FUNC_ELM_OBJ_ICON_ORDER_LOOKUP_OVERRIDE
5496#endif
5497
5498#ifndef TEST_FUNC_ELM_OBJ_ICON_STANDARD
5499#define TEST_FUNC_ELM_OBJ_ICON_STANDARD
5500 {
5501 const char * name = NULL;
5502#ifndef TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL1
5503#define TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL1 NULL
5504#endif
5505#ifndef TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL2
5506#define TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL2 "toto"
5507#endif
5508#ifdef TEST_FUNC_ELM_OBJ_ICON_STANDARD_PRE
5509TEST_FUNC_ELM_OBJ_ICON_STANDARD_PRE
5510#endif
5511 elm_obj_icon_standard_set(obj, TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL1);
5512 name = elm_obj_icon_standard_get(obj);
5513 FAIL_IF(elm_obj_icon_standard, (STRCMP(name, TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL1)));
5514 elm_obj_icon_standard_set(obj, TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL2);
5515 name = elm_obj_icon_standard_get(obj);
5516 FAIL_IF(elm_obj_icon_standard, (STRCMP(name, TEST_FUNC_ELM_OBJ_ICON_STANDARD_name_VAL2)));
5517#ifdef TEST_FUNC_ELM_OBJ_ICON_STANDARD_POST
5518TEST_FUNC_ELM_OBJ_ICON_STANDARD_POST
5519#endif
5520 }
5521#else
5522TEST_FUNC_ELM_OBJ_ICON_STANDARD_OVERRIDE
5523#endif
5524
5525#ifndef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE
5526#define TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE
5527 {
5528 Eina_Bool no_scale;
5529#ifndef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL1
5530#define TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL1 EINA_TRUE
5531#endif
5532#ifndef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL2
5533#define TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL2 EINA_FALSE
5534#endif
5535#ifdef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_PRE
5536TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_PRE
5537#endif
5538 elm_obj_image_no_scale_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL1);
5539 no_scale = elm_obj_image_no_scale_get(obj);
5540 FAIL_IF(elm_obj_image_no_scale, (no_scale != TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL1));
5541 elm_obj_image_no_scale_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL2);
5542 no_scale = elm_obj_image_no_scale_get(obj);
5543 FAIL_IF(elm_obj_image_no_scale, (no_scale != TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_no_scale_VAL2));
5544#ifdef TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_POST
5545TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_POST
5546#endif
5547 }
5548#else
5549TEST_FUNC_ELM_OBJ_IMAGE_NO_SCALE_OVERRIDE
5550#endif
5551
5552#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE
5553#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE
5554 {
5555 Eina_Bool fill_inside;
5556#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1
5557#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1 EINA_TRUE
5558#endif
5559#ifndef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2
5560#define TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2 EINA_FALSE
5561#endif
5562#ifdef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_PRE
5563TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_PRE
5564#endif
5565 elm_obj_image_fill_inside_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1);
5566 fill_inside = elm_obj_image_fill_inside_get(obj);
5567 FAIL_IF(elm_obj_image_fill_inside, (fill_inside != TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL1));
5568 elm_obj_image_fill_inside_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2);
5569 fill_inside = elm_obj_image_fill_inside_get(obj);
5570 FAIL_IF(elm_obj_image_fill_inside, (fill_inside != TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_fill_inside_VAL2));
5571#ifdef TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_POST
5572TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_POST
5573#endif
5574 }
5575#else
5576TEST_FUNC_ELM_OBJ_IMAGE_FILL_INSIDE_OVERRIDE
5577#endif
5578
5579#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED
5580#define TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED
5581 {
5582 Eina_Bool fixed;
5583#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1
5584#define TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1 EINA_TRUE
5585#endif
5586#ifndef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2
5587#define TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2 EINA_FALSE
5588#endif
5589#ifdef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_PRE
5590TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_PRE
5591#endif
5592 elm_obj_image_aspect_fixed_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1);
5593 fixed = elm_obj_image_aspect_fixed_get(obj);
5594 FAIL_IF(elm_obj_image_aspect_fixed, (fixed != TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL1));
5595 elm_obj_image_aspect_fixed_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2);
5596 fixed = elm_obj_image_aspect_fixed_get(obj);
5597 FAIL_IF(elm_obj_image_aspect_fixed, (fixed != TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_fixed_VAL2));
5598#ifdef TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_POST
5599TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_POST
5600#endif
5601 }
5602#else
5603TEST_FUNC_ELM_OBJ_IMAGE_ASPECT_FIXED_OVERRIDE
5604#endif
5605
5606#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE
5607#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE
5608 {
5609 Eina_Bool up;
5610 Eina_Bool down;
5611#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL1
5612#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL1 EINA_TRUE
5613#endif
5614#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL2
5615#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL2 EINA_FALSE
5616#endif
5617#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL1
5618#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL1 EINA_TRUE
5619#endif
5620#ifndef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL2
5621#define TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL2 EINA_FALSE
5622#endif
5623#ifdef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_PRE
5624TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_PRE
5625#endif
5626 elm_obj_image_resizable_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL1, TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL1);
5627 elm_obj_image_resizable_get(obj, &up, &down);
5628 FAIL_IF(elm_obj_image_resizable, (up != TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL1) || (down != TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL1));
5629 elm_obj_image_resizable_set(obj, TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL2, TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL2);
5630 elm_obj_image_resizable_get(obj, &up, &down);
5631 FAIL_IF(elm_obj_image_resizable, (up != TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_up_VAL2) || (down != TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_down_VAL2));
5632#ifdef TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_POST
5633TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_POST
5634#endif
5635 }
5636#else
5637TEST_FUNC_ELM_OBJ_IMAGE_RESIZABLE_OVERRIDE
5638#endif
5639
5640#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET
5641#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET
5642 {
5643 Eina_Bool set;
5644#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1
5645#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1 EINA_TRUE
5646#endif
5647#ifndef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2
5648#define TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2 EINA_FALSE
5649#endif
5650#ifdef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_PRE
5651TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_PRE
5652#endif
5653 evas_draggable_interface_drag_target_set(obj, TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1);
5654 set = evas_draggable_interface_drag_target_get(obj);
5655 FAIL_IF(evas_draggable_interface_drag_target, (set != TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL1));
5656 evas_draggable_interface_drag_target_set(obj, TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2);
5657 set = evas_draggable_interface_drag_target_get(obj);
5658 FAIL_IF(evas_draggable_interface_drag_target, (set != TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_set_VAL2));
5659#ifdef TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_POST
5660TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_POST
5661#endif
5662 }
5663#else
5664TEST_FUNC_EVAS_DRAGGABLE_INTERFACE_DRAG_TARGET_OVERRIDE
5665#endif
5666
5667#ifndef TEST_FUNC_EFL_FILE_ASYNC
5668#define TEST_FUNC_EFL_FILE_ASYNC
5669 {
5670 Eina_Bool async;
5671#ifndef TEST_FUNC_EFL_FILE_ASYNC_async_VAL1
5672#define TEST_FUNC_EFL_FILE_ASYNC_async_VAL1 EINA_TRUE
5673#endif
5674#ifndef TEST_FUNC_EFL_FILE_ASYNC_async_VAL2
5675#define TEST_FUNC_EFL_FILE_ASYNC_async_VAL2 EINA_FALSE
5676#endif
5677#ifdef TEST_FUNC_EFL_FILE_ASYNC_PRE
5678TEST_FUNC_EFL_FILE_ASYNC_PRE
5679#endif
5680 efl_file_async_set(obj, TEST_FUNC_EFL_FILE_ASYNC_async_VAL1);
5681 async = efl_file_async_get(obj);
5682 FAIL_IF(efl_file_async, (async != TEST_FUNC_EFL_FILE_ASYNC_async_VAL1));
5683 efl_file_async_set(obj, TEST_FUNC_EFL_FILE_ASYNC_async_VAL2);
5684 async = efl_file_async_get(obj);
5685 FAIL_IF(efl_file_async, (async != TEST_FUNC_EFL_FILE_ASYNC_async_VAL2));
5686#ifdef TEST_FUNC_EFL_FILE_ASYNC_POST
5687TEST_FUNC_EFL_FILE_ASYNC_POST
5688#endif
5689 }
5690#else
5691TEST_FUNC_EFL_FILE_ASYNC_OVERRIDE
5692#endif 5918#endif
5919TEST_OBJ_ELM_DISKSELECTOR_CTOR
5693 5920
5694#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE 5921#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH
5695#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE 5922#define TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH
5696 { 5923 {
5697 int w; 5924 int len;
5698 int h; 5925#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL1
5699#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1 5926#define TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL1 0
5700#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1 0
5701#endif
5702#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2
5703#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2 100
5704#endif
5705#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1
5706#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1 0
5707#endif 5927#endif
5708#ifndef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2 5928#ifndef TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL2
5709#define TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2 100 5929#define TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL2 100
5710#endif 5930#endif
5711#ifdef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_PRE 5931#ifdef TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_PRE
5712TEST_FUNC_EFL_IMAGE_LOAD_SIZE_PRE 5932TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_PRE
5713#endif 5933#endif
5714 efl_image_load_size_set(obj, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1); 5934 elm_obj_diskselector_side_text_max_length_set(obj, TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL1);
5715 efl_image_load_size_get(obj, &w, &h); 5935 len = elm_obj_diskselector_side_text_max_length_get(obj);
5716 FAIL_IF(efl_image_load_size, (w != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL1) || (h != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL1)); 5936 FAIL_IF(elm_obj_diskselector_side_text_max_length, (len != TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL1));
5717 efl_image_load_size_set(obj, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2, TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2); 5937 elm_obj_diskselector_side_text_max_length_set(obj, TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL2);
5718 efl_image_load_size_get(obj, &w, &h); 5938 len = elm_obj_diskselector_side_text_max_length_get(obj);
5719 FAIL_IF(efl_image_load_size, (w != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_w_VAL2) || (h != TEST_FUNC_EFL_IMAGE_LOAD_SIZE_h_VAL2)); 5939 FAIL_IF(elm_obj_diskselector_side_text_max_length, (len != TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_len_VAL2));
5720#ifdef TEST_FUNC_EFL_IMAGE_LOAD_SIZE_POST 5940#ifdef TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_POST
5721TEST_FUNC_EFL_IMAGE_LOAD_SIZE_POST 5941TEST_FUNC_ELM_OBJ_DISKSELECTOR_SIDE_TEXT_MAX_LENGTH_POST
5722#endif 5942#endif
5723 } 5943 }
5724#else 5944#else
5725TEST_FUNC_EFL_IMAGE