Edje: fix tests snap

This commit is contained in:
Jean-Philippe Andre 2016-03-08 14:22:54 +09:00
parent 06cf9e6bea
commit bd7af3ecfe
1 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,8 @@ START_TEST(edje_test_snapshot)
/* check value of no_render flag as seen from evas land */
sub = edje_object_part_object_get(obj, "snap");
fail_if(!eo_isa(sub, EFL_CANVAS_SNAPSHOT_CLASS));
fail_if(!eo_isa(sub, EFL_CANVAS_SNAPSHOT_CLASS) &&
!evas_object_image_snapshot_get(sub));
// TODO: Verify that evas snapshot actually works (and has a filter)