Jerry Zhang | 327b809 | 2018-01-09 17:53:04 -0800 | [diff] [blame] | 1 | <!-- Copyright (C) 2018 The Android Open Source Project |
| 2 | |
| 3 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | you may not use this file except in compliance with the License. |
| 5 | You may obtain a copy of the License at |
| 6 | |
| 7 | http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | |
| 9 | Unless required by applicable law or agreed to in writing, software |
| 10 | distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | See the License for the specific language governing permissions and |
| 13 | limitations under the License. |
| 14 | --> |
| 15 | <configuration description="Runs sample instrumentation test."> |
| 16 | <target_preparer class="com.android.tradefed.targetprep.TestFilePushSetup"/> |
| 17 | <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup"> |
| 18 | <option name="test-file-name" value="UsbTests.apk"/> |
| 19 | </target_preparer> |
| 20 | <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"/> |
| 21 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"/> |
| 22 | <option name="test-suite-tag" value="apct"/> |
| 23 | <option name="test-tag" value="UsbTests"/> |
| 24 | |
| 25 | <test class="com.android.tradefed.testtype.AndroidJUnitTest"> |
| 26 | <option name="package" value="com.android.server.usb"/> |
| 27 | <option name="runner" value="android.support.test.runner.AndroidJUnitRunner"/> |
| 28 | </test> |
| 29 | </configuration> |