summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-20 15:28:37 +0200
committerCedric BAIL <cedric.bail@free.fr>2019-08-21 12:53:05 -0700
commitab4a628490b508815f380c8b9069f1d870cdf9a5 (patch)
tree634e27e3ba5334ced2340775a8ddf24658be9ce3 /src/tests
parent0498a4bfc84f3cf1521467e8abe77f9e30136c7e (diff)
efl_ui_spec_suite: that fixture is unneeded
items are already getting added from the fixture added for the single selectable interface Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9659
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/spec/efl_test_multi_selectable.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/tests/elementary/spec/efl_test_multi_selectable.c b/src/tests/elementary/spec/efl_test_multi_selectable.c
index 38c9a9a59e..94a55749a0 100644
--- a/src/tests/elementary/spec/efl_test_multi_selectable.c
+++ b/src/tests/elementary/spec/efl_test_multi_selectable.c
@@ -17,19 +17,6 @@
17 17
18 spec-meta-end */ 18 spec-meta-end */
19 19
20
21static void
22_setup(void)
23{
24 Eo *c[3];
25
26 for (int i = 0; i < 3; ++i)
27 {
28 c[i] = create_test_widget();
29 efl_pack_end(widget, c[i]);
30 }
31}
32
33static void 20static void
34_set_pointer_quit(void *data, const Efl_Event *ev) 21_set_pointer_quit(void *data, const Efl_Event *ev)
35{ 22{
@@ -229,7 +216,7 @@ EFL_END_TEST
229void 216void
230efl_ui_multi_selectable_behavior_test(TCase *tc) 217efl_ui_multi_selectable_behavior_test(TCase *tc)
231{ 218{
232 tcase_add_checked_fixture(tc, _setup, NULL); 219 //Items are getting added by the fixture added in efl_ui_single_selectable_behavior_test
233 tcase_add_test(tc, test_multi_select); 220 tcase_add_test(tc, test_multi_select);
234 tcase_add_test(tc, test_multi_select_removal); 221 tcase_add_test(tc, test_multi_select_removal);
235 tcase_add_test(tc, test_single_select); 222 tcase_add_test(tc, test_single_select);