Chun Zhang | 413a8fe | 2022-01-14 13:04:43 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2021 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="Config for CTS Nearby Fast Pair test cases"> |
Chun Zhang | 81a900d | 2022-05-04 08:36:56 -0700 | [diff] [blame] | 17 | <!-- Only run tests if the device under test is SDK version 33 (Android 13) or above. --> |
| 18 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.Sdk33ModuleController" /> |
| 19 | |
Chun Zhang | 413a8fe | 2022-01-14 13:04:43 -0800 | [diff] [blame] | 20 | <option name="test-suite-tag" value="cts" /> |
| 21 | <option name="config-descriptor:metadata" key="component" value="location" /> |
Xinyi Zhou | 1f70d4e | 2022-03-09 14:38:24 -0800 | [diff] [blame] | 22 | <!-- Instant cannot access NearbyManager. --> |
| 23 | <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" /> |
Chun Zhang | 413a8fe | 2022-01-14 13:04:43 -0800 | [diff] [blame] | 24 | <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" /> |
| 25 | <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> |
| 26 | <option name="config-descriptor:metadata" key="parameter" value="all_foldable_states" /> |
| 27 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| 28 | <option name="cleanup-apks" value="true" /> |
| 29 | <option name="test-file-name" value="CtsNearbyFastPairTestCases.apk" /> |
| 30 | </target_preparer> |
| 31 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| 32 | <option name="package" value="android.nearby.cts" /> |
| 33 | </test> |
Chun Zhang | ba78238 | 2022-02-01 13:27:45 -0800 | [diff] [blame] | 34 | <!-- Only run NearbyUnitTests in MTS if the Nearby Mainline module is installed. --> |
| 35 | <object type="module_controller" |
| 36 | class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> |
| 37 | <option name="mainline-module-package-name" value="com.google.android.tethering" /> |
| 38 | </object> |
Xinyi Zhou | 1f70d4e | 2022-03-09 14:38:24 -0800 | [diff] [blame] | 39 | </configuration> |