blob: 6ba192d8827f863c30d194d576ef7ce6b1be357f [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",
Kangping Dong3deddc72024-01-31 22:27:02 +080034 "truth",
Handa Wang806f5a12023-12-04 12:53:39 +080035 ],
36 libs: [
37 "android.test.runner",
38 "android.test.base",
39 "android.test.mock",
40 ],
41}
42
43android_test {
44 name: "ThreadNetworkIntegrationTests",
45 platform_apis: true,
46 manifest: "AndroidManifest.xml",
Kangping Dong25bcfee2024-01-27 22:32:30 +080047 test_config: "AndroidTest.xml",
Handa Wang806f5a12023-12-04 12:53:39 +080048 defaults: [
49 "framework-connectivity-test-defaults",
Kangping Dong25bcfee2024-01-27 22:32:30 +080050 "ThreadNetworkIntegrationTestsDefaults",
Handa Wang806f5a12023-12-04 12:53:39 +080051 ],
52 test_suites: [
Kangping Dong25bcfee2024-01-27 22:32:30 +080053 "mts-tethering",
Handa Wang806f5a12023-12-04 12:53:39 +080054 "general-tests",
55 ],
56 srcs: [
57 "src/**/*.java",
58 ],
59 compile_multilib: "both",
60}