Xml文件  |  47行  |  2.12 KB

<?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 test">

  <!--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>

  <!--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="SINGLE" />

    <!--test file's identifier key and path which can be a local path or a GCS path(as below)-->
    <option name="uicd-test" key="nuwa_python_test" value="gs://uicd-samples/tests/nuwa_python_test" />

    <!--Path of the executable that is referenced in command line action-->
    <option name="commandline-action-executable" value="gs://uicd-samples/executables/basic_nuwa_script" />
  </test>

  <logger class="com.android.tradefed.log.FileLogger" >
    <option name="log-level-display" value="debug" />
  </logger>


</configuration>