add test cases for ds_tizen_display_policy
[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 ## display-policy tests
89 tc_display_policy_files = [
90   'tc_main.cpp',
91   'tc_display_policy.cpp',
92 ]
93
94 executable('libds-tizen-display-policy-tests',
95   [
96     tc_mock_files,
97     tc_display_policy_files
98   ],
99   dependencies: [
100     deps_test_common,
101     deps_libds_tizen_display_policy,
102     dependency('libdrm', required: true),
103   ],
104   install_dir: libds_tizen_bindir,
105   install : true
106 )