summaryrefslogtreecommitdiff
path: root/src/tests/elementary/efl_ui_test_box_flow.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-06-12 08:54:20 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-12 08:54:20 -0400
commitab7c48de757c6497f8083edcb6888a51c832c902 (patch)
treeda372eee7080fc1cb1aa12fd3795a4b5caabb40e /src/tests/elementary/efl_ui_test_box_flow.c
parent0d158900b4e8db7eac6d84e46e0955456351c9f7 (diff)
tests/efl_ui: remove unnecessary shutdown fixture code
Summary: this is automatically handled by elm_shutdown at the end of every test Reviewers: YOhoho Reviewed By: YOhoho Subscribers: YOhoho, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9087
Diffstat (limited to 'src/tests/elementary/efl_ui_test_box_flow.c')
-rw-r--r--src/tests/elementary/efl_ui_test_box_flow.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/tests/elementary/efl_ui_test_box_flow.c b/src/tests/elementary/efl_ui_test_box_flow.c
index 299acca..121e673 100644
--- a/src/tests/elementary/efl_ui_test_box_flow.c
+++ b/src/tests/elementary/efl_ui_test_box_flow.c
@@ -228,16 +228,6 @@ layout_setup()
228 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL)); 228 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));
229} 229}
230 230
231static void
232layout_teardown()
233{
234 if (win)
235 {
236 efl_del(win);
237 win = NULL;
238 }
239}
240
241EFL_START_TEST (efl_ui_box_flow_class_check) 231EFL_START_TEST (efl_ui_box_flow_class_check)
242{ 232{
243 const char *class; 233 const char *class;
@@ -408,7 +398,7 @@ EFL_END_TEST
408 398
409void efl_ui_test_box_flow(TCase *tc) 399void efl_ui_test_box_flow(TCase *tc)
410{ 400{
411 tcase_add_checked_fixture(tc, layout_setup, layout_teardown); 401 tcase_add_checked_fixture(tc, layout_setup, NULL);
412 tcase_add_test(tc, efl_ui_box_flow_class_check); 402 tcase_add_test(tc, efl_ui_box_flow_class_check);
413 tcase_add_test(tc, efl_ui_box_flow_layout_update); 403 tcase_add_test(tc, efl_ui_box_flow_layout_update);
414 tcase_add_test(tc, efl_ui_box_flow_layout_update_pack); 404 tcase_add_test(tc, efl_ui_box_flow_layout_update_pack);