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 multi user test cases"> 17 <option name="test-suite-tag" value="cts" /> 18 <option name="config-descriptor:metadata" key="component" value="framework" /> 19 <option name="config-descriptor:metadata" key="parameter" value="multi_abi" /> 20 <option name="config-descriptor:metadata" key="parameter" value="multiuser" /> 21 <!-- Instant apps can never be device admin / profile owner / device owner so positive tests 22 here are not applicable --> 23 <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" /> 24 <!-- Device admin/owner requires being run in system user --> 25 <option name="config-descriptor:metadata" key="parameter" value="not_secondary_user" /> 26 27 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> 28 <option name="cleanup-apks" value="true" /> 29 <option name="test-file-name" value="CtsDomainVerificationDeviceMultiUserTestCases.apk" /> 30 <option name="install-arg" value="-t" /> 31 </target_preparer> 32 33 <test class="com.android.tradefed.testtype.AndroidJUnitTest"> 34 <option name="package" 35 value="com.android.cts.packagemanager.verify.domain.device.multiuser" /> 36 <option name="exclude-annotation" 37 value="com.android.bedstead.harrier.annotations.RequireRunOnWorkProfile" /> 38 <option name="exclude-annotation" 39 value="com.android.bedstead.harrier.annotations.RequireRunOnSecondaryUser" /> 40 </test> 41</configuration> 42 43