diff options
Diffstat (limited to 'tests/NonSuwPoProvisioning/AndroidTest.xml')
-rw-r--r-- | tests/NonSuwPoProvisioning/AndroidTest.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/NonSuwPoProvisioning/AndroidTest.xml b/tests/NonSuwPoProvisioning/AndroidTest.xml new file mode 100644 index 0000000..d0c9235 --- /dev/null +++ b/tests/NonSuwPoProvisioning/AndroidTest.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 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. +--> + +<!-- This file contains configurations used to prepare a testing device for running the + test in in AfwTestNonSuwPoProvisioningTestCases.apk. +--> +<configuration description="Test configurations for AfwTestNonSuwPoProvisioningTestCases"> + + <!-- Disable adb root option as this test is intended to be running on production build. --> + <target_preparer class="com.android.afwtest.tradefed.targetprep.AfwTestAdbRootOptionPreparer"> + <option name="enable-root-option" value="false"/> + </target_preparer> + + <!-- General device setup --> + <include name="afw-test-common"/> + + <!-- Connect wifi --> + <include name="afw-test-wifi"/> + + <!-- Push afw-test.props --> + <include name="afw-test-push-test-suite-config"/> + + <!-- Uninstall TestDpc and reset users. --> + <include name="afw-test-uninstall-testdpc-and-reset-users"/> + + <!-- Force-stop Google Search App after the test as it often becomes not responding. --> + <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> + <option name="teardown-command" value="am force-stop com.google.android.googlequicksearchbox"/> + </target_preparer> + + <!-- Dump testing environment info to android-cts/repository/logs/ --> + <target_preparer class="com.android.afwtest.tradefed.targetprep.AfwTestEnvDumper" > + <option name="file-name-prefix" value="AfwTestNonSuwPoProvisioningTestCases"/> + </target_preparer> + + <!-- Copy Provisioning-Stats.csv to local file --> + <target_preparer class="com.android.afwtest.tradefed.targetprep.AfwTestPullExternalFile" > + <option name="remote-file" value="Provisioning-Stats.csv"/> + <option name="local-file" value="/stats/NonSuwPoProvisioning/Provisioning-Stats.csv"/> + </target_preparer> +</configuration> |