summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-08 14:22:54 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commitbd7af3ecfe2257c043368f00ee05fdd1aec4af0b (patch)
tree74daebfb971d71555b4a20b4d24e8d7f54bd7a1a
parent06cf9e6beacacbb5b878794a829f2f98052dc072 (diff)
downloadefl-bd7af3ecfe2257c043368f00ee05fdd1aec4af0b.tar.gz
Edje: fix tests snap
-rw-r--r--src/tests/edje/edje_test_edje.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index 9772128c18..87a0afda62 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -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)