hwc: Modify ds_tizen_hwc destruction logic
[platform/core/uifw/libds-tizen.git] / tests / meson.build
index b375f18..59201d4 100644 (file)
@@ -85,6 +85,25 @@ executable('libds-tizen-launch-appinfo-tests',
   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',
@@ -146,3 +165,240 @@ executable('libds-tizen-renderer-tests',
   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
+)