blob: 2630d21c94deac126b2abb1e79f5943b652aafdc [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",
Handa Wang5fc74b92024-06-20 09:44:49 +000024 defaults: [
25 "cts_defaults",
26 "framework-connectivity-test-defaults",
27 ],
Kangping Dong1cec48f2023-08-21 18:48:14 +080028 min_sdk_version: "33",
Kangping Dong1cec48f2023-08-21 18:48:14 +080029 manifest: "AndroidManifest.xml",
30 test_config: "AndroidTest.xml",
31 srcs: [
32 "src/**/*.java",
33 ],
34 test_suites: [
35 "cts",
36 "general-tests",
Kangping Dong44d02652024-02-27 15:14:53 +080037 "mcts-tethering",
Kangping Dong1cec48f2023-08-21 18:48:14 +080038 "mts-tethering",
39 ],
40 static_libs: [
41 "androidx.test.ext.junit",
42 "compatibility-device-util-axt",
Zhanglong Xia5bbfd912024-06-20 13:04:29 +080043 "com.android.net.thread.flags-aconfig-java",
Kangping Dong1cec48f2023-08-21 18:48:14 +080044 "ctstestrunner-axt",
Kangping Dong26639b12023-11-09 07:53:33 +000045 "guava",
Kangping Dong7fea5fa2023-08-30 17:25:34 +080046 "guava-android-testlib",
Kangping Dong1cec48f2023-08-21 18:48:14 +080047 "net-tests-utils",
Handa Wang9f417262024-02-28 08:27:18 +000048 "ThreadNetworkTestUtils",
Krzysztof KosiƄski739ed222023-10-07 00:48:10 +000049 "truth",
Kangping Dong1cec48f2023-08-21 18:48:14 +080050 ],
51 libs: [
Jihoon Kang8401b6a2024-08-30 00:29:58 +000052 "android.test.base.stubs",
53 "android.test.runner.stubs",
Kangping Dongc73dd5a2024-01-28 13:14:46 +080054 "framework-connectivity-module-api-stubs-including-flagged",
Kangping Dong1cec48f2023-08-21 18:48:14 +080055 ],
56 // Test coverage system runs on different devices. Need to
57 // compile for all architectures.
58 compile_multilib: "both",
Handa Wang0c994482023-12-28 15:10:39 +080059 platform_apis: true,
Kangping Dong1cec48f2023-08-21 18:48:14 +080060}