summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lan Wei <azurewei@google.com> 2022-10-10 15:28:04 +0800
committer Lan Wei <azurewei@google.com> 2022-10-26 15:21:59 +0800
commitfd646fe8c067cb9176e027c8e2a0d96d09631ff4 (patch)
tree85cbd65750c520f8ecb82853d1d029a96d563331 /libs/androidfw/StringPool.cpp
parentf233145d7d8f98e874408f6b2d9bc79884cfbef8 (diff)
Add unit tests for InputMethodManagerService
Injecting and mocking dependencies to InputMethodManagerService to make it unit testable. Add InputMethodManagerServiceTestBase base class to help unit test IMMS. Add the first batch of unit tests in InputMethodManagerServiceWindowGainedFocusTest to cover the behavior of IMMS#startInputOrWindowGainedFocus(), which should help us catch any regressions caused by future changes to the code. Bug: 240359838 Test: atest com.android.server.inputmethod.InputMethodManagerServiceWindowGainedFocusTest Change-Id: Id61087f1e176738910f5acfe912f8682f727255c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions