Kohsuke Yatoh | 08603e6 | 2021-08-03 17:32:20 -0700 | [diff] [blame] | 1 | <?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 Yatoh | 27f81d5 | 2022-02-23 11:08:32 -0800 | [diff] [blame] | 21 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
czq | 48ac6e9 | 2023-06-02 10:37:17 +0800 | [diff] [blame] | 22 | <option name="run-command" value="setprop debug.wm.disable_deprecated_abi_dialog 1" /> |
Kohsuke Yatoh | fd0314d | 2022-02-24 17:23:37 -0800 | [diff] [blame] | 23 | <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 Yatoh | 27f81d5 | 2022-02-23 11:08:32 -0800 | [diff] [blame] | 25 | </target_preparer> |
| 26 | |
Kohsuke Yatoh | 08603e6 | 2021-08-03 17:32:20 -0700 | [diff] [blame] | 27 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| 28 | <option name="cleanup-apks" value="true" /> |
czq | 4ce0322 | 2023-03-06 13:07:52 +0800 | [diff] [blame] | 29 | <option name="test-file-name" value="SimpleTestIme.apk" /> |
Kohsuke Yatoh | 08603e6 | 2021-08-03 17:32:20 -0700 | [diff] [blame] | 30 | <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 Yatoh | f75e0a0 | 2022-04-07 23:49:25 -0700 | [diff] [blame] | 36 | |
| 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 Yatoh | 08603e6 | 2021-08-03 17:32:20 -0700 | [diff] [blame] | 42 | </configuration> |