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 21 <!--option apk-path can be repeated with apks that are needed for the device specific tests--> 22 <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-test-v1.0.2.apk" /> 23 <option name="apk-path" value="gs://uicd-deps/deps/apks/uicd-xmldumper-server-v1.0.2.apk" /> 24 </target_preparer> 25 26 <!--Provide the test related information here--> 27 <test class="com.android.uicd.tests.UiConductorTest" > 28 29 <!--This is the required uicd-cli jar for the uicd-tests to run--> 30 <option name="uicd-cli-jar" value="gs://uicd-deps/cli/uicd-commandline.jar" /> 31 32 <!--mode of the tests. Can be SINGLE, MULTIDEVICE or PLAYALL. But only one at a time.--> 33 <option name="play-mode" value="SINGLE" /> 34 35 <!--test file's identifier key and path which can be a local path or a GCS path(as below)--> 36 <option name="uicd-test" key="nuwa_python_test" value="gs://uicd-samples/tests/nuwa_python_test" /> 37 38 <!--Path of the executable that is referenced in command line action--> 39 <option name="commandline-action-executable" value="gs://uicd-samples/executables/basic_nuwa_script" /> 40 </test> 41 42 <logger class="com.android.tradefed.log.FileLogger" > 43 <option name="log-level-display" value="debug" /> 44 </logger> 45 46 47</configuration>