blob: ebd6a4d7e08b0f33121806b4e2d0b1ddc1b15e2a [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",
26 "guava",
27 "mockito-target-minus-junit4",
28 "net-tests-utils",
29 "net-utils-device-common",
30 "net-utils-device-common-bpf",
31 "testables",
32 ],
33 libs: [
34 "android.test.runner",
35 "android.test.base",
36 "android.test.mock",
37 ],
38}
39
40android_test {
41 name: "ThreadNetworkIntegrationTests",
42 platform_apis: true,
43 manifest: "AndroidManifest.xml",
Kangping Dong25bcfee2024-01-27 22:32:30 +080044 test_config: "AndroidTest.xml",
Handa Wang806f5a12023-12-04 12:53:39 +080045 defaults: [
46 "framework-connectivity-test-defaults",
Kangping Dong25bcfee2024-01-27 22:32:30 +080047 "ThreadNetworkIntegrationTestsDefaults",
Handa Wang806f5a12023-12-04 12:53:39 +080048 ],
49 test_suites: [
Kangping Dong25bcfee2024-01-27 22:32:30 +080050 "mts-tethering",
Handa Wang806f5a12023-12-04 12:53:39 +080051 "general-tests",
52 ],
53 srcs: [
54 "src/**/*.java",
55 ],
56 compile_multilib: "both",
57}