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_team: "trendy_team_fwk_wifi_hal", 20 default_applicable_licenses: ["Android-Apache-2.0"], 21} 22 23android_test { 24 name: "MtsWifiTestCases", 25 defaults: ["cts_defaults"], 26 27 min_sdk_version: "30", 28 target_sdk_version: "33", 29 compile_multilib: "both", 30 31 libs: [ 32 "org.apache.http.legacy", 33 "android.test.base.stubs", 34 ], 35 36 srcs: ["src/**/*.java"], 37 38 static_libs: [ 39 // for ShellIdentityUtils, builds against test_current 40 "compatibility-device-util-axt", 41 "ctstestrunner-axt", 42 "ctstestserver", 43 "junit", 44 "junit-params", 45 "truth", 46 // for Wifi protos, builds against system_current 47 "wifi-nano-protos", 48 // for AndroidJUnit4 49 "androidx.test.ext.junit", 50 "androidx.test.runner", 51 ], 52 53 // need access to system_current and test_current, so needs to be platform_apis: true 54 platform_apis: true, 55 56 test_suites: [ 57 "general-tests", 58 "mts-wifi", 59 ], 60 test_config: "AndroidTest.xml", 61} 62