blob: 9677ec58bda5bbb07348abe894750c24c57665b4 [file] [log] [blame]
Handa Wang806f5a12023-12-04 12:53:39 +08001//
2// Copyright (C) 2023 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000018 default_team: "trendy_team_fwk_thread_network",
Handa Wang806f5a12023-12-04 12:53:39 +080019 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22java_defaults {
23 name: "ThreadNetworkIntegrationTestsDefaults",
24 min_sdk_version: "30",
25 static_libs: [
26 "androidx.test.rules",
Kangping Dong3deddc72024-01-31 22:27:02 +080027 "compatibility-device-util-axt",
Handa Wang806f5a12023-12-04 12:53:39 +080028 "guava",
29 "mockito-target-minus-junit4",
30 "net-tests-utils",
31 "net-utils-device-common",
32 "net-utils-device-common-bpf",
33 "testables",
Handa Wangc6037af2024-02-01 06:43:27 +000034 "ThreadNetworkTestUtils",
Kangping Dong3deddc72024-01-31 22:27:02 +080035 "truth",
Handa Wang806f5a12023-12-04 12:53:39 +080036 ],
37 libs: [
38 "android.test.runner",
39 "android.test.base",
40 "android.test.mock",
41 ],
42}
43
44android_test {
45 name: "ThreadNetworkIntegrationTests",
46 platform_apis: true,
47 manifest: "AndroidManifest.xml",
Kangping Dong25bcfee2024-01-27 22:32:30 +080048 test_config: "AndroidTest.xml",
Handa Wang806f5a12023-12-04 12:53:39 +080049 defaults: [
50 "framework-connectivity-test-defaults",
Kangping Dong25bcfee2024-01-27 22:32:30 +080051 "ThreadNetworkIntegrationTestsDefaults",
Handa Wang806f5a12023-12-04 12:53:39 +080052 ],
53 test_suites: [
Kangping Dong25bcfee2024-01-27 22:32:30 +080054 "mts-tethering",
Handa Wang806f5a12023-12-04 12:53:39 +080055 "general-tests",
56 ],
57 srcs: [
58 "src/**/*.java",
59 ],
60 compile_multilib: "both",
61}