Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 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 | <configuration description="Runs Frameworks Wifi API Tests."> |
David Su | 7aeebca | 2019-12-13 15:13:03 -0800 | [diff] [blame] | 17 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 18 | <option name="test-file-name" value="FrameworksWifiApiTests.apk" /> |
| 19 | </target_preparer> |
| 20 | |
| 21 | <option name="test-suite-tag" value="apct" /> |
| 22 | <option name="test-tag" value="FrameworksWifiApiTests" /> |
Dan Shi | 1fee398 | 2017-03-22 22:30:53 -0700 | [diff] [blame] | 23 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 24 | <option name="package" value="android.net.wifi.test" /> |
KOUSHIK PANUGANTI | c9f79d8 | 2018-12-18 18:43:13 -0800 | [diff] [blame] | 25 | <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" /> |
Nicolas Geoffray | b0284fb | 2018-04-06 14:03:18 +0100 | [diff] [blame] | 26 | <option name="hidden-api-checks" value="false"/> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 27 | </test> |
David Su | 6df01e9 | 2020-03-05 13:12:39 -0800 | [diff] [blame] | 28 | |
| 29 | <!-- Only run FrameworksWifiApiTests in MTS if the Wifi Mainline module is installed. --> |
| 30 | <object type="module_controller" |
| 31 | class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> |
| 32 | <option name="mainline-module-package-name" value="com.google.android.wifi" /> |
David Su | 87d6a79 | 2020-03-23 16:14:54 -0700 | [diff] [blame] | 33 | <!-- TODO(b/151836001): com.android.wifi doesn't guarantee it is a Mainline module since |
| 34 | it could still be OEM customized. Workaround so that this test will still run on |
| 35 | AOSP builds. --> |
| 36 | <option name="mainline-module-package-name" value="com.android.wifi" /> |
David Su | 6df01e9 | 2020-03-05 13:12:39 -0800 | [diff] [blame] | 37 | </object> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 38 | </configuration> |