blob: a0ef03c69e3aa49995a943ccb4cb3e0513f961f9 [file] [log] [blame]
Alex Buynytskyy83e091192022-11-20 22:01:24 +00001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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="Runs Frameworks Services Tests.">
17 <option name="test-suite-tag" value="apct" />
18 <option name="test-suite-tag" value="apct-instrumentation" />
19
20 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
21 <option name="cleanup-apks" value="true" />
22 <option name="install-arg" value="-t" />
Alex Buynytskyy5a7749f2023-03-10 21:00:24 +000023 <option name="install-arg" value="-g" />
Alex Buynytskyy83e091192022-11-20 22:01:24 +000024 <option name="test-file-name" value="PackageManagerServiceServerTests.apk" />
25 </target_preparer>
Sumedh Sen8943c1432023-05-31 18:26:38 -070026 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
27 <option name="run-command" value="settings put global verifier_engprod 1" />
28 </target_preparer>
Alex Buynytskyy83e091192022-11-20 22:01:24 +000029
Songchun Fana425dda2023-06-01 11:16:39 -070030 <!-- Load additional APKs onto device -->
31 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
32 <option name="push" value="StubTestApp.apk->/data/local/tmp/servicestests/StubTestApp.apk"/>
33 </target_preparer>
34
Alex Buynytskyy83e091192022-11-20 22:01:24 +000035 <option name="test-tag" value="PackageManagerServiceServerTests" />
36 <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
37 <option name="package" value="com.android.server.pm.test.service.server" />
38 <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
39 <option name="hidden-api-checks" value="false"/>
40 <option name="exclude-annotation" value="androidx.test.filters.FlakyTest" />
41 </test>
42</configuration>