blob: bfebb42ad24432bf65ee0cb2b2d003fc34f214e8 [file] [log] [blame]
Kohsuke Yatoh08603e62021-08-03 17:32:20 -07001<?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="InputMethod integration/regression test">
17 <option name="test-suite-tag" value="apct" />
18
19 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
20
Kohsuke Yatoh27f81d52022-02-23 11:08:32 -080021 <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
czq48ac6e92023-06-02 10:37:17 +080022 <option name="run-command" value="setprop debug.wm.disable_deprecated_abi_dialog 1" />
Kohsuke Yatohfd0314d2022-02-24 17:23:37 -080023 <option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1" />
24 <option name="teardown-command" value="settings delete secure show_ime_with_hard_keyboard" />
Kohsuke Yatoh27f81d52022-02-23 11:08:32 -080025 </target_preparer>
26
Kohsuke Yatoh08603e62021-08-03 17:32:20 -070027 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
28 <option name="cleanup-apks" value="true" />
czq4ce03222023-03-06 13:07:52 +080029 <option name="test-file-name" value="SimpleTestIme.apk" />
Kohsuke Yatoh08603e62021-08-03 17:32:20 -070030 <option name="test-file-name" value="InputMethodStressTest.apk" />
31 </target_preparer>
32
33 <test class="com.android.tradefed.testtype.AndroidJUnitTest">
34 <option name="package" value="com.android.inputmethod.stresstest" />
35 </test>
Kohsuke Yatohf75e0a02022-04-07 23:49:25 -070036
37 <!-- Collect the files in the dump directory for debugging -->
38 <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector">
39 <option name="directory-keys" value="/sdcard/InputMethodStressTest/" />
40 <option name="collect-on-run-ended-only" value="true" />
41 </metrics_collector>
Kohsuke Yatoh08603e62021-08-03 17:32:20 -070042</configuration>