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 Tests for SystemUI."> |
| 17 | <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup"> |
| 18 | <option name="test-file-name" value="SystemUITests.apk" /> |
Songchun Fan | dd6029b | 2022-08-25 10:34:36 -0700 | [diff] [blame] | 19 | <option name="install-arg" value="-t" /> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 20 | </target_preparer> |
| 21 | |
Guang Zhu | 7d6a7c5 | 2021-12-03 15:22:58 -0800 | [diff] [blame] | 22 | <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> |
| 23 | <option name="force-root" value="true" /> |
| 24 | </target_preparer> |
| 25 | |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 26 | <option name="test-suite-tag" value="apct" /> |
Dan Shi | dda7333 | 2017-05-19 10:52:03 -0700 | [diff] [blame] | 27 | <option name="test-suite-tag" value="framework-base-presubmit" /> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 28 | <option name="test-tag" value="SystemUITests" /> |
Dan Shi | 1fee398 | 2017-03-22 22:30:53 -0700 | [diff] [blame] | 29 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 30 | <option name="package" value="com.android.systemui.tests" /> |
Simran Basi | fedab02 | 2017-08-31 10:54:06 -0700 | [diff] [blame] | 31 | <option name="runner" value="android.testing.TestableInstrumentation" /> |
Guang Zhu | 7d6a7c5 | 2021-12-03 15:22:58 -0800 | [diff] [blame] | 32 | <option name="test-filter-dir" value="/data/data/com.android.systemui.tests" /> |
Nicolas Geoffray | b0284fb | 2018-04-06 14:03:18 +0100 | [diff] [blame] | 33 | <option name="hidden-api-checks" value="false"/> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 34 | </test> |
Marcelo Arteiro | 29cd798 | 2024-02-19 10:14:15 +0000 | [diff] [blame^] | 35 | |
| 36 | <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector"> |
| 37 | <option name="directory-keys" |
| 38 | value="/data/user/0/com.android.systemui.tests/files"/> |
| 39 | <option name="collect-on-run-ended-only" value="true"/> |
| 40 | <option name="clean-up" value="true"/> |
| 41 | </metrics_collector> |
Dan Shi | 7f2afd2 | 2017-03-17 10:21:28 -0700 | [diff] [blame] | 42 | </configuration> |