1# Copyright (c) 2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/test.gni") 15 16module_out_path = "window_manager/extension" 17 18group("systemtest") { 19 testonly = true 20 deps = [ ":window_extension_connection_test" ] 21} 22 23config("we_systemtest_common_public_config") { 24 include_dirs = [ 25 "//foundation/window/window_manager/extension/extension_connection/include", 26 "//foundation/window/window_manager/interfaces/innerkits/extension", 27 "//foundation/window/window_manager/interfaces/innerkits/wm", 28 "//third_party/googletest/googlemock/include", 29 ] 30} 31 32## SystemTest window_extension_connection_test {{{ 33ohos_systemtest("window_extension_connection_test") { 34 module_out_path = module_out_path 35 36 sources = [ "extension_connection_test.cpp" ] 37 38 public_configs = [ 39 ":we_systemtest_common_public_config", 40 "//foundation/window/window_manager/resources/config/build:coverage_flags", 41 "//foundation/window/window_manager/resources/config/build:testcase_flags", 42 ] 43 44 public_deps = [ 45 "//foundation/window/window_manager/extension/extension_connection:libwindow_extension_client", 46 "//third_party/googletest:gmock", 47 "//third_party/googletest:gtest_main", 48 ] 49 50 external_deps = [ 51 "ability_base:want", 52 "c_utils:utils", 53 "input:libmmi-client", 54 ] 55} 56 57## SystemTest window_extension_connection_test }}} 58 59