tests: add coverage for efl_parent_set with invalidated parent object

this hits a codepath which was otherwise never triggered by unit tests
This commit is contained in:
Mike Blumenkrantz 2018-06-19 15:19:29 -04:00
parent 392668bdfb
commit f4a55e9266
1 changed files with 2 additions and 0 deletions

View File

@ -667,6 +667,8 @@ EFL_START_TEST(efl_refs)
fail_if(!efl_invalidated_get(obj2));
fail_if(!efl_invalidated_get(obj3));
efl_parent_set(obj2, obj3);
efl_unref(obj);
efl_unref(obj2);
efl_unref(obj3);