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. 18android_test { 19 name: "MtsWifiTestCases", 20 defaults: ["cts_defaults"], 21 22 libs: [ 23 "org.apache.http.legacy", 24 "android.test.base.stubs", 25 ], 26 27 srcs: [ "src/**/*.java" ], 28 29 static_libs: [ 30 // for ShellIdentityUtils, builds against test_current 31 "compatibility-device-util-axt", 32 "ctstestrunner-axt", 33 "ctstestserver", 34 "junit", 35 "junit-params", 36 "truth-prebuilt", 37 // for Wifi protos, builds against system_current 38 "wifi-nano-protos", 39 // for AndroidJUnit4 40 "androidx.test.ext.junit", 41 "androidx.test.runner", 42 ], 43 44 // need access to system_current and test_current, so needs to be platform_apis: true 45 platform_apis: true, 46 47 test_suites: [ "mts" ], 48 test_config: "AndroidTest.xml", 49} 50