blob: 5890d2699c891ae26606e55297831a69ced31f63 [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
Kangping Dongf0aa3bd2023-10-28 20:20:11 +080022// TODO: add this test to the CTS test suite
Kangping Dong1cec48f2023-08-21 18:48:14 +080023android_test {
24 name: "CtsThreadNetworkTestCases",
Kangping Dong1cec48f2023-08-21 18:48:14 +080025 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: [
Kangping Dong1cec48f2023-08-21 18:48:14 +080033 "general-tests",
Kangping Dong44d02652024-02-27 15:14:53 +080034 "mcts-tethering",
Kangping Dong1cec48f2023-08-21 18:48:14 +080035 "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",
Handa Wang9f417262024-02-28 08:27:18 +000044 "ThreadNetworkTestUtils",
Krzysztof KosiƄski739ed222023-10-07 00:48:10 +000045 "truth",
Kangping Dong1cec48f2023-08-21 18:48:14 +080046 ],
47 libs: [
48 "android.test.base",
49 "android.test.runner",
Kangping Dongc73dd5a2024-01-28 13:14:46 +080050 "framework-connectivity-module-api-stubs-including-flagged",
Kangping Dong1cec48f2023-08-21 18:48:14 +080051 ],
52 // Test coverage system runs on different devices. Need to
53 // compile for all architectures.
54 compile_multilib: "both",
Handa Wang0c994482023-12-28 15:10:39 +080055 platform_apis: true,
Kangping Dong1cec48f2023-08-21 18:48:14 +080056}