summaryrefslogtreecommitdiff
path: root/src/tests/edje
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-10 15:23:04 +0100
committerTom Hacohen <tom@stosb.com>2016-08-11 17:04:43 +0100
commitc662934be8bcbaba60d1688e77533acbea5d09b9 (patch)
tree8e12b5ffd083024f09b7ec7fa9f979113056fb9d /src/tests/edje
parente64e120a51972c44fb8cae88a78bb4aa34f502c7 (diff)
Change the EFL to follow the new Eo rename.
Diffstat (limited to 'src/tests/edje')
-rw-r--r--src/tests/edje/edje_test_edje.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index 1a62a8d..00f989b 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -363,19 +363,19 @@ START_TEST(edje_test_swallows)
363 363
364 o1 = eo_add(EDJE_OBJECT_CLASS, ly); 364 o1 = eo_add(EDJE_OBJECT_CLASS, ly);
365 fail_if(!edje_object_part_swallow(ly, "swallow", o1)); 365 fail_if(!edje_object_part_swallow(ly, "swallow", o1));
366 ck_assert_ptr_eq(eo_parent_get(o1), ly); 366 ck_assert_ptr_eq(efl_parent_get(o1), ly);
367 367
368 edje_object_part_unswallow(ly, o1); 368 edje_object_part_unswallow(ly, o1);
369 ck_assert_ptr_eq(eo_parent_get(o1), evas_object_evas_get(o1)); 369 ck_assert_ptr_eq(efl_parent_get(o1), evas_object_evas_get(o1));
370 370
371 fail_if(!edje_object_part_swallow(ly, "swallow", o1)); 371 fail_if(!edje_object_part_swallow(ly, "swallow", o1));
372 ck_assert_ptr_eq(eo_parent_get(o1), ly); 372 ck_assert_ptr_eq(efl_parent_get(o1), ly);
373 373
374 o2 = eo_add(EDJE_OBJECT_CLASS, ly); 374 o2 = eo_add(EDJE_OBJECT_CLASS, ly);
375 fail_if(!edje_object_part_swallow(ly, "swallow", o2)); 375 fail_if(!edje_object_part_swallow(ly, "swallow", o2));
376 ck_assert_ptr_eq(eo_parent_get(o2), ly); 376 ck_assert_ptr_eq(efl_parent_get(o2), ly);
377 /* o1 is deleted at this point. */ 377 /* o1 is deleted at this point. */
378 ck_assert_ptr_eq(eo_parent_get(o1), evas_object_evas_get(o1)); 378 ck_assert_ptr_eq(efl_parent_get(o1), evas_object_evas_get(o1));
379 379
380 EDJE_TEST_FREE_EVAS(); 380 EDJE_TEST_FREE_EVAS();
381} 381}
@@ -394,19 +394,19 @@ START_TEST(edje_test_swallows_eoapi)
394 394
395 o1 = eo_add(EDJE_OBJECT_CLASS, ly); 395 o1 = eo_add(EDJE_OBJECT_CLASS, ly);
396 fail_if(!efl_content_set(efl_part(ly, "swallow"), o1)); 396 fail_if(!efl_content_set(efl_part(ly, "swallow"), o1));
397 ck_assert_ptr_eq(eo_parent_get(o1), ly); 397 ck_assert_ptr_eq(efl_parent_get(o1), ly);
398 398
399 efl_content_remove(ly, o1); 399 efl_content_remove(ly, o1);
400 ck_assert_ptr_eq(eo_parent_get(o1), evas_object_evas_get(o1)); 400 ck_assert_ptr_eq(efl_parent_get(o1), evas_object_evas_get(o1));
401 401
402 fail_if(!efl_content_set(efl_part(ly, "swallow"), o1)); 402 fail_if(!efl_content_set(efl_part(ly, "swallow"), o1));
403 ck_assert_ptr_eq(eo_parent_get(o1), ly); 403 ck_assert_ptr_eq(efl_parent_get(o1), ly);
404 404
405 o2 = eo_add(EDJE_OBJECT_CLASS, ly); 405 o2 = eo_add(EDJE_OBJECT_CLASS, ly);
406 fail_if(!efl_content_set(efl_part(ly, "swallow"), o2)); 406 fail_if(!efl_content_set(efl_part(ly, "swallow"), o2));
407 ck_assert_ptr_eq(eo_parent_get(o2), ly); 407 ck_assert_ptr_eq(efl_parent_get(o2), ly);
408 /* o1 is deleted at this point. */ 408 /* o1 is deleted at this point. */
409 ck_assert_ptr_eq(eo_parent_get(o1), evas_object_evas_get(o1)); 409 ck_assert_ptr_eq(efl_parent_get(o1), evas_object_evas_get(o1));
410 410
411 EDJE_TEST_FREE_EVAS(); 411 EDJE_TEST_FREE_EVAS();
412} 412}
@@ -705,7 +705,7 @@ START_TEST(edje_test_table_eoapi)
705 fail_if(!efl_pack_clear(proxy)); 705 fail_if(!efl_pack_clear(proxy));
706 fail_if(efl_content_count(efl_part(obj, "table2")) != 1); 706 fail_if(efl_content_count(efl_part(obj, "table2")) != 1);
707 fail_if(efl_content_count(proxy) != 4); 707 fail_if(efl_content_count(proxy) != 4);
708 eo_del(proxy); 708 efl_del(proxy);
709 709
710 EDJE_TEST_FREE_EVAS(); 710 EDJE_TEST_FREE_EVAS();
711} 711}