window_window_manager/test/systemtest/extension/BUILD.gn
realice 5d9bca6037 add ut of snapshot controller
Signed-off-by: realice <hanbing12@huawei.com>
Change-Id: I9365ab415d8fb08a3ad5e53c6417f28f5ef3595d
2022-08-30 17:24:32 +08:00

59 lines
1.8 KiB
Plaintext

# Copyright (c) 2022 Huawei Device Co., Ltd.
# 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.
import("//build/test.gni")
module_out_path = "window_manager/extension"
group("systemtest") {
testonly = true
deps = [ ":window_extension_connection_test" ]
}
config("we_systemtest_common_public_config") {
include_dirs = [
"//foundation/window/window_manager/extension/extension_connection/include",
"//foundation/window/window_manager/interfaces/innerkits/extension",
"//foundation/window/window_manager/interfaces/innerkits/wm",
"//third_party/googletest/googlemock/include",
]
}
## SystemTest window_extension_connection_test {{{
ohos_systemtest("window_extension_connection_test") {
module_out_path = module_out_path
sources = [ "extension_connection_test.cpp" ]
public_configs = [
":we_systemtest_common_public_config",
"//foundation/window/window_manager/resources/config/build:coverage_flags",
"//foundation/window/window_manager/resources/config/build:testcase_flags",
]
public_deps = [
"//foundation/window/window_manager/extension/extension_connection:libwindow_extension_client",
"//third_party/googletest:gmock",
"//third_party/googletest:gtest_main",
]
external_deps = [
"ability_base:want",
"c_utils:utils",
"input:libmmi-client",
]
}
## SystemTest window_extension_connection_test }}}