• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 multi-device test">
17
18  <!-- Each device configuration -->
19  <device name="device1">
20
21    <!--These are the dependency apks that needs to be installed in the devices to run uicd successfully-->
22    <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup">
23
24      <!--option apk-path can be repeated with apks that are needed for the device specific tests-->
25      <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-test-v1.0.2.apk" />
26      <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-v1.0.2.apk" />
27    </target_preparer>
28  </device>
29
30  <!-- A device tag can be completely empty if it doesn't require any setup -->
31  <device name="device2">
32
33    <!--These are the dependency apks that needs to be installed in the devices to run uicd successfully-->
34    <target_preparer class="com.android.tradefed.targetprep.InstallApkSetup">
35
36      <!--option apk-path can be repeated with apks that are needed for the device specific tests-->
37      <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-test-v1.0.2.apk" />
38      <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-v1.0.2.apk" />
39    </target_preparer>
40  </device>
41
42  <!--Provide the test related information here-->
43  <test class="com.android.uicd.tests.UiConductorTest" >
44
45    <!--This is the required uicd-cli jar for the uicd-tests to run-->
46    <option name="uicd-cli-jar" value="gs://uicd-deps/cli/uicd-commandline.jar" />
47
48    <!--mode of the tests. Can be SINGLE, MULTIDEVICE or PLAYALL. But only one at a time.-->
49    <option name="play-mode" value="MULTIDEVICE" />
50
51    <!--Global variables for a particular tests are identified through the keys-->
52    <!--Global variables are key value pairs separated by "=" as shown below-->
53    <option name="global-variables" key="tracker" value="uicd_key1=value1Fortracker" />
54
55    <!--test file's identifier key and path which can be a local path or a GCS path(as below)-->
56    <option name="uicd-test" key="tracker" value="gs://uicd-samples/tests/tracker-1.2.1" />
57  </test>
58
59  <logger class="com.android.tradefed.log.FileLogger" >
60    <option name="log-level-display" value="debug" />
61  </logger>
62
63
64</configuration>