blob: f60e6b16c4683700c2527e950c99741ad2f0bf53 [file] [log] [blame]
Guang Zhu7afa91e2015-02-06 00:44:34 -08001<?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-->
Stuart Scott1bf91b22015-10-05 17:37:41 -070016<configuration description="Config for CTS Accessibility test cases">
17 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.ApkInstaller">
18 <option name="cleanup-apks" value="true" />
19 <option name="test-file-name" value="CtsAccessibilityTestCases.apk" />
20 <option name="test-file-name" value="CtsSomeAccessibilityServices.apk" />
21 </target_preparer>
22 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer" >
23 <option name="run-command" value="settings put secure enabled_accessibility_services android.view.accessibility.services/.SpeakingAccessibilityService:android.view.accessibility.services/.VibratingAccessibilityService" />
24 <option name="run-command" value="settings put secure touch_exploration_granted_accessibility_services android.view.accessibility.services/.SpeakingAccessibilityService:android.view.accessibility.services/.VibratingAccessibilityService" />
25 <option name="run-command" value="settings put secure accessibility_enabled 1" />
26 <option name="teardown-command" value="settings put secure enabled_accessibility_services &quot;&quot;" />
27 <option name="teardown-command" value="settings put secure touch_exploration_granted_accessibility_services &quot;&quot;" />
28 <option name="teardown-command" value="settings put secure accessibility_enabled 0" />
29 </target_preparer>
30 <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
Stuart Scott7ee79832015-09-14 16:03:45 -070031 <option name="package" value="android.view.accessibility.cts" />
Stuart Scott0f2d8db2015-08-11 10:12:06 -070032 </test>
Stuart Scott1bf91b22015-10-05 17:37:41 -070033</configuration>