blob: 522120c7c1099a9883b707a1920fdff6457eb208 [file] [log] [blame]
Kangping Dong1cec48f2023-08-21 18:48:14 +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",
Kangping Dong1cec48f2023-08-21 18:48:14 +080019 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22android_test {
23 name: "CtsThreadNetworkTestCases",
24 defaults: ["cts_defaults"],
25 min_sdk_version: "33",
26 sdk_version: "test_current",
27 manifest: "AndroidManifest.xml",
28 test_config: "AndroidTest.xml",
29 srcs: [
30 "src/**/*.java",
31 ],
32 test_suites: [
33 "cts",
34 "general-tests",
35 "mts-tethering",
36 ],
37 static_libs: [
38 "androidx.test.ext.junit",
39 "compatibility-device-util-axt",
40 "ctstestrunner-axt",
Kangping Dong26639b12023-11-09 07:53:33 +000041 "guava",
Kangping Dong7fea5fa2023-08-30 17:25:34 +080042 "guava-android-testlib",
Kangping Dong1cec48f2023-08-21 18:48:14 +080043 "net-tests-utils",
Krzysztof KosiƄski739ed222023-10-07 00:48:10 +000044 "truth",
Kangping Dong1cec48f2023-08-21 18:48:14 +080045 ],
46 libs: [
47 "android.test.base",
48 "android.test.runner",
Kangping Dongc73dd5a2024-01-28 13:14:46 +080049 "framework-connectivity-module-api-stubs-including-flagged",
Kangping Dong1cec48f2023-08-21 18:48:14 +080050 ],
51 // Test coverage system runs on different devices. Need to
52 // compile for all architectures.
53 compile_multilib: "both",
Handa Wang0c994482023-12-28 15:10:39 +080054 platform_apis: true,
Kangping Dong1cec48f2023-08-21 18:48:14 +080055}