| Alex Buynytskyy | 83e09119 | 2022-11-20 22:01:24 +0000 | [diff] [blame] | 1 | <?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 Buynytskyy | 5a7749f | 2023-03-10 21:00:24 +0000 | [diff] [blame] | 23 | <option name="install-arg" value="-g" /> |
| Alex Buynytskyy | 83e09119 | 2022-11-20 22:01:24 +0000 | [diff] [blame] | 24 | <option name="test-file-name" value="PackageManagerServiceServerTests.apk" /> |
| 25 | </target_preparer> |
| Sumedh Sen | 8943c143 | 2023-05-31 18:26:38 -0700 | [diff] [blame] | 26 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 27 | <option name="run-command" value="settings put global verifier_engprod 1" /> |
| 28 | </target_preparer> |
| Alex Buynytskyy | 83e09119 | 2022-11-20 22:01:24 +0000 | [diff] [blame] | 29 | |
| Songchun Fan | a425dda | 2023-06-01 11:16:39 -0700 | [diff] [blame] | 30 | <!-- 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 Buynytskyy | 83e09119 | 2022-11-20 22:01:24 +0000 | [diff] [blame] | 35 | <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> |