1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2021 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16<configuration description="Config for CTS domain verification device standalone test cases">
17    <option name="test-suite-tag" value="cts" />
18    <option name="config-descriptor:metadata" key="component" value="packagemanager" />
19    <option name="config-descriptor:metadata" key="parameter" value="multi_abi" />
20    <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
21    <option name="config-descriptor:metadata" key="parameter" value="secondary_user" />
22    <option name="config-descriptor:metadata" key="parameter" value="no_foldable_states" />
23
24    <target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
25        <option name="force-skip-system-props" value="true" />
26        <option name="set-global-setting" key="verifier_engprod" value="1" />
27        <option name="set-global-setting" key="verifier_verify_adb_installs" value="0" />
28        <option name="restore-settings" value="true" />
29    </target_preparer>
30
31    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
32        <option name="cleanup-apks" value="true" />
33        <option name="test-file-name" value="CtsDomainVerificationDeviceStandaloneTestCases.apk" />
34        <option name="test-file-name" value="CtsDomainVerificationTestDeclaringApp1.apk" />
35        <option name="test-file-name" value="CtsDomainVerificationTestDeclaringApp2.apk" />
36        <option name="install-arg" value="-t" />
37    </target_preparer>
38
39    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
40        <option name="cleanup" value="true" />
41        <option name="push" value="CtsDomainVerificationTestDeclaringApp1.apk->/data/local/tmp/CtsDomainVerificationTestDeclaringApp1.apk" />
42    </target_preparer>
43
44    <test class="com.android.tradefed.testtype.AndroidJUnitTest">
45        <option name="package"
46            value="com.android.cts.packagemanager.verify.domain.device.standalone" />
47    </test>
48</configuration>
49
50