summaryrefslogtreecommitdiff
path: root/src/tests/edje
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-16 19:47:32 +0100
committerAlastair Poole <netstar@gmail.com>2018-08-16 19:47:32 +0100
commit588830280f081e1ff0ae6a5c33d1d83ec7e481ce (patch)
tree8ea353d811038fe7ae6dc8ad7d04ed3c4ad1446b /src/tests/edje
parent586cc70cbaee83b4319eb8c9bd11ace4e9133a90 (diff)
tests/edje: fix object parenting for swallow tests
Summary: recent safety check patches exposed issues here where tests were incorrectly written to pass evas objects as edje object parents, resulting in new test failures after this began to be detected and treated as an error Reviewers: netstar Reviewed By: netstar Subscribers: netstar, cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D6851
Diffstat (limited to 'src/tests/edje')
-rw-r--r--src/tests/edje/edje_test_swallow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/edje/edje_test_swallow.c b/src/tests/edje/edje_test_swallow.c
index dc04c1b..bce0989 100644
--- a/src/tests/edje/edje_test_swallow.c
+++ b/src/tests/edje/edje_test_swallow.c
@@ -54,7 +54,7 @@ EFL_START_TEST(edje_test_swallows_lifetime)
54 54
55 fail_unless(edje_object_part_exists(ly, "swallow")); 55 fail_unless(edje_object_part_exists(ly, "swallow"));
56 56
57 o1 = edje_object_add(ly); 57 o1 = edje_object_add(evas);
58 fail_if(!edje_object_part_swallow(ly, "swallow", o1)); 58 fail_if(!edje_object_part_swallow(ly, "swallow", o1));
59 59
60 evas_object_del(ly); 60 evas_object_del(ly);
@@ -80,7 +80,7 @@ EFL_START_TEST(edje_test_swallows_invalidate)
80 80
81 fail_unless(edje_object_part_exists(ly, "swallow")); 81 fail_unless(edje_object_part_exists(ly, "swallow"));
82 82
83 o1 = edje_object_add(ly); 83 o1 = edje_object_add(evas);
84 fail_if(!edje_object_part_swallow(ly, "swallow", o1)); 84 fail_if(!edje_object_part_swallow(ly, "swallow", o1));
85 85
86 evas_object_event_callback_add(ly, EVAS_CALLBACK_DEL, edje_test_swallows_invalidate_del, o1); 86 evas_object_event_callback_add(ly, EVAS_CALLBACK_DEL, edje_test_swallows_invalidate_del, o1);