summaryrefslogtreecommitdiff
path: root/src/tests/ecore_wl2/ecore_wl2_tests_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ecore_wl2/ecore_wl2_tests_helpers.h')
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_tests_helpers.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_tests_helpers.h b/src/tests/ecore_wl2/ecore_wl2_tests_helpers.h
index 24175a505a..e06cea7859 100644
--- a/src/tests/ecore_wl2/ecore_wl2_tests_helpers.h
+++ b/src/tests/ecore_wl2/ecore_wl2_tests_helpers.h
@@ -4,6 +4,7 @@
4# include <Ecore_Wl2.h> 4# include <Ecore_Wl2.h>
5 5
6# define ECORE_WL2_TEST_DISPLAY_SETUP() _setup_display() 6# define ECORE_WL2_TEST_DISPLAY_SETUP() _setup_display()
7# define ECORE_WL2_TEST_DISPLAY_CONNECT() _connect_display()
7 8
8static Ecore_Wl2_Display * 9static Ecore_Wl2_Display *
9_setup_display(void) 10_setup_display(void)
@@ -14,4 +15,13 @@ _setup_display(void)
14 return disp; 15 return disp;
15} 16}
16 17
18static Ecore_Wl2_Display *
19_connect_display(void)
20{
21 Ecore_Wl2_Display *disp;
22
23 disp = ecore_wl2_display_connect(NULL);
24 return disp;
25}
26
17#endif 27#endif