| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2019 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <configuration description="Runs the ui conductor multi-device test"> |
| |
| <!-- Each device configuration --> |
| <device name="device1"> |
| |
| <!--These are the dependency apks that needs to be installed in the devices to run uicd successfully--> |
| <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup"> |
| |
| <!--option apk-path can be repeated with apks that are needed for the device specific tests--> |
| <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-test-v1.0.2.apk" /> |
| <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-v1.0.2.apk" /> |
| </target_preparer> |
| </device> |
| |
| <!-- A device tag can be completely empty if it doesn't require any setup --> |
| <device name="device2"> |
| |
| <!--These are the dependency apks that needs to be installed in the devices to run uicd successfully--> |
| <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup"> |
| |
| <!--option apk-path can be repeated with apks that are needed for the device specific tests--> |
| <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-test-v1.0.2.apk" /> |
| <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-v1.0.2.apk" /> |
| </target_preparer> |
| </device> |
| |
| <!--Provide the test related information here--> |
| <test class="com.android.uicd.tests.UiConductorTest" > |
| |
| <!--This is the required uicd-cli jar for the uicd-tests to run--> |
| <option name="uicd-cli-jar" value="gs://uicd-deps/cli/uicd-commandline.jar" /> |
| |
| <!--mode of the tests. Can be SINGLE, MULTIDEVICE or PLAYALL. But only one at a time.--> |
| <option name="play-mode" value="MULTIDEVICE" /> |
| |
| <!--Global variables for a particular tests are identified through the keys--> |
| <!--Global variables are key value pairs separated by "=" as shown below--> |
| <option name="global-variables" key="tracker" value="uicd_key1=value1Fortracker" /> |
| |
| <!--test file's identifier key and path which can be a local path or a GCS path(as below)--> |
| <option name="uicd-test" key="tracker" value="gs://uicd-samples/tests/tracker-1.2.1" /> |
| </test> |
| |
| <logger class="com.android.tradefed.log.FileLogger" > |
| <option name="log-level-display" value="debug" /> |
| </logger> |
| |
| |
| </configuration> |