aboutsummaryrefslogtreecommitdiffstats
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
parentRemove EOLIAN_TESTS_EOS_GENERATED (diff)
downloadefl-588830280f081e1ff0ae6a5c33d1d83ec7e481ce.tar.gz
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
-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 dc04c1b0b2..bce0989399 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)
fail_unless(edje_object_part_exists(ly, "swallow"));
- o1 = edje_object_add(ly);
+ o1 = edje_object_add(evas);
fail_if(!edje_object_part_swallow(ly, "swallow", o1));
evas_object_del(ly);
@@ -80,7 +80,7 @@ EFL_START_TEST(edje_test_swallows_invalidate)
fail_unless(edje_object_part_exists(ly, "swallow"));
- o1 = edje_object_add(ly);
+ o1 = edje_object_add(evas);
fail_if(!edje_object_part_swallow(ly, "swallow", o1));
evas_object_event_callback_add(ly, EVAS_CALLBACK_DEL, edje_test_swallows_invalidate_del, o1);