| Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [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."> |
| jdesprez | 421e8f6 | 2018-03-29 15:45:17 -0700 | [diff] [blame] | 17 | <option name="test-suite-tag" value="apct" /> |
| 18 | <option name="test-suite-tag" value="apct-instrumentation" /> |
| Jing Ji | 53ff250 | 2021-11-23 20:58:45 -0800 | [diff] [blame] | 19 | |
| 20 | <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> |
| 21 | <option name="cleanup" value="true" /> |
| 22 | <option name="push-file" key="SimpleServiceTestApp3.apk" |
| 23 | value="/data/local/tmp/cts/content/SimpleServiceTestApp3.apk" /> |
| Alex Buynytskyy | 5112cfe | 2023-03-01 09:56:23 -0800 | [diff] [blame] | 24 | <option name="push-file" key="broken_shortcut.xml" |
| 25 | value="/data/local/tmp/cts/content/broken_shortcut.xml" /> |
| Jing Ji | 53ff250 | 2021-11-23 20:58:45 -0800 | [diff] [blame] | 26 | </target_preparer> |
| 27 | |
| jdesprez | 421e8f6 | 2018-03-29 15:45:17 -0700 | [diff] [blame] | 28 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| Suprabh Shukla | 021b57a | 2018-03-08 18:21:50 -0800 | [diff] [blame] | 29 | <option name="cleanup-apks" value="true" /> |
| Suprabh Shukla | 77e2245 | 2018-05-22 18:02:37 -0700 | [diff] [blame] | 30 | <option name="install-arg" value="-t" /> |
| Dmitri Plotnikov | 842b134 | 2022-05-27 16:58:27 -0700 | [diff] [blame] | 31 | <option name="test-file-name" value="BstatsTestApp.apk" /> |
| Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 32 | <option name="test-file-name" value="FrameworksServicesTests.apk" /> |
| Suprabh Shukla | 3ac1daa | 2017-07-14 12:15:27 -0700 | [diff] [blame] | 33 | <option name="test-file-name" value="JobTestApp.apk" /> |
| Suprabh Shukla | 021b57a | 2018-03-08 18:21:50 -0800 | [diff] [blame] | 34 | <option name="test-file-name" value="SuspendTestApp.apk" /> |
| Jing Ji | f45997c | 2021-03-26 00:50:09 -0700 | [diff] [blame] | 35 | <option name="test-file-name" value="SimpleServiceTestApp1.apk" /> |
| 36 | <option name="test-file-name" value="SimpleServiceTestApp2.apk" /> |
| 37 | <option name="test-file-name" value="SimpleServiceTestApp3.apk" /> |
| Iván Budnik | 9244e02 | 2022-11-28 19:06:49 +0000 | [diff] [blame] | 38 | <option name="test-file-name" value="MediaButtonReceiverHolderTestHelperApp.apk" /> |
| Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 39 | </target_preparer> |
| 40 | |
| Jackal Guo | a4a15f1 | 2021-11-16 13:44:59 +0800 | [diff] [blame] | 41 | <!-- Create place to store apks --> |
| 42 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 43 | <option name="run-command" value="mkdir -p /data/local/tmp/servicestests" /> |
| 44 | <option name="teardown-command" value="rm -rf /data/local/tmp/servicestests"/> |
| 45 | </target_preparer> |
| 46 | |
| Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 47 | <option name="test-tag" value="FrameworksServicesTests" /> |
| Dan Shi | 1fee398 | 2017-03-22 22:30:53 -0700 | [diff] [blame] | 48 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 49 | <option name="package" value="com.android.frameworks.servicestests" /> |
| Brett Chabot | a26eda9 | 2018-07-23 13:08:30 -0700 | [diff] [blame] | 50 | <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" /> |
| Nicolas Geoffray | b0284fb | 2018-04-06 14:03:18 +0100 | [diff] [blame] | 51 | <option name="hidden-api-checks" value="false"/> |
| Michael Wright | eedfcc8 | 2022-07-06 20:01:37 +0100 | [diff] [blame] | 52 | <option name="exclude-annotation" value="androidx.test.filters.FlakyTest" /> |
| Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 53 | </test> |
| 54 | </configuration> |