blob: 3b3b0d9568ebb1ead6ffae6177716d607d60aca6 [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 {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21java_defaults {
22 name: "ThreadNetworkIntegrationTestsDefaults",
23 min_sdk_version: "30",
24 static_libs: [
25 "androidx.test.rules",
Kangping Dong3deddc72024-01-31 22:27:02 +080026 "compatibility-device-util-axt",
Handa Wang806f5a12023-12-04 12:53:39 +080027 "guava",
28 "mockito-target-minus-junit4",
29 "net-tests-utils",
30 "net-utils-device-common",
31 "net-utils-device-common-bpf",
32 "testables",
Kangping Dong3deddc72024-01-31 22:27:02 +080033 "truth",
Handa Wang806f5a12023-12-04 12:53:39 +080034 ],
35 libs: [
36 "android.test.runner",
37 "android.test.base",
38 "android.test.mock",
39 ],
40}
41
42android_test {
43 name: "ThreadNetworkIntegrationTests",
44 platform_apis: true,
45 manifest: "AndroidManifest.xml",
Kangping Dong25bcfee2024-01-27 22:32:30 +080046 test_config: "AndroidTest.xml",
Handa Wang806f5a12023-12-04 12:53:39 +080047 defaults: [
48 "framework-connectivity-test-defaults",
Kangping Dong25bcfee2024-01-27 22:32:30 +080049 "ThreadNetworkIntegrationTestsDefaults",
Handa Wang806f5a12023-12-04 12:53:39 +080050 ],
51 test_suites: [
Kangping Dong25bcfee2024-01-27 22:32:30 +080052 "mts-tethering",
Handa Wang806f5a12023-12-04 12:53:39 +080053 "general-tests",
54 ],
55 srcs: [
56 "src/**/*.java",
57 ],
58 compile_multilib: "both",
59}