xref: /aosp_15_r20/test/cts-root/hostsidetests/rollback/AndroidTest.xml (revision fc9e02cc466b32ca348fe8172a44255464d9ce4e)
1*fc9e02ccSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*fc9e02ccSAndroid Build Coastguard Worker<!-- Copyright (C) 2021 The Android Open Source Project
3*fc9e02ccSAndroid Build Coastguard Worker
4*fc9e02ccSAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*fc9e02ccSAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*fc9e02ccSAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*fc9e02ccSAndroid Build Coastguard Worker
8*fc9e02ccSAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*fc9e02ccSAndroid Build Coastguard Worker
10*fc9e02ccSAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*fc9e02ccSAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*fc9e02ccSAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*fc9e02ccSAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*fc9e02ccSAndroid Build Coastguard Worker     limitations under the License.
15*fc9e02ccSAndroid Build Coastguard Worker-->
16*fc9e02ccSAndroid Build Coastguard Worker<configuration description="Runs the RollbackManager host tests">
17*fc9e02ccSAndroid Build Coastguard Worker    <option name="test-suite-tag" value="cts_root" />
18*fc9e02ccSAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="component" value="framework" />
19*fc9e02ccSAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
20*fc9e02ccSAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
21*fc9e02ccSAndroid Build Coastguard Worker    <option name="config-descriptor:metadata" key="parameter" value="not_secondary_user" />
22*fc9e02ccSAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
23*fc9e02ccSAndroid Build Coastguard Worker        <option name="cleanup-apks" value="true" />
24*fc9e02ccSAndroid Build Coastguard Worker        <option name="test-file-name" value="CtsRootRollbackManagerHostTestHelperApp.apk" />
25*fc9e02ccSAndroid Build Coastguard Worker    </target_preparer>
26*fc9e02ccSAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
27*fc9e02ccSAndroid Build Coastguard Worker    <target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
28*fc9e02ccSAndroid Build Coastguard Worker        <option name="auto-update-time" value="OFF"/>
29*fc9e02ccSAndroid Build Coastguard Worker        <option name="auto-update-timezone" value="OFF"/>
30*fc9e02ccSAndroid Build Coastguard Worker    </target_preparer>
31*fc9e02ccSAndroid Build Coastguard Worker    <test class="com.android.tradefed.testtype.HostTest" >
32*fc9e02ccSAndroid Build Coastguard Worker        <option name="class" value="com.android.cts_root.rollback.host.RollbackManagerHostTest" />
33*fc9e02ccSAndroid Build Coastguard Worker    </test>
34*fc9e02ccSAndroid Build Coastguard Worker    <!-- Controller that will skip the module if a native bridge situation is detected -->
35*fc9e02ccSAndroid Build Coastguard Worker    <!-- For example: module wants to run arm and device is x86 -->
36*fc9e02ccSAndroid Build Coastguard Worker    <object type="module_controller" class="com.android.tradefed.testtype.suite.module.NativeBridgeModuleController" />
37*fc9e02ccSAndroid Build Coastguard Worker</configuration>
38