Sergey Poromov | 1ade345 | 2016-04-08 13:50:08 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2016 The Android Open Source Project |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License |
| 16 | --> |
| 17 | <configuration description="Config for CTS Backup test cases"> |
jdesprez | 503a3db | 2017-12-16 04:19:31 -0800 | [diff] [blame] | 18 | <option name="test-suite-tag" value="cts" /> |
Guang Zhu | c40b6fd | 2017-06-02 17:17:14 -0700 | [diff] [blame] | 19 | <option name="config-descriptor:metadata" key="component" value="backup" /> |
jovanak | bc55a33 | 2019-01-16 13:45:20 -0800 | [diff] [blame] | 20 | |
| 21 | <target_preparer class="com.android.tradefed.targetprep.SwitchUserTargetPreparer"> |
| 22 | <option name="user-type" value="system" /> |
| 23 | </target_preparer> |
| 24 | |
jdesprez | fd6d41d | 2017-04-11 15:43:44 -0700 | [diff] [blame] | 25 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Sergey Poromov | 1ade345 | 2016-04-08 13:50:08 +0200 | [diff] [blame] | 26 | <option name="cleanup-apks" value="true" /> |
Bryan Mawhinney | 133cdf0 | 2017-06-23 16:19:16 +0100 | [diff] [blame] | 27 | <option name="test-file-name" value="CtsFullBackupApp.apk" /> |
| 28 | <option name="test-file-name" value="CtsKeyValueBackupApp.apk" /> |
Sergey Poromov | 1ade345 | 2016-04-08 13:50:08 +0200 | [diff] [blame] | 29 | <option name="test-file-name" value="CtsBackupTestCases.apk" /> |
| 30 | </target_preparer> |
Bryan Mawhinney | 69b0958 | 2017-06-28 15:56:00 +0100 | [diff] [blame] | 31 | <target_preparer class="android.cts.backup.BackupPreparer"> |
| 32 | <option name="enable-backup-if-needed" value="true" /> |
| 33 | <option name="select-local-transport" value="true" /> |
| 34 | </target_preparer> |
Sergey Poromov | 1ade345 | 2016-04-08 13:50:08 +0200 | [diff] [blame] | 35 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| 36 | <option name="package" value="android.backup.cts" /> |
Julien Desprez | 34a8fa5 | 2016-11-02 12:11:38 +0000 | [diff] [blame] | 37 | <option name="runtime-hint" value="8m20s" /> |
Sergey Poromov | 1ade345 | 2016-04-08 13:50:08 +0200 | [diff] [blame] | 38 | </test> |
| 39 | </configuration> |