2022-03-10 06:34:41 +00:00
|
|
|
# Copyright (C) 2022 Huawei Device Co., Ltd.
|
2022-01-12 03:14:12 +00:00
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2022-03-02 13:00:07 +00:00
|
|
|
import("//build/test.gni")
|
2023-04-28 07:33:58 +00:00
|
|
|
import("./aamstestmock.gni")
|
2022-01-12 03:14:12 +00:00
|
|
|
|
2023-11-03 06:33:55 +00:00
|
|
|
module_output_path = "accessibility/accessibility"
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
#1. intent(c++) get/set test without transport
|
|
|
|
|
|
|
|
config("module_private_config") {
|
|
|
|
visibility = [ ":*" ]
|
|
|
|
cflags = []
|
|
|
|
if (target_cpu == "arm") {
|
|
|
|
cflags += [ "-DBINDER_IPC_32BIT" ]
|
|
|
|
}
|
2022-03-03 09:33:21 +00:00
|
|
|
|
|
|
|
include_dirs = aams_mock_include_dirs
|
|
|
|
include_dirs += [
|
2023-04-28 07:33:58 +00:00
|
|
|
"${AAMS_COMMON_PATH}/log/include",
|
|
|
|
"${AAMS_COMMON_PATH}/interface/include/parcel",
|
|
|
|
"${AAMS_FRAMEWORKS_PATH}/aafwk/include",
|
|
|
|
"${AAMS_FRAMEWORKS_PATH}/acfwk/include",
|
|
|
|
"${AAMS_FRAMEWORKS_PATH}/asacfwk/include",
|
|
|
|
"${AAMS_INTERFACES_PATH}/innerkits/aafwk/include",
|
|
|
|
"${AAMS_INTERFACES_PATH}/innerkits/acfwk/include",
|
|
|
|
"${AAMS_INTERFACES_PATH}/innerkits/asacfwk/include",
|
|
|
|
"${AAMS_INTERFACES_PATH}/innerkits/common/include",
|
|
|
|
"../aams/include",
|
|
|
|
"mock",
|
|
|
|
"./mock/common",
|
2022-06-27 03:01:16 +00:00
|
|
|
"${ability_runtime_path}/interfaces/kits/native/ability/native/",
|
|
|
|
"${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime",
|
|
|
|
"${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context",
|
|
|
|
"${ability_runtime_path}/interfaces/kits/native/appkit/app/",
|
|
|
|
"${ability_runtime_inner_api_path}/ability_manager/include",
|
|
|
|
"${ability_runtime_inner_api_path}/app_manager/include/appmgr",
|
2022-06-23 07:53:42 +00:00
|
|
|
"${ability_runtime_services_path}/abilitymgr/include",
|
2022-04-14 13:48:24 +00:00
|
|
|
"mock/aafwk/include",
|
2023-04-28 07:33:58 +00:00
|
|
|
"${AAMS_FOUNDATION_PATH}/window/window_manager/utils/include",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../../../graphic/graphic_2d/rosen/modules/2d_graphics/include",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
2023-04-28 07:33:58 +00:00
|
|
|
|
2022-01-12 03:14:12 +00:00
|
|
|
defines = [
|
|
|
|
"AAMS_LOG_TAG = \"accessibility_test\"",
|
2022-07-27 08:35:46 +00:00
|
|
|
"AAMS_LOG_DOMAIN = 0xD001D05",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2022-03-08 01:10:07 +00:00
|
|
|
MockDistributedscheduleSrc = []
|
2022-02-19 06:35:55 +00:00
|
|
|
|
2022-01-12 03:14:12 +00:00
|
|
|
################################################################################
|
|
|
|
ohos_moduletest("aams_accessibility_touch_guider_test") {
|
|
|
|
module_out_path = module_output_path
|
|
|
|
|
|
|
|
sources = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../frameworks/common/src/accessibility_window_info.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_account_data.cpp",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../aams/src/accessibility_circle_drawing_manager.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_common_event.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_display_manager.cpp",
|
2022-05-28 03:29:19 +00:00
|
|
|
"../aams/src/accessibility_dumper.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_event_transmission.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_gesture_recognizer.cpp",
|
2022-02-15 02:11:42 +00:00
|
|
|
"../aams/src/accessibility_input_interceptor.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_keyevent_filter.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_mouse_autoclick.cpp",
|
2022-07-04 07:26:41 +00:00
|
|
|
"../aams/src/accessibility_mouse_key.cpp",
|
2023-09-01 07:55:41 +00:00
|
|
|
"../aams/src/accessibility_multifinger_multitap.cpp",
|
2023-10-27 08:03:33 +00:00
|
|
|
"../aams/src/accessibility_screen_touch.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/accessibility_settings_config.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_short_key.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_touchEvent_injector.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_touch_guider.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_window_connection.cpp",
|
|
|
|
"../aams/src/accessibility_window_manager.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_zoom_gesture.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessible_ability_channel.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_connection.cpp",
|
|
|
|
"../aams/src/accessible_ability_manager_service.cpp",
|
|
|
|
"../aams/src/accessible_ability_manager_service_event_handler.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/utils.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_ability_connect_callback_stub.cpp",
|
|
|
|
"./mock/mock_ability_manager_client.cpp",
|
|
|
|
"./mock/mock_accessibility_element_operator_impl.cpp",
|
|
|
|
"./mock/mock_accessibility_element_operator_proxy.cpp",
|
2023-11-12 17:16:26 +00:00
|
|
|
"./mock/mock_accessibility_setting_provider.cpp",
|
2023-12-04 08:51:43 +00:00
|
|
|
"./mock/mock_accessibility_short_key dialog.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_accessible_ability_client_proxy.cpp",
|
|
|
|
"./mock/mock_accessible_ability_manager_service_stub.cpp",
|
|
|
|
"./mock/mock_bundle_manager.cpp",
|
|
|
|
"./mock/mock_bundle_mgr_proxy.cpp",
|
|
|
|
"./mock/mock_display.cpp",
|
|
|
|
"./mock/mock_display_manager.cpp",
|
|
|
|
"./mock/mock_os_account_manager.cpp",
|
|
|
|
"./mock/mock_parameter.c",
|
|
|
|
"./mock/mock_service_registry.cpp",
|
|
|
|
"./mock/mock_system_ability.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"moduletest/aamstest/aams_accessibility_touch_guider_test/aams_accessibility_touch_guider_test.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
2022-03-02 09:45:32 +00:00
|
|
|
sources += aams_mock_distributeddatamgr_src
|
2022-03-03 09:33:21 +00:00
|
|
|
sources += aams_mock_multimodalinput_src
|
2022-03-07 06:00:29 +00:00
|
|
|
sources += aams_mock_powermanager_src
|
2022-02-22 09:13:51 +00:00
|
|
|
sources += MockDistributedscheduleSrc
|
2022-02-15 02:11:42 +00:00
|
|
|
|
2022-09-15 13:34:31 +00:00
|
|
|
configs = [
|
|
|
|
":module_private_config",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../resources/config/build:coverage_flags",
|
2022-09-15 13:34:31 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
deps = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../../../../third_party/googletest:gmock_main",
|
|
|
|
"../../../../../third_party/googletest:gtest_main",
|
|
|
|
"../../common/interface:accessibility_interface",
|
|
|
|
"../../interfaces/innerkits/common:accessibility_common",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
external_deps = [
|
2022-02-15 02:11:42 +00:00
|
|
|
"ability_base:want",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_base:zuri",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:abilitykit_native",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_runtime:dataobs_manager",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:extension_manager",
|
2022-03-01 07:08:59 +00:00
|
|
|
"bundle_framework:appexecfwk_core",
|
2022-07-21 02:46:18 +00:00
|
|
|
"c_utils:utils",
|
2022-04-20 07:24:27 +00:00
|
|
|
"common_event_service:cesfwk_innerkits",
|
2023-11-12 17:16:26 +00:00
|
|
|
"data_share:datashare_common",
|
|
|
|
"data_share:datashare_consumer",
|
2022-10-19 08:17:10 +00:00
|
|
|
"display_manager:displaymgr",
|
2022-04-22 11:03:47 +00:00
|
|
|
"eventhandler:libeventhandler",
|
2023-12-02 07:23:39 +00:00
|
|
|
"graphic_2d:2d_graphics",
|
|
|
|
"graphic_2d:librender_service_client",
|
2023-06-26 01:46:17 +00:00
|
|
|
"hilog:libhilog",
|
2023-06-25 13:27:04 +00:00
|
|
|
"hisysevent:libhisysevent",
|
|
|
|
"hitrace:hitrace_meter",
|
2023-07-07 01:09:02 +00:00
|
|
|
"image_framework:image_native",
|
2023-03-14 03:51:15 +00:00
|
|
|
"init:libbegetutil",
|
2023-03-09 02:32:29 +00:00
|
|
|
"input:libmmi-client",
|
2022-02-22 13:02:00 +00:00
|
|
|
"ipc:ipc_core",
|
2023-11-21 13:37:41 +00:00
|
|
|
"os_account:os_account_innerkits",
|
2023-12-02 07:23:39 +00:00
|
|
|
"window_manager:libdm",
|
2022-09-14 09:27:57 +00:00
|
|
|
"window_manager:libwm",
|
2022-02-22 13:02:00 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
ohos_moduletest("aams_accessibility_touchEvent_injector_test") {
|
|
|
|
module_out_path = module_output_path
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../aams/src/accessibility_account_data.cpp",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../aams/src/accessibility_circle_drawing_manager.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_common_event.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_display_manager.cpp",
|
2022-05-28 03:29:19 +00:00
|
|
|
"../aams/src/accessibility_dumper.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_event_transmission.cpp",
|
|
|
|
"../aams/src/accessibility_gesture_recognizer.cpp",
|
2022-02-15 02:11:42 +00:00
|
|
|
"../aams/src/accessibility_input_interceptor.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_keyevent_filter.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_mouse_autoclick.cpp",
|
2022-07-04 07:26:41 +00:00
|
|
|
"../aams/src/accessibility_mouse_key.cpp",
|
2023-09-01 07:55:41 +00:00
|
|
|
"../aams/src/accessibility_multifinger_multitap.cpp",
|
2023-10-27 08:03:33 +00:00
|
|
|
"../aams/src/accessibility_screen_touch.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/accessibility_settings_config.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_short_key.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_touchEvent_injector.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_touch_guider.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_window_connection.cpp",
|
|
|
|
"../aams/src/accessibility_window_manager.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_zoom_gesture.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessible_ability_channel.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_connection.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service_event_handler.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/utils.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_ability_connect_callback_stub.cpp",
|
|
|
|
"./mock/mock_ability_manager_client.cpp",
|
|
|
|
"./mock/mock_accessibility_element_operator_impl.cpp",
|
|
|
|
"./mock/mock_accessibility_element_operator_proxy.cpp",
|
2023-11-12 17:16:26 +00:00
|
|
|
"./mock/mock_accessibility_setting_provider.cpp",
|
2023-12-04 08:51:43 +00:00
|
|
|
"./mock/mock_accessibility_short_key dialog.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_accessible_ability_client_proxy.cpp",
|
|
|
|
"./mock/mock_accessible_ability_manager_service_stub.cpp",
|
|
|
|
"./mock/mock_bundle_manager.cpp",
|
|
|
|
"./mock/mock_bundle_mgr_proxy.cpp",
|
|
|
|
"./mock/mock_display.cpp",
|
|
|
|
"./mock/mock_display_manager.cpp",
|
|
|
|
"./mock/mock_os_account_manager.cpp",
|
|
|
|
"./mock/mock_parameter.c",
|
|
|
|
"./mock/mock_service_registry.cpp",
|
|
|
|
"./mock/mock_system_ability.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"moduletest/aamstest/aams_accessibility_touchEvent_injector_test/aams_accessibility_touchEvent_injector_test.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
2022-03-02 09:45:32 +00:00
|
|
|
sources += aams_mock_distributeddatamgr_src
|
2022-03-03 09:33:21 +00:00
|
|
|
sources += aams_mock_multimodalinput_src
|
2022-03-07 06:00:29 +00:00
|
|
|
sources += aams_mock_powermanager_src
|
2022-02-22 09:13:51 +00:00
|
|
|
sources += MockDistributedscheduleSrc
|
2022-02-15 02:11:42 +00:00
|
|
|
|
2022-09-15 13:34:31 +00:00
|
|
|
configs = [
|
|
|
|
":module_private_config",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../resources/config/build:coverage_flags",
|
2022-09-15 13:34:31 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
deps = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../../../../third_party/googletest:gmock_main",
|
|
|
|
"../../../../../third_party/googletest:gtest_main",
|
|
|
|
"../../common/interface:accessibility_interface",
|
|
|
|
"../../interfaces/innerkits/common:accessibility_common",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
external_deps = [
|
2022-02-15 02:11:42 +00:00
|
|
|
"ability_base:want",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_base:zuri",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:abilitykit_native",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_runtime:dataobs_manager",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:extension_manager",
|
2022-03-01 07:08:59 +00:00
|
|
|
"bundle_framework:appexecfwk_core",
|
2022-07-21 02:46:18 +00:00
|
|
|
"c_utils:utils",
|
2022-04-20 07:24:27 +00:00
|
|
|
"common_event_service:cesfwk_innerkits",
|
2023-11-12 17:16:26 +00:00
|
|
|
"data_share:datashare_common",
|
|
|
|
"data_share:datashare_consumer",
|
2022-10-19 08:17:10 +00:00
|
|
|
"display_manager:displaymgr",
|
2022-04-22 11:03:47 +00:00
|
|
|
"eventhandler:libeventhandler",
|
2023-12-02 07:23:39 +00:00
|
|
|
"graphic_2d:2d_graphics",
|
|
|
|
"graphic_2d:librender_service_client",
|
2023-06-26 01:46:17 +00:00
|
|
|
"hilog:libhilog",
|
2023-06-25 13:27:04 +00:00
|
|
|
"hisysevent:libhisysevent",
|
|
|
|
"hitrace:hitrace_meter",
|
2023-07-07 01:09:02 +00:00
|
|
|
"image_framework:image_native",
|
2023-03-14 03:51:15 +00:00
|
|
|
"init:libbegetutil",
|
2023-03-09 02:32:29 +00:00
|
|
|
"input:libmmi-client",
|
2022-02-22 13:02:00 +00:00
|
|
|
"ipc:ipc_core",
|
2023-11-21 13:37:41 +00:00
|
|
|
"os_account:os_account_innerkits",
|
2023-12-02 07:23:39 +00:00
|
|
|
"window_manager:libdm",
|
2022-09-14 09:27:57 +00:00
|
|
|
"window_manager:libwm",
|
2022-02-22 09:13:51 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
ohos_moduletest("aams_accessible_ability_channel_test") {
|
|
|
|
module_out_path = module_output_path
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../aams/src/accessibility_account_data.cpp",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../aams/src/accessibility_circle_drawing_manager.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_common_event.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_display_manager.cpp",
|
2022-05-28 03:29:19 +00:00
|
|
|
"../aams/src/accessibility_dumper.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessibility_event_transmission.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_gesture_recognizer.cpp",
|
2022-02-15 02:11:42 +00:00
|
|
|
"../aams/src/accessibility_input_interceptor.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_keyevent_filter.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_mouse_autoclick.cpp",
|
2022-07-04 07:26:41 +00:00
|
|
|
"../aams/src/accessibility_mouse_key.cpp",
|
2023-09-01 07:55:41 +00:00
|
|
|
"../aams/src/accessibility_multifinger_multitap.cpp",
|
2023-10-27 08:03:33 +00:00
|
|
|
"../aams/src/accessibility_screen_touch.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/accessibility_settings_config.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_short_key.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_touchEvent_injector.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_touch_guider.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_window_connection.cpp",
|
|
|
|
"../aams/src/accessibility_window_manager.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_zoom_gesture.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessible_ability_channel.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_connection.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service_event_handler.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/utils.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_ability_connect_callback_stub.cpp",
|
|
|
|
"./mock/mock_ability_manager_client.cpp",
|
|
|
|
"./mock/mock_accessibility_element_operator_impl.cpp",
|
|
|
|
"./mock/mock_accessibility_element_operator_proxy.cpp",
|
2023-11-12 17:16:26 +00:00
|
|
|
"./mock/mock_accessibility_setting_provider.cpp",
|
2023-12-04 08:51:43 +00:00
|
|
|
"./mock/mock_accessibility_short_key dialog.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_accessible_ability_client_proxy.cpp",
|
|
|
|
"./mock/mock_accessible_ability_manager_service_stub.cpp",
|
|
|
|
"./mock/mock_bundle_manager.cpp",
|
|
|
|
"./mock/mock_bundle_mgr_proxy.cpp",
|
|
|
|
"./mock/mock_common_event_data.cpp",
|
|
|
|
"./mock/mock_common_event_manager.cpp",
|
|
|
|
"./mock/mock_common_event_subscribe_info.cpp",
|
|
|
|
"./mock/mock_common_event_subscriber.cpp",
|
|
|
|
"./mock/mock_common_event_support.cpp",
|
|
|
|
"./mock/mock_display.cpp",
|
|
|
|
"./mock/mock_display_manager.cpp",
|
|
|
|
"./mock/mock_matching_skill.cpp",
|
|
|
|
"./mock/mock_os_account_manager.cpp",
|
|
|
|
"./mock/mock_parameter.c",
|
|
|
|
"./mock/mock_service_registry.cpp",
|
|
|
|
"./mock/mock_system_ability.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"moduletest/aamstest/aams_accessible_ability_channel_test/aams_accessible_ability_channel_test.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
2022-03-02 09:45:32 +00:00
|
|
|
sources += aams_mock_distributeddatamgr_src
|
2022-03-03 09:33:21 +00:00
|
|
|
sources += aams_mock_multimodalinput_src
|
2022-03-07 06:00:29 +00:00
|
|
|
sources += aams_mock_powermanager_src
|
2022-02-22 09:13:51 +00:00
|
|
|
sources += MockDistributedscheduleSrc
|
2022-02-15 02:11:42 +00:00
|
|
|
|
2022-09-15 13:34:31 +00:00
|
|
|
configs = [
|
|
|
|
":module_private_config",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../resources/config/build:coverage_flags",
|
2022-09-15 13:34:31 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
deps = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../../../../third_party/googletest:gmock_main",
|
|
|
|
"../../../../../third_party/googletest:gtest_main",
|
|
|
|
"../../common/interface:accessibility_interface",
|
|
|
|
"../../interfaces/innerkits/common:accessibility_common",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
external_deps = [
|
2022-02-15 02:11:42 +00:00
|
|
|
"ability_base:want",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_base:zuri",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:abilitykit_native",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_runtime:dataobs_manager",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:extension_manager",
|
2022-03-01 07:08:59 +00:00
|
|
|
"bundle_framework:appexecfwk_core",
|
2022-07-21 02:46:18 +00:00
|
|
|
"c_utils:utils",
|
2023-11-12 17:16:26 +00:00
|
|
|
"data_share:datashare_common",
|
|
|
|
"data_share:datashare_consumer",
|
2022-10-19 08:17:10 +00:00
|
|
|
"display_manager:displaymgr",
|
2022-04-22 11:03:47 +00:00
|
|
|
"eventhandler:libeventhandler",
|
2023-12-02 07:23:39 +00:00
|
|
|
"graphic_2d:2d_graphics",
|
|
|
|
"graphic_2d:librender_service_client",
|
2023-06-26 01:46:17 +00:00
|
|
|
"hilog:libhilog",
|
2023-06-25 13:27:04 +00:00
|
|
|
"hisysevent:libhisysevent",
|
|
|
|
"hitrace:hitrace_meter",
|
2023-07-07 01:09:02 +00:00
|
|
|
"image_framework:image_native",
|
2023-03-14 03:51:15 +00:00
|
|
|
"init:libbegetutil",
|
2023-03-09 02:32:29 +00:00
|
|
|
"input:libmmi-client",
|
2022-02-22 13:02:00 +00:00
|
|
|
"ipc:ipc_core",
|
2023-11-21 13:37:41 +00:00
|
|
|
"os_account:os_account_innerkits",
|
2023-12-02 07:23:39 +00:00
|
|
|
"window_manager:libdm",
|
2022-09-14 09:27:57 +00:00
|
|
|
"window_manager:libwm",
|
2022-02-22 13:02:00 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
ohos_moduletest("aams_server_test") {
|
|
|
|
module_out_path = module_output_path
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../aams/src/accessibility_account_data.cpp",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../aams/src/accessibility_circle_drawing_manager.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_common_event.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_display_manager.cpp",
|
2022-05-28 03:29:19 +00:00
|
|
|
"../aams/src/accessibility_dumper.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessibility_event_transmission.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_gesture_recognizer.cpp",
|
2022-02-15 02:11:42 +00:00
|
|
|
"../aams/src/accessibility_input_interceptor.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_keyevent_filter.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_mouse_autoclick.cpp",
|
2022-07-04 07:26:41 +00:00
|
|
|
"../aams/src/accessibility_mouse_key.cpp",
|
2023-09-01 07:55:41 +00:00
|
|
|
"../aams/src/accessibility_multifinger_multitap.cpp",
|
2023-10-27 08:03:33 +00:00
|
|
|
"../aams/src/accessibility_screen_touch.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/accessibility_settings_config.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_short_key.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_touchEvent_injector.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_touch_guider.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_window_connection.cpp",
|
|
|
|
"../aams/src/accessibility_window_manager.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_zoom_gesture.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessible_ability_channel.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_connection.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service_event_handler.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/utils.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_ability_connect_callback_stub.cpp",
|
|
|
|
"./mock/mock_ability_manager_client.cpp",
|
2023-11-12 17:16:26 +00:00
|
|
|
"./mock/mock_accessibility_setting_provider.cpp",
|
2023-12-04 08:51:43 +00:00
|
|
|
"./mock/mock_accessibility_short_key dialog.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_accessible_ability_client_proxy.cpp",
|
|
|
|
"./mock/mock_accessible_ability_manager_service_stub.cpp",
|
|
|
|
"./mock/mock_bundle_manager.cpp",
|
|
|
|
"./mock/mock_bundle_mgr_proxy.cpp",
|
|
|
|
"./mock/mock_common_event_data.cpp",
|
|
|
|
"./mock/mock_common_event_manager.cpp",
|
|
|
|
"./mock/mock_common_event_subscribe_info.cpp",
|
|
|
|
"./mock/mock_common_event_subscriber.cpp",
|
|
|
|
"./mock/mock_common_event_support.cpp",
|
|
|
|
"./mock/mock_display.cpp",
|
|
|
|
"./mock/mock_display_manager.cpp",
|
|
|
|
"./mock/mock_matching_skill.cpp",
|
|
|
|
"./mock/mock_os_account_manager.cpp",
|
|
|
|
"./mock/mock_parameter.c",
|
|
|
|
"./mock/mock_service_registry.cpp",
|
|
|
|
"./mock/mock_system_ability.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"moduletest/aamstest/aams_server_test/aams_server_test.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
2022-03-02 09:45:32 +00:00
|
|
|
sources += aams_mock_distributeddatamgr_src
|
2022-03-03 09:33:21 +00:00
|
|
|
sources += aams_mock_multimodalinput_src
|
2022-03-07 06:00:29 +00:00
|
|
|
sources += aams_mock_powermanager_src
|
2022-02-22 09:13:51 +00:00
|
|
|
sources += MockDistributedscheduleSrc
|
2022-02-15 02:11:42 +00:00
|
|
|
|
2022-09-15 13:34:31 +00:00
|
|
|
configs = [
|
|
|
|
":module_private_config",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../resources/config/build:coverage_flags",
|
2022-09-15 13:34:31 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
deps = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../../../../third_party/googletest:gmock_main",
|
|
|
|
"../../../../../third_party/googletest:gtest_main",
|
|
|
|
"../../common/interface:accessibility_interface",
|
|
|
|
"../../interfaces/innerkits/common:accessibility_common",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
external_deps = [
|
2022-02-15 02:11:42 +00:00
|
|
|
"ability_base:want",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_base:zuri",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:abilitykit_native",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_runtime:dataobs_manager",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:extension_manager",
|
2022-03-01 07:08:59 +00:00
|
|
|
"bundle_framework:appexecfwk_core",
|
2022-07-21 02:46:18 +00:00
|
|
|
"c_utils:utils",
|
2023-11-12 17:16:26 +00:00
|
|
|
"data_share:datashare_common",
|
|
|
|
"data_share:datashare_consumer",
|
2022-10-19 08:17:10 +00:00
|
|
|
"display_manager:displaymgr",
|
2022-04-22 11:03:47 +00:00
|
|
|
"eventhandler:libeventhandler",
|
2023-12-02 07:23:39 +00:00
|
|
|
"graphic_2d:2d_graphics",
|
|
|
|
"graphic_2d:librender_service_client",
|
2023-06-26 01:46:17 +00:00
|
|
|
"hilog:libhilog",
|
2023-06-25 13:27:04 +00:00
|
|
|
"hisysevent:libhisysevent",
|
|
|
|
"hitrace:hitrace_meter",
|
2023-07-07 01:09:02 +00:00
|
|
|
"image_framework:image_native",
|
2023-03-14 03:51:15 +00:00
|
|
|
"init:libbegetutil",
|
2023-03-09 02:32:29 +00:00
|
|
|
"input:libmmi-client",
|
2022-02-22 13:02:00 +00:00
|
|
|
"ipc:ipc_core",
|
2023-11-21 13:37:41 +00:00
|
|
|
"os_account:os_account_innerkits",
|
2023-12-02 07:23:39 +00:00
|
|
|
"window_manager:libdm",
|
2022-09-14 09:27:57 +00:00
|
|
|
"window_manager:libwm",
|
2022-02-22 13:02:00 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
ohos_moduletest("aams_accessibility_keyevent_filter_test") {
|
|
|
|
module_out_path = module_output_path
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../aams/src/accessibility_account_data.cpp",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../aams/src/accessibility_circle_drawing_manager.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_common_event.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_display_manager.cpp",
|
2022-05-28 03:29:19 +00:00
|
|
|
"../aams/src/accessibility_dumper.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_event_transmission.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_gesture_recognizer.cpp",
|
2022-02-15 02:11:42 +00:00
|
|
|
"../aams/src/accessibility_input_interceptor.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_keyevent_filter.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_mouse_autoclick.cpp",
|
2022-07-04 07:26:41 +00:00
|
|
|
"../aams/src/accessibility_mouse_key.cpp",
|
2023-09-01 07:55:41 +00:00
|
|
|
"../aams/src/accessibility_multifinger_multitap.cpp",
|
2023-10-27 08:03:33 +00:00
|
|
|
"../aams/src/accessibility_screen_touch.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/accessibility_settings_config.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_short_key.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_touchEvent_injector.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_touch_guider.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_window_connection.cpp",
|
|
|
|
"../aams/src/accessibility_window_manager.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_zoom_gesture.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessible_ability_channel.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_connection.cpp",
|
|
|
|
"../aams/src/accessible_ability_manager_service.cpp",
|
|
|
|
"../aams/src/accessible_ability_manager_service_event_handler.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/utils.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_ability_connect_callback_stub.cpp",
|
|
|
|
"./mock/mock_ability_manager_client.cpp",
|
2023-11-12 17:16:26 +00:00
|
|
|
"./mock/mock_accessibility_setting_provider.cpp",
|
2023-12-04 08:51:43 +00:00
|
|
|
"./mock/mock_accessibility_short_key dialog.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_accessible_ability_client_proxy.cpp",
|
|
|
|
"./mock/mock_accessible_ability_manager_service_stub.cpp",
|
|
|
|
"./mock/mock_bundle_manager.cpp",
|
|
|
|
"./mock/mock_bundle_mgr_proxy.cpp",
|
|
|
|
"./mock/mock_display.cpp",
|
|
|
|
"./mock/mock_display_manager.cpp",
|
|
|
|
"./mock/mock_os_account_manager.cpp",
|
|
|
|
"./mock/mock_parameter.c",
|
|
|
|
"./mock/mock_service_registry.cpp",
|
|
|
|
"./mock/mock_system_ability.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"moduletest/aamstest/aams_accessibility_keyevent_filter_test/aams_accessibility_keyevent_filter_test.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
2022-03-02 09:45:32 +00:00
|
|
|
sources += aams_mock_distributeddatamgr_src
|
2022-03-03 09:33:21 +00:00
|
|
|
sources += aams_mock_multimodalinput_src
|
2022-03-07 06:00:29 +00:00
|
|
|
sources += aams_mock_powermanager_src
|
2022-02-22 09:13:51 +00:00
|
|
|
sources += MockDistributedscheduleSrc
|
2022-02-15 02:11:42 +00:00
|
|
|
|
2022-09-15 13:34:31 +00:00
|
|
|
configs = [
|
|
|
|
":module_private_config",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../resources/config/build:coverage_flags",
|
2022-09-15 13:34:31 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
deps = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../../../../third_party/googletest:gmock_main",
|
|
|
|
"../../../../../third_party/googletest:gtest_main",
|
|
|
|
"../../common/interface:accessibility_interface",
|
|
|
|
"../../interfaces/innerkits/common:accessibility_common",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
external_deps = [
|
2022-02-15 02:11:42 +00:00
|
|
|
"ability_base:want",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_base:zuri",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:abilitykit_native",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_runtime:dataobs_manager",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:extension_manager",
|
2022-03-01 07:08:59 +00:00
|
|
|
"bundle_framework:appexecfwk_core",
|
2022-07-21 02:46:18 +00:00
|
|
|
"c_utils:utils",
|
2022-04-20 07:24:27 +00:00
|
|
|
"common_event_service:cesfwk_innerkits",
|
2023-11-12 17:16:26 +00:00
|
|
|
"data_share:datashare_common",
|
|
|
|
"data_share:datashare_consumer",
|
2022-10-19 08:17:10 +00:00
|
|
|
"display_manager:displaymgr",
|
2022-04-22 11:03:47 +00:00
|
|
|
"eventhandler:libeventhandler",
|
2023-12-02 07:23:39 +00:00
|
|
|
"graphic_2d:2d_graphics",
|
|
|
|
"graphic_2d:librender_service_client",
|
2023-06-26 01:46:17 +00:00
|
|
|
"hilog:libhilog",
|
2023-06-25 13:27:04 +00:00
|
|
|
"hisysevent:libhisysevent",
|
|
|
|
"hitrace:hitrace_meter",
|
2023-07-07 01:09:02 +00:00
|
|
|
"image_framework:image_native",
|
2023-03-14 03:51:15 +00:00
|
|
|
"init:libbegetutil",
|
2023-03-09 02:32:29 +00:00
|
|
|
"input:libmmi-client",
|
2022-02-22 13:02:00 +00:00
|
|
|
"ipc:ipc_core",
|
2023-11-21 13:37:41 +00:00
|
|
|
"os_account:os_account_innerkits",
|
2023-12-02 07:23:39 +00:00
|
|
|
"window_manager:libdm",
|
2022-09-14 09:27:57 +00:00
|
|
|
"window_manager:libwm",
|
2022-02-22 13:02:00 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
ohos_moduletest("aams_common_event_registry_test") {
|
|
|
|
module_out_path = module_output_path
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"../aams/src/accessibility_account_data.cpp",
|
2023-12-02 07:23:39 +00:00
|
|
|
"../aams/src/accessibility_circle_drawing_manager.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_common_event.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_display_manager.cpp",
|
2022-05-28 03:29:19 +00:00
|
|
|
"../aams/src/accessibility_dumper.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../aams/src/accessibility_event_transmission.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_gesture_recognizer.cpp",
|
2022-02-15 02:11:42 +00:00
|
|
|
"../aams/src/accessibility_input_interceptor.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_keyevent_filter.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_mouse_autoclick.cpp",
|
2022-07-04 07:26:41 +00:00
|
|
|
"../aams/src/accessibility_mouse_key.cpp",
|
2023-09-01 07:55:41 +00:00
|
|
|
"../aams/src/accessibility_multifinger_multitap.cpp",
|
2023-10-27 08:03:33 +00:00
|
|
|
"../aams/src/accessibility_screen_touch.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/accessibility_settings_config.cpp",
|
2022-05-12 05:57:18 +00:00
|
|
|
"../aams/src/accessibility_short_key.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_touchEvent_injector.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_touch_guider.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessibility_window_connection.cpp",
|
|
|
|
"../aams/src/accessibility_window_manager.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessibility_zoom_gesture.cpp",
|
2022-04-14 13:48:24 +00:00
|
|
|
"../aams/src/accessible_ability_channel.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_connection.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"../aams/src/accessible_ability_manager_service_event_handler.cpp",
|
2022-06-02 09:51:08 +00:00
|
|
|
"../aams/src/utils.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_ability_connect_callback_stub.cpp",
|
|
|
|
"./mock/mock_ability_manager_client.cpp",
|
2023-11-12 17:16:26 +00:00
|
|
|
"./mock/mock_accessibility_setting_provider.cpp",
|
2023-12-04 08:51:43 +00:00
|
|
|
"./mock/mock_accessibility_short_key dialog.cpp",
|
2023-04-28 07:33:58 +00:00
|
|
|
"./mock/mock_accessible_ability_client_proxy.cpp",
|
|
|
|
"./mock/mock_accessible_ability_manager_service_stub.cpp",
|
|
|
|
"./mock/mock_bundle_manager.cpp",
|
|
|
|
"./mock/mock_bundle_mgr_proxy.cpp",
|
|
|
|
"./mock/mock_common_event_data.cpp",
|
|
|
|
"./mock/mock_common_event_manager.cpp",
|
|
|
|
"./mock/mock_common_event_subscribe_info.cpp",
|
|
|
|
"./mock/mock_common_event_subscriber.cpp",
|
|
|
|
"./mock/mock_common_event_support.cpp",
|
|
|
|
"./mock/mock_display.cpp",
|
|
|
|
"./mock/mock_display_manager.cpp",
|
|
|
|
"./mock/mock_matching_skill.cpp",
|
|
|
|
"./mock/mock_os_account_manager.cpp",
|
|
|
|
"./mock/mock_parameter.c",
|
|
|
|
"./mock/mock_service_registry.cpp",
|
|
|
|
"./mock/mock_system_ability.cpp",
|
2022-02-22 13:02:00 +00:00
|
|
|
"moduletest/aamstest/aams_common_event_registry_test/aams_common_event_registry_test.cpp",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
2022-03-02 09:45:32 +00:00
|
|
|
sources += aams_mock_distributeddatamgr_src
|
2022-03-03 09:33:21 +00:00
|
|
|
sources += aams_mock_multimodalinput_src
|
2022-03-07 06:00:29 +00:00
|
|
|
sources += aams_mock_powermanager_src
|
2022-02-22 09:13:51 +00:00
|
|
|
sources += MockDistributedscheduleSrc
|
2022-02-15 02:11:42 +00:00
|
|
|
|
2022-09-15 13:34:31 +00:00
|
|
|
configs = [
|
|
|
|
":module_private_config",
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../resources/config/build:coverage_flags",
|
2022-09-15 13:34:31 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
|
|
|
|
deps = [
|
2023-04-28 07:33:58 +00:00
|
|
|
"../../../../../third_party/googletest:gmock_main",
|
|
|
|
"../../../../../third_party/googletest:gtest_main",
|
|
|
|
"../../common/interface:accessibility_interface",
|
|
|
|
"../../interfaces/innerkits/common:accessibility_common",
|
2022-01-12 03:14:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
external_deps = [
|
2022-02-15 02:11:42 +00:00
|
|
|
"ability_base:want",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_base:zuri",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:abilitykit_native",
|
2023-11-12 17:16:26 +00:00
|
|
|
"ability_runtime:dataobs_manager",
|
2023-12-04 08:51:43 +00:00
|
|
|
"ability_runtime:extension_manager",
|
2022-02-22 13:02:00 +00:00
|
|
|
"bundle_framework:appexecfwk_core",
|
2022-07-21 02:46:18 +00:00
|
|
|
"c_utils:utils",
|
2023-11-12 17:16:26 +00:00
|
|
|
"data_share:datashare_common",
|
|
|
|
"data_share:datashare_consumer",
|
2022-10-19 08:17:10 +00:00
|
|
|
"display_manager:displaymgr",
|
2022-04-22 11:03:47 +00:00
|
|
|
"eventhandler:libeventhandler",
|
2023-12-02 07:23:39 +00:00
|
|
|
"graphic_2d:2d_graphics",
|
|
|
|
"graphic_2d:librender_service_client",
|
2023-06-26 01:46:17 +00:00
|
|
|
"hilog:libhilog",
|
2023-06-25 13:27:04 +00:00
|
|
|
"hisysevent:libhisysevent",
|
|
|
|
"hitrace:hitrace_meter",
|
2023-07-07 01:09:02 +00:00
|
|
|
"image_framework:image_native",
|
2023-03-14 03:51:15 +00:00
|
|
|
"init:libbegetutil",
|
2023-03-09 02:32:29 +00:00
|
|
|
"input:libmmi-client",
|
2022-02-22 13:02:00 +00:00
|
|
|
"ipc:ipc_core",
|
2023-11-21 13:37:41 +00:00
|
|
|
"os_account:os_account_innerkits",
|
2023-12-02 07:23:39 +00:00
|
|
|
"window_manager:libdm",
|
2022-09-14 09:27:57 +00:00
|
|
|
"window_manager:libwm",
|
2022-02-22 13:02:00 +00:00
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
group("moduletest") {
|
|
|
|
testonly = true
|
|
|
|
deps = []
|
|
|
|
if (is_phone_product) {
|
2022-04-14 13:48:24 +00:00
|
|
|
deps += [
|
|
|
|
":aams_accessibility_keyevent_filter_test",
|
|
|
|
":aams_accessibility_touchEvent_injector_test",
|
|
|
|
":aams_accessibility_touch_guider_test",
|
|
|
|
":aams_accessible_ability_channel_test",
|
|
|
|
":aams_common_event_registry_test",
|
|
|
|
":aams_server_test",
|
|
|
|
]
|
2022-01-12 03:14:12 +00:00
|
|
|
}
|
|
|
|
}
|