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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/edje/edje_test_edje.c b/src/tests/edje/edje_test_edje.c
index c47dccb693..3ea0a34acf 100644
--- a/src/tests/edje/edje_test_edje.c
+++ b/src/tests/edje/edje_test_edje.c
@@ -151,8 +151,14 @@ START_TEST(edje_test_calculate_parens)
151 int x, y, w, h; 151 int x, y, w, h;
152 Evas *evas = EDJE_TEST_INIT_EVAS(); 152 Evas *evas = EDJE_TEST_INIT_EVAS();
153 Evas_Object *obj; 153 Evas_Object *obj;
154 Eina_Rect rect;
154 155
155 obj = edje_object_add(evas); 156 obj = edje_object_add(evas);
157
158 /* A negative test case for efl_canvas_layout_calc_parts_extends */
159 rect = efl_canvas_layout_calc_parts_extends(obj);
160 fail_if(rect.w < 0 || rect.h < 0);
161
156 fail_unless(edje_object_file_set(obj, test_layout_get("test_parens.edj"), "test_group")); 162 fail_unless(edje_object_file_set(obj, test_layout_get("test_parens.edj"), "test_group"));
157 163
158 evas_object_resize(obj, 100, 100); 164 evas_object_resize(obj, 100, 100);