summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Lan Wei <azurewei@google.com> 2022-11-21 14:57:43 +0800
committer Lan Wei <azurewei@google.com> 2022-12-08 20:47:13 +0800
commit640b2b793f67c909f746385d036511bc4ad40125 (patch)
treee11eef0c0a959cb6a1fdb3ccfb957226cf0a1c6a /services/coverage/java
parent894ef374e538163d32ea29c370465c448edb7ced (diff)
Add test app SimpleTestIme to test InputMethodService
Add a test app SimpleTestIme under services/tests/InputMethodSystemServerTests/test-apps/ which provides the basic functionality of a keyboard. Using it as the target package of instrumentation test, which means we have access to all the class instances running in it under the tests, including InputMethodService. In this way we can get a real InputMethodService instance, then manipulate and test the states of it. Add simple test cases to verify the behavior of some public methods like: * onStartInput()/onFinishInput() * onStartInputView()/onFinishInputView() * requestShowSelf()/requestHideSelf() * onEvaluateFullscreenMode()/isFullScreenMode() Bug: 240359838 Test: com.android.inputmethodservice.InputMethodServiceTest Change-Id: I84f1a1b25eef4a757d8da27807285e08417458b4
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions