blob: c7097db8682d2b9234a8d955fd29c62d88f3c271 [file] [log] [blame]
Jiyong Parke33e02b2021-10-27 21:12:20 +09001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 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 sample instrumentation test.">
Jiyong Park70bf0682022-02-07 15:16:12 +000017 <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
Jiyong Parke33e02b2021-10-27 21:12:20 +090018 <option name="test-file-name" value="MicrodroidTestApp.apk" />
19 </target_preparer>
Jiyong Parkbda1e212021-10-29 20:13:37 +090020 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
21 <option
22 name="run-command"
23 value="pm grant com.android.microdroid.test android.permission.MANAGE_VIRTUAL_MACHINE" />
24 </target_preparer>
Jiyong Parke33e02b2021-10-27 21:12:20 +090025 <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
26 <option name="package" value="com.android.microdroid.test" />
27 <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
Jiyong Parkbda1e212021-10-29 20:13:37 +090028 <option name="shell-timeout" value="300000" />
29 <option name="test-timeout" value="300000" />
Jiyong Parke33e02b2021-10-27 21:12:20 +090030 </test>
31</configuration>