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 "../../../extension/extension_connection/include", 26 "../../../interfaces/innerkits/extension", 27 "../../../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 "../../../resources/config/build:coverage_flags", 41 "../../../resources/config/build:testcase_flags", 42 ] 43 44 public_deps = [ 45 "../../../extension/extension_connection:libwindow_extension_client", 46 "../../../window_scene/session:scene_session", 47 "//third_party/googletest:gmock", 48 "//third_party/googletest:gtest_main", 49 ] 50 51 external_deps = [ 52 "ability_base:want", 53 "c_utils:utils", 54 "hilog:libhilog", 55 "input:libmmi-client", 56 ] 57} 58 59## SystemTest window_extension_connection_test }}} 60 61