1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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 the ui conductor test">
17
18  <!--These are the dependency apks that needs to be installed in the devices to run uicd successfully-->
19  <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup">
20    <!--option apk-path can be repeated with apks that are needed for the device specific tests-->
21    <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-test-v1.0.2.apk" />
22    <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-v1.0.2.apk" />
23  </target_preparer>
24
25  <!--Provide the test related information here-->
26  <test class="com.android.uicd.tests.UiConductorTest" >
27
28    <!--This is the required uicd-cli jar for the uicd-tests to run-->
29    <option name="uicd-cli-jar" value="gs://uicd-deps/cli/uicd-commandline.jar" />
30
31    <!--Mode of the tests. Can be SINGLE, MULTIDEVICE or PLAYALL. But only one at a time.-->
32    <option name="play-mode" value="SINGLE" />
33
34    <!--Global variables for a particular tests are identified through the xml keys-->
35    <!--Global variables are key value pairs separated by "=" in the xml values as shown below-->
36    <!--Multiple global variables can be repeated as shown below-->
37    <option name="global-variables" key="dummytest1" value="uicd_key1=value1Fordummytest1" />
38    <option name="global-variables" key="dummytest1" value="uicd_key2=value2Fordummytest1" />
39
40    <!--Global variable pairs can be grouped together separated by ","-->
41    <option name="global-variables" key="dummytest2" value="uicd_key1=value1Fordummytest2,uicd_key2=value2Fordummytest2" />
42
43    <!--test file's identifier key and path which can be a local path or a GCS path(as below)-->
44    <!--Global variables for dummytest1 is resolved as "uicd_key1=value1Fordummytest1,uicd_key2=value2Fordummytest1"-->
45    <option name="uicd-test" key="dummytest1" value="gs://uicd-samples/tests/tests_subdir1/dummytest1" />
46
47    <!--Global variables for dummytest2 is resolved as "uicd_key1=value1Fordummytest2,uicd_key2=value2Fordummytest2"-->
48    <option name="uicd-test" key="dummytest2" value="gs://uicd-samples/tests/tests_subdir1/tests_subdir2/dummytest2" />
49
50    <!--No global variables for hellothisworks-->
51    <option name="uicd-test" key="hellothisworks" value="gs://uicd-samples/tests/hellothisworks" />
52  </test>
53
54  <logger class="com.android.tradefed.log.FileLogger" >
55    <option name="log-level-display" value="debug" />
56  </logger>
57</configuration>