deps_test_common = [ deps_libds_tizen, dependency('gmock', required: true), dependency('wayland-client', required: true), ] tc_mock_files = [ 'mockclient.cpp', 'mockcompositor.cpp' ] ## allcoator_tbm tests tc_allocator_tbm_files = [ 'tc_main.cpp', 'tc_allocator_tbm.cpp', ] executable('libds-tizen-allocator-tbm-tests', tc_allocator_tbm_files, dependencies: [ deps_test_common, deps_libds_tizen_allocator_tbm, dependency('libdrm', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## indicator tests tc_indicator_files = [ 'tc_main.cpp', 'tc_indicator.cpp', ] executable('libds-tizen-indicator-tests', [ tc_mock_files, tc_indicator_files ], dependencies: [ deps_test_common, deps_libds_tizen_indicator, dependency('libdrm', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## clipboard tests tc_clipboard_files = [ 'tc_main.cpp', 'tc_clipboard.cpp', ] executable('libds-tizen-clipboard-tests', [ tc_mock_files, tc_clipboard_files ], dependencies: [ deps_test_common, deps_libds_tizen_clipboard, dependency('libdrm', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## appinfo tests tc_launch_appinfo_files = [ 'tc_main.cpp', 'tc_launch_appinfo.cpp', ] executable('libds-tizen-launch-appinfo-tests', [ tc_mock_files, tc_launch_appinfo_files ], dependencies: [ deps_test_common, deps_libds_tizen_launch, ], install_dir: libds_tizen_bindir, install : true ) ## launch effect tests tc_launch_effect_files = [ 'tc_main.cpp', 'tc_launch_effect.cpp', ] executable('libds-tizen-launch-effect-tests', [ tc_mock_files, tc_launch_effect_files ], dependencies: [ deps_test_common, deps_libds_tizen_launch, ], install_dir: libds_tizen_bindir, install : true ) ## display-policy tests tc_display_policy_files = [ 'tc_main.cpp', 'tc_display_policy.cpp', ] executable('libds-tizen-display-policy-tests', [ tc_mock_files, tc_display_policy_files ], dependencies: [ deps_test_common, deps_libds_tizen_display_policy, dependency('libdrm', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## memory-flusher tests tc_memory_flusher_files = [ 'tc_main.cpp', 'tc_memory_flusher.cpp', ] executable('libds-tizen-memory-flusher-tests', [ tc_mock_files, tc_memory_flusher_files ], dependencies: [ deps_test_common, deps_libds_tizen_memory_flusher, dependency('libdrm', required: true), dependency('tizen-surface-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## renderer tests tc_renderer_files = [ 'tc_main.cpp', 'tc_renderer.cpp', ] executable('libds-tizen-renderer-tests', [ tc_mock_files, tc_renderer_files ], dependencies: [ deps_test_common, deps_libds_tizen_renderer, dependency('libdrm', required: true), dependency('tizen-extension-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## screen-rotation tests tc_screen_rotation_files = [ 'tc_main.cpp', 'tc_screen_rotation.cpp', ] executable('libds-tizen-screen-rotation-tests', [ tc_mock_files, tc_screen_rotation_files ], dependencies: [ deps_test_common, deps_libds_tizen_screen_rotation, dependency('libdrm', required: true), dependency('tizen-extension-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## global-resource tests tc_global_resource_files = [ 'tc_main.cpp', 'tc_global_resource.cpp', ] executable('libds-tizen-global-resource-tests', [ tc_mock_files, tc_global_resource_files ], dependencies: [ deps_test_common, deps_libds_tizen_global_resource, dependency('libdrm', required: true), dependency('tizen-extension-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## embedded-compositor tests tc_embedded_compositor_files = [ 'tc_main.cpp', 'tc_embedded_compositor.cpp', ] executable('libds-tizen-embedded-compositor-tests', [ tc_mock_files, tc_embedded_compositor_files ], dependencies: [ deps_test_common, deps_libds_tizen_embedded_compositor, dependency('tizen-extension-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## input method tests tc_input_method_files = [ 'tc_main.cpp', 'tc_input_method.cpp', ] executable('libds-tizen-input-method-tests', [ tc_mock_files, tc_input_method_files ], dependencies: [ deps_test_common, deps_libds_tizen_input_method, ], install_dir: libds_tizen_bindir, install : true ) ## input method tests tc_input_method_manager_files = [ 'tc_main.cpp', 'tc_input_method_manager.cpp', ] executable('libds-tizen-input-method-manager-tests', [ tc_mock_files, tc_input_method_manager_files ], dependencies: [ deps_test_common, deps_libds_tizen_input_method, ], install_dir: libds_tizen_bindir, install : true ) ## text input tests tc_text_input_files = [ 'tc_main.cpp', 'tc_text_input.cpp', ] executable('libds-tizen-text-input-tests', [ tc_mock_files, tc_text_input_files ], dependencies: [ deps_test_common, deps_libds_tizen_text_input, ], install_dir: libds_tizen_bindir, install : true ) ## hwc tests tc_hwc_files = [ 'tc_main.cpp', 'tc_hwc.cpp', ] executable('libds-tizen-hwc-tests', [ tc_mock_files, tc_hwc_files ], dependencies: [ deps_test_common, deps_libds_tizen_hwc, dependency('tizen-hwc-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## policy tests tc_policy_files = [ 'tc_main.cpp', 'tc_policy.cpp', ] executable('libds-tizen-policy-tests', [ tc_mock_files, tc_policy_files ], dependencies: [ deps_test_common, deps_libds_tizen_policy, dependency('tizen-extension-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) ## screenshooter-compositor tests tc_screenshooter_files = [ 'tc_main.cpp', 'tc_screenshooter.cpp', ] executable('libds-tizen-screenshooter-tests', [ tc_mock_files, tc_screenshooter_files ], dependencies: [ deps_test_common, deps_libds_tizen_screenshooter, dependency('tizen-extension-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) tc_scaler_files = [ 'tc_main.cpp', 'tc_scaler.cpp', ] executable('libds-tizen-scaler-tests', [ tc_mock_files, tc_scaler_files ], dependencies: [ deps_test_common, deps_libds_tizen_scaler, dependency('scaler-client', required: true), ], install_dir: libds_tizen_bindir, install : true ) tc_video_files = [ 'tc_main.cpp', 'tc_video.cpp', ] executable('libds-tizen-video-tests', [ tc_mock_files, tc_video_files ], dependencies: [ deps_test_common, deps_libds_tizen_video, dependency('tizen-extension-client', required: true), dependency('libdrm', required: true), ], install_dir: libds_tizen_bindir, install : true ) tc_remote_surface_files = [ 'tc_main.cpp', 'tc_remote_surface.cpp', ] executable('libds-tizen-remote-surface-tests', [ tc_mock_files, tc_remote_surface_files ], dependencies: [ deps_test_common, deps_libds_tizen_remote_surface, dependency('tizen-remote-surface-client', required: true), ], install_dir: libds_tizen_bindir, install : true )