summaryrefslogtreecommitdiff
path: root/src/tests/edje/edje_test_edje.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/edje/edje_test_edje.c')
-rw-r--r--src/tests/edje/edje_test_edje.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index b406bad..e28329f 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -192,15 +192,15 @@ START_TEST(edje_test_masking)
192 192
193 /* check value of no_render flag as seen from evas land */ 193 /* check value of no_render flag as seen from evas land */
194 sub = edje_object_part_object_get(obj, "mask"); 194 sub = edje_object_part_object_get(obj, "mask");
195 fail_if(!eo_do_ret(sub, b, evas_obj_no_render_get())); 195 fail_if(!evas_obj_no_render_get(sub));
196 196
197 /* check that text has a clip (based on description.clip_to) */ 197 /* check that text has a clip (based on description.clip_to) */
198 sub = edje_object_part_object_get(obj, "text"); 198 sub = edje_object_part_object_get(obj, "text");
199 fail_if(!eo_do_ret(sub, clip2, evas_obj_clip_get())); 199 fail_if(!evas_obj_clip_get(sub));
200 200
201 /* test description.clip_to override */ 201 /* test description.clip_to override */
202 sub = edje_object_part_object_get(obj, "noclip"); 202 sub = edje_object_part_object_get(obj, "noclip");
203 clip2 = eo_do_ret(sub, clip2, evas_obj_clip_get()); 203 clip2 = evas_obj_clip_get(sub);
204 fail_if(clip != clip2); 204 fail_if(clip != clip2);
205 205
206 EDJE_TEST_FREE_EVAS(); 206 EDJE_TEST_FREE_EVAS();
@@ -224,23 +224,23 @@ START_TEST(edje_test_filters)
224 224
225 /* check value of no_render flag as seen from evas land */ 225 /* check value of no_render flag as seen from evas land */
226 sub = edje_object_part_object_get(obj, "mask"); 226 sub = edje_object_part_object_get(obj, "mask");
227 fail_if(!eo_do_ret(sub, b, evas_obj_no_render_get())); 227 fail_if(!evas_obj_no_render_get(sub));
228 228
229 /* check no_render inheritance */ 229 /* check no_render inheritance */
230 sub = edje_object_part_object_get(obj, "mask2"); 230 sub = edje_object_part_object_get(obj, "mask2");
231 fail_if(eo_do_ret(sub, b, evas_obj_no_render_get())); 231 fail_if(evas_obj_no_render_get(sub));
232 sub = edje_object_part_object_get(obj, "mask3"); 232 sub = edje_object_part_object_get(obj, "mask3");
233 fail_if(!eo_do_ret(sub, b, evas_obj_no_render_get())); 233 fail_if(!evas_obj_no_render_get(sub));
234 234
235 /* text part: check filter status */ 235 /* text part: check filter status */
236 text = edje_object_part_object_get(obj, "text"); 236 text = edje_object_part_object_get(obj, "text");
237 fail_if(!text); 237 fail_if(!text);
238 238
239 eo_do(text, efl_gfx_filter_program_get(&prg, &name)); 239 efl_gfx_filter_program_get(text, &prg, &name);
240 fail_if(!prg); 240 fail_if(!prg);
241 fail_if(!name || strcmp(name, "filterfile")); 241 fail_if(!name || strcmp(name, "filterfile"));
242 242
243 eo_do(text, src = efl_gfx_filter_source_get("mask")); 243 src = efl_gfx_filter_source_get(text, "mask");
244 fail_if(!src); 244 fail_if(!src);
245 245
246 // TODO: Verify properly that the filter runs well 246 // TODO: Verify properly that the filter runs well
@@ -265,7 +265,7 @@ START_TEST(edje_test_snapshot)
265 265
266 /* check value of no_render flag as seen from evas land */ 266 /* check value of no_render flag as seen from evas land */
267 sub = edje_object_part_object_get(obj, "snap"); 267 sub = edje_object_part_object_get(obj, "snap");
268 fail_if(!eo_do_ret(sub, b, evas_obj_image_snapshot_get())); 268 fail_if(!evas_obj_image_snapshot_get(sub));
269 269
270 // TODO: Verify that evas snapshot actually works (and has a filter) 270 // TODO: Verify that evas snapshot actually works (and has a filter)
271 271