summaryrefslogtreecommitdiff
path: root/src/tests/edje/edje_test_edje.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-05-24 18:14:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-05-24 18:50:58 +0900
commit35fc3f5130197ca1b32d7aa900fe5ac98fe95a21 (patch)
treebe302fb9fabd44e5baeac4e06816afd1edf91d92 /src/tests/edje/edje_test_edje.c
parentba43e12722bcdaef38ceb82fcd7eada7802ff11d (diff)
Edje: Test proxy objects more
This tests that a cached object is not reused invalidly if it was ref'ed.
Diffstat (limited to '')
-rw-r--r--src/tests/edje/edje_test_edje.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index 38a76ac6ff..97d395461a 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -701,8 +701,10 @@ START_TEST(edje_test_table_eoapi)
701 proxy = eo_ref(efl_part(obj, "table")); 701 proxy = eo_ref(efl_part(obj, "table"));
702 fail_if(!proxy); 702 fail_if(!proxy);
703 fail_if(!efl_pack_clear(proxy)); 703 fail_if(!efl_pack_clear(proxy));
704 fail_if(efl_content_count(efl_part(obj, "table")) != 4);
704 fail_if(!efl_pack_clear(proxy)); 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);
707 fail_if(efl_content_count(proxy) != 4);
706 eo_unref(proxy); 708 eo_unref(proxy);
707 709
708 EDJE_TEST_FREE_EVAS(); 710 EDJE_TEST_FREE_EVAS();