| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
<configuration> |
| 17 |
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| 18 |
<option name="cleanup-apks" value="true" /> |
| 19 |
<option name="test-file-name" value="ComponentAliasTests.apk" /> |
| 20 |
<option name="test-file-name" value="ComponentAliasTests1.apk" /> |
| 21 |
<option name="test-file-name" value="ComponentAliasTests2.apk" /> |
| 22 |
</target_preparer> |
| 23 |
<target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 24 |
|
| 25 |
<option name="run-command" value="cmd deviceidle whitelist +android.content.componentalias.tests" /> |
| 26 |
<option name="run-command" value="cmd deviceidle whitelist +android.content.componentalias.tests.sub1" /> |
| 27 |
<option name="run-command" value="cmd deviceidle whitelist +android.content.componentalias.tests.sub2" /> |
| 28 |
|
| 29 |
<option name="teardown-command" value="cmd deviceidle whitelist -android.content.componentalias.tests" /> |
| 30 |
<option name="teardown-command" value="cmd deviceidle whitelist -android.content.componentalias.tests.sub1" /> |
| 31 |
<option name="teardown-command" value="cmd deviceidle whitelist -android.content.componentalias.tests.sub2" /> |
| 32 |
</target_preparer> |
| 33 |
<test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| 34 |
<option name="package" value="{PACKAGE}" /> |
| 35 |
<option name="runtime-hint" value="2m" /> |
| 36 |
<option name="isolated-storage" value="false" /> |
| 37 |
</test> |
| 38 |
</configuration> |