Yakun Xu | f055926 | 2024-05-09 18:03:39 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2024 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <configuration description="Config for Thread Multi-device test cases"> |
| 19 | <option name="config-descriptor:metadata" key="component" value="threadnetwork" /> |
| 20 | <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" /> |
| 21 | <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" /> |
| 22 | <option name="config-descriptor:metadata" key="parameter" value="secondary_user" /> |
| 23 | <option name="config-descriptor:metadata" key="mainline-param" value="com.google.android.tethering.apex" /> |
| 24 | |
| 25 | <object class="com.android.tradefed.testtype.suite.module.DeviceFeatureModuleController" |
| 26 | type="module_controller"> |
| 27 | <option name="required-feature" value="android.hardware.thread_network" /> |
| 28 | </object> |
| 29 | <object type="module_controller" class="com.android.tradefed.testtype.suite.module.MainlineTestModuleController"> |
| 30 | <option name="mainline-module-package-name" value="com.google.android.tethering" /> |
| 31 | </object> |
| 32 | <!-- |
| 33 | Only run tests if the device under test is SDK version 34 (Android 14) or above. |
| 34 | --> |
| 35 | <object type="module_controller" |
| 36 | class="com.android.tradefed.testtype.suite.module.Sdk34ModuleController" /> |
| 37 | |
| 38 | <device name="device1"> |
| 39 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" /> |
| 40 | </device> |
| 41 | <device name="device2"> |
| 42 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" /> |
| 43 | </device> |
| 44 | |
| 45 | <test class="com.android.tradefed.testtype.mobly.MoblyBinaryHostTest"> |
| 46 | <!-- The mobly-par-file-name should match the module name --> |
Yakun Xu | a081e0b | 2024-05-18 10:14:08 +0800 | [diff] [blame] | 47 | <option name="mobly-par-file-name" value="ThreadNetworkMultiDeviceTests" /> |
Yakun Xu | f055926 | 2024-05-09 18:03:39 +0800 | [diff] [blame] | 48 | <!-- Timeout limit in milliseconds for all test cases of the python binary --> |
| 49 | <option name="mobly-test-timeout" value="180000" /> |
| 50 | </test> |
| 51 | </configuration> |