change wl_signal_emit_mutable into wl_signal_emit
[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 )
249
250 ## input method tests
251 tc_input_method_manager_files = [
252   'tc_main.cpp',
253   'tc_input_method_manager.cpp',
254 ]
255
256 executable('libds-tizen-input-method-manager-tests',
257   [
258     tc_mock_files,
259     tc_input_method_manager_files
260   ],
261   dependencies: [
262     deps_test_common,
263     deps_libds_tizen_input_method,
264   ],
265   install_dir: libds_tizen_bindir,
266   install : true
267 )
268
269 ## text input tests
270 tc_text_input_files = [
271   'tc_main.cpp',
272   'tc_text_input.cpp',
273 ]
274
275 executable('libds-tizen-text-input-tests',
276   [
277     tc_mock_files,
278     tc_text_input_files
279   ],
280   dependencies: [
281     deps_test_common,
282     deps_libds_tizen_text_input,
283   ],
284   install_dir: libds_tizen_bindir,
285   install : true
286 )
287
288 ## hwc tests
289 tc_hwc_files = [
290   'tc_main.cpp',
291   'tc_hwc.cpp',
292 ]
293
294 executable('libds-tizen-hwc-tests',
295   [
296     tc_mock_files,
297     tc_hwc_files
298   ],
299   dependencies: [
300     deps_test_common,
301     deps_libds_tizen_hwc,
302     dependency('tizen-hwc-client', required: true),
303   ],
304   install_dir: libds_tizen_bindir,
305   install : true
306 )
307
308 ## policy tests
309 tc_policy_files = [
310   'tc_main.cpp',
311   'tc_policy.cpp',
312 ]
313
314 executable('libds-tizen-policy-tests',
315   [
316     tc_mock_files,
317     tc_policy_files
318   ],
319   dependencies: [
320     deps_test_common,
321     deps_libds_tizen_policy,
322     dependency('tizen-extension-client', required: true),
323   ],
324   install_dir: libds_tizen_bindir,
325   install : true
326 )
327
328 ## screenshooter-compositor tests
329 tc_screenshooter_files = [
330   'tc_main.cpp',
331   'tc_screenshooter.cpp',
332 ]
333
334 executable('libds-tizen-screenshooter-tests',
335   [
336     tc_mock_files,
337     tc_screenshooter_files
338   ],
339   dependencies: [
340     deps_test_common,
341     deps_libds_tizen_screenshooter,
342     dependency('tizen-extension-client', required: true),
343   ],
344   install_dir: libds_tizen_bindir,
345   install : true
346 )
347
348 tc_scaler_files = [
349   'tc_main.cpp',
350   'tc_scaler.cpp',
351 ]
352
353 executable('libds-tizen-scaler-tests',
354   [
355     tc_mock_files,
356     tc_scaler_files
357   ],
358   dependencies: [
359     deps_test_common,
360     deps_libds_tizen_scaler,
361     dependency('scaler-client', required: true),
362   ],
363   install_dir: libds_tizen_bindir,
364   install : true
365 )
366
367 tc_video_files = [
368   'tc_main.cpp',
369   'tc_video.cpp',
370 ]
371
372 executable('libds-tizen-video-tests',
373   [
374     tc_mock_files,
375     tc_video_files
376   ],
377   dependencies: [
378     deps_test_common,
379     deps_libds_tizen_video,
380     dependency('tizen-extension-client', required: true),
381     dependency('libdrm', required: true),
382   ],
383   install_dir: libds_tizen_bindir,
384   install : true
385 )
386
387 tc_remote_surface_files = [
388   'tc_main.cpp',
389   'tc_remote_surface.cpp',
390 ]
391
392 executable('libds-tizen-remote-surface-tests',
393   [
394     tc_mock_files,
395     tc_remote_surface_files
396   ],
397   dependencies: [
398     deps_test_common,
399     deps_libds_tizen_remote_surface,
400     dependency('tizen-remote-surface-client', required: true),
401   ],
402   install_dir: libds_tizen_bindir,
403   install : true
404 )