blob: 337ada0b0787b18102157b01bda32c561d6d5c1c [file] [log] [blame]
Vladislav Kaznacheev9972c792016-05-31 17:42:41 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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-->
Steven Timotius25a4cf62017-08-29 10:21:28 -070016<configuration description="Config for CTS WindowManager test cases">
jdesprez503a3db2017-12-16 04:19:31 -080017 <option name="test-suite-tag" value="cts" />
Steven Timotius25a4cf62017-08-29 10:21:28 -070018 <option name="config-descriptor:metadata" key="component" value="framework"/>
19 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.LocationCheck"/>
jdesprezfd6d41d2017-04-11 15:43:44 -070020 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
Steven Timotius25a4cf62017-08-29 10:21:28 -070021 <option name="cleanup-apks" value="true"/>
22 <option name="test-file-name" value="CtsWindowManagerDeviceTestCases.apk"/>
23 <option name="test-file-name" value="CtsDragAndDropSourceApp.apk"/>
24 <option name="test-file-name" value="CtsDragAndDropTargetApp.apk"/>
Steven Timotius25a4cf62017-08-29 10:21:28 -070025 <option name="test-file-name" value="CtsDeviceAlertWindowTestApp.apk"/>
Tadashi G. Takaoka255aa342017-10-27 18:12:35 +090026 <option name="test-file-name" value="CtsAlertWindowService.apk"/>
Vladislav Kaznacheev9972c792016-05-31 17:42:41 -070027 </target_preparer>
Julien Desprezb494a2a2018-06-06 11:27:32 -070028 <!-- Some older apk cannot be installed as instant, so we force them full mode -->
29 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
30 <option name="cleanup-apks" value="true"/>
31 <option name="force-install-mode" value="FULL"/>
32 <option name="test-file-name" value="CtsDragAndDropTargetAppSdk23.apk"/>
33 <option name="test-file-name" value="CtsDeviceAlertWindowTestAppSdk25.apk"/>
34 </target_preparer>
Steven Timotius25a4cf62017-08-29 10:21:28 -070035 <test class="com.android.tradefed.testtype.AndroidJUnitTest">
36 <option name="package" value="android.server.cts.wm"/>
37 <option name="runtime-hint" value="8m"/>
Vladislav Kaznacheev9972c792016-05-31 17:42:41 -070038 </test>
Steven Timotius25a4cf62017-08-29 10:21:28 -070039
Vladislav Kaznacheev9972c792016-05-31 17:42:41 -070040</configuration>