1// Copyright (C) 2020 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Wifi MTS-only tests i.e. not part of CTS or GTS 16// Used to test functionality that is only guaranteed to be implemented in the Wifi Mainline module, 17// but is not required if the Wifi Mainline module is not present on the device. 18package { 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22android_test { 23 name: "MtsWifiTestCases", 24 defaults: ["cts_defaults"], 25 26 min_sdk_version: "30", 27 target_sdk_version: "33", 28 compile_multilib: "both", 29 30 libs: [ 31 "org.apache.http.legacy", 32 "android.test.base.stubs", 33 ], 34 35 srcs: [ "src/**/*.java" ], 36 37 static_libs: [ 38 // for ShellIdentityUtils, builds against test_current 39 "compatibility-device-util-axt", 40 "ctstestrunner-axt", 41 "ctstestserver", 42 "junit", 43 "junit-params", 44 "truth-prebuilt", 45 // for Wifi protos, builds against system_current 46 "wifi-nano-protos", 47 // for AndroidJUnit4 48 "androidx.test.ext.junit", 49 "androidx.test.runner", 50 ], 51 52 // need access to system_current and test_current, so needs to be platform_apis: true 53 platform_apis: true, 54 55 test_suites: [ 56 "general-tests", 57 "mts-wifi", 58 ], 59 test_config: "AndroidTest.xml", 60} 61