input_method: implement zwp_input_method and context
[platform/core/uifw/libds-tizen.git] / tests / meson.build
1 deps_test_common = [
2   deps_libds_tizen,
3   dependency('gmock', required: true),
4   dependency('wayland-client', required: true),
5 ]
6
7 tc_mock_files = [
8   'mockclient.cpp',
9   'mockcompositor.cpp'
10 ]
11
12 ## allcoator_tbm tests
13 tc_allocator_tbm_files = [
14   'tc_main.cpp',
15   'tc_allocator_tbm.cpp',
16 ]
17
18 executable('libds-tizen-allocator-tbm-tests',
19   tc_allocator_tbm_files,
20   dependencies: [
21     deps_test_common,
22     deps_libds_tizen_allocator_tbm,
23     dependency('libdrm', required: true),
24   ],
25   install_dir: libds_tizen_bindir,
26   install : true
27 )
28
29 ## indicator tests
30 tc_indicator_files = [
31   'tc_main.cpp',
32   'tc_indicator.cpp',
33 ]
34
35 executable('libds-tizen-indicator-tests',
36   [
37     tc_mock_files,
38     tc_indicator_files
39   ],
40   dependencies: [
41     deps_test_common,
42     deps_libds_tizen_indicator,
43     dependency('libdrm', required: true),
44   ],
45   install_dir: libds_tizen_bindir,
46   install : true
47 )
48
49 ## clipboard tests
50 tc_clipboard_files = [
51   'tc_main.cpp',
52   'tc_clipboard.cpp',
53 ]
54
55 executable('libds-tizen-clipboard-tests',
56   [
57     tc_mock_files,
58     tc_clipboard_files
59   ],
60   dependencies: [
61     deps_test_common,
62     deps_libds_tizen_clipboard,
63     dependency('libdrm', required: true),
64   ],
65   install_dir: libds_tizen_bindir,
66   install : true
67 )
68
69 ## appinfo tests
70 tc_launch_appinfo_files = [
71   'tc_main.cpp',
72   'tc_launch_appinfo.cpp',
73 ]
74
75 executable('libds-tizen-launch-appinfo-tests',
76   [
77     tc_mock_files,
78     tc_launch_appinfo_files
79   ],
80   dependencies: [
81     deps_test_common,
82     deps_libds_tizen_launch,
83   ],
84   install_dir: libds_tizen_bindir,
85   install : true
86 )
87
88 ## launch effect tests
89 tc_launch_effect_files = [
90   'tc_main.cpp',
91   'tc_launch_effect.cpp',
92 ]
93
94 executable('libds-tizen-launch-effect-tests',
95   [
96     tc_mock_files,
97     tc_launch_effect_files
98   ],
99   dependencies: [
100     deps_test_common,
101     deps_libds_tizen_launch,
102   ],
103   install_dir: libds_tizen_bindir,
104   install : true
105 )
106
107 ## display-policy tests
108 tc_display_policy_files = [
109   'tc_main.cpp',
110   'tc_display_policy.cpp',
111 ]
112
113 executable('libds-tizen-display-policy-tests',
114   [
115     tc_mock_files,
116     tc_display_policy_files
117   ],
118   dependencies: [
119     deps_test_common,
120     deps_libds_tizen_display_policy,
121     dependency('libdrm', required: true),
122   ],
123   install_dir: libds_tizen_bindir,
124   install : true
125 )
126
127 ## memory-flusher tests
128 tc_memory_flusher_files = [
129   'tc_main.cpp',
130   'tc_memory_flusher.cpp',
131 ]
132
133 executable('libds-tizen-memory-flusher-tests',
134   [
135     tc_mock_files,
136     tc_memory_flusher_files
137   ],
138   dependencies: [
139     deps_test_common,
140     deps_libds_tizen_memory_flusher,
141     dependency('libdrm', required: true),
142     dependency('tizen-surface-client', required: true),
143   ],
144   install_dir: libds_tizen_bindir,
145   install : true
146 )
147
148 ## renderer tests
149 tc_renderer_files = [
150   'tc_main.cpp',
151   'tc_renderer.cpp',
152 ]
153
154 executable('libds-tizen-renderer-tests',
155   [
156     tc_mock_files,
157     tc_renderer_files
158   ],
159   dependencies: [
160     deps_test_common,
161     deps_libds_tizen_renderer,
162     dependency('libdrm', required: true),
163     dependency('tizen-extension-client', required: true),
164   ],
165   install_dir: libds_tizen_bindir,
166   install : true
167 )
168
169 ## screen-rotation tests
170 tc_screen_rotation_files = [
171   'tc_main.cpp',
172   'tc_screen_rotation.cpp',
173 ]
174
175 executable('libds-tizen-screen-rotation-tests',
176   [
177     tc_mock_files,
178     tc_screen_rotation_files
179   ],
180   dependencies: [
181     deps_test_common,
182     deps_libds_tizen_screen_rotation,
183     dependency('libdrm', required: true),
184     dependency('tizen-extension-client', required: true),
185   ],
186   install_dir: libds_tizen_bindir,
187   install : true
188 )
189
190 ## global-resource tests
191 tc_global_resource_files = [
192   'tc_main.cpp',
193   'tc_global_resource.cpp',
194 ]
195
196 executable('libds-tizen-global-resource-tests',
197   [
198     tc_mock_files,
199     tc_global_resource_files
200   ],
201   dependencies: [
202     deps_test_common,
203     deps_libds_tizen_global_resource,
204     dependency('libdrm', required: true),
205     dependency('tizen-extension-client', required: true),
206   ],
207   install_dir: libds_tizen_bindir,
208   install : true
209 )
210
211 ## embedded-compositor tests
212 tc_embedded_compositor_files = [
213   'tc_main.cpp',
214   'tc_embedded_compositor.cpp',
215 ]
216
217 executable('libds-tizen-embedded-compositor-tests',
218   [
219     tc_mock_files,
220     tc_embedded_compositor_files
221   ],
222   dependencies: [
223     deps_test_common,
224     deps_libds_tizen_embedded_compositor,
225     dependency('tizen-extension-client', required: true),
226   ],
227   install_dir: libds_tizen_bindir,
228   install : true
229 )
230
231 ## input method tests
232 tc_input_method_files = [
233   'tc_main.cpp',
234   'tc_input_method.cpp',
235 ]
236
237 executable('libds-tizen-input-method-tests',
238   [
239     tc_mock_files,
240     tc_input_method_files
241   ],
242   dependencies: [
243     deps_test_common,
244     deps_libds_tizen_input_method,
245   ],
246   install_dir: libds_tizen_bindir,
247   install : true
248 )