blob: 9b6ab65b8b2b7d2e1f2ea081375803063d99ac3b [file] [log] [blame]
Sergey Poromov1ade3452016-04-08 13:50:08 +02001<?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">
jdesprez503a3db2017-12-16 04:19:31 -080018 <option name="test-suite-tag" value="cts" />
Guang Zhuc40b6fd2017-06-02 17:17:14 -070019 <option name="config-descriptor:metadata" key="component" value="backup" />
jovanakbc55a332019-01-16 13:45:20 -080020
21 <target_preparer class="com.android.tradefed.targetprep.SwitchUserTargetPreparer">
22 <option name="user-type" value="system" />
23 </target_preparer>
24
jdesprezfd6d41d2017-04-11 15:43:44 -070025 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
Sergey Poromov1ade3452016-04-08 13:50:08 +020026 <option name="cleanup-apks" value="true" />
Bryan Mawhinney133cdf02017-06-23 16:19:16 +010027 <option name="test-file-name" value="CtsFullBackupApp.apk" />
28 <option name="test-file-name" value="CtsKeyValueBackupApp.apk" />
Sergey Poromov1ade3452016-04-08 13:50:08 +020029 <option name="test-file-name" value="CtsBackupTestCases.apk" />
30 </target_preparer>
Bryan Mawhinney69b09582017-06-28 15:56:00 +010031 <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 Poromov1ade3452016-04-08 13:50:08 +020035 <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
36 <option name="package" value="android.backup.cts" />
Julien Desprez34a8fa52016-11-02 12:11:38 +000037 <option name="runtime-hint" value="8m20s" />
Sergey Poromov1ade3452016-04-08 13:50:08 +020038 </test>
39</configuration>