forked from enlightenment/efl
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
This commit is contained in:
parent
586cc70cba
commit
588830280f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue