• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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")
15import("//foundation/communication/dsoftbus/dsoftbus.gni")
16
17group("unittest") {
18  testonly = true
19  deps = [
20    "common/unittest:softbus_conn_common_test",
21    "manager:softbus_conn_manager_test",
22  ]
23  if (dsoftbus_feature_conn_br) {
24    deps += [
25      "br:softbus_conn_br_manager_test",
26      "br:softbus_conn_br_test",
27    ]
28  }
29  if (dsoftbus_feature_conn_ble) {
30    deps += [ "ble:softbus_conn_ble_test" ]
31  }
32  if (dsoftbus_feature_conn_p2p) {
33    deps += [
34      "p2p:softbus_connection_p2p_test",
35      "p2p/common_mock:P2pCommonMockTest",
36      "p2p/interface_mock:P2pInterfaceMockTest",
37    ]
38  }
39  if (dsoftbus_feature_conn_tcp) {
40    deps += [ "tcp:softbus_tcp_manager_test" ]
41  }
42}
43
44group("fuzztest") {
45  testonly = true
46  deps = [ "common/fuzztest/connectioncommon_fuzzer:ConnectionCommonFuzzTest" ]
47}
48