ime: Introduce a fake impl of TextInputClient.
Most IME tests currently use a class called DummyTextInputClient, which is a mix of a mock and a fake. This makes it quite difficult to use. Following testing best practices, we introduce a proper WIP fake for TextInputClient that complies with the TextInputClient interface. Future CLs will migrate more and more tests to FakeTextInputClient. DummyTextInputClient will eventually be removed. Bug: 1148157 Change-Id: Ib6e356d75d8f316ceff95c55fe905eeb505361a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576061 Auto-Submit: Darren Shen <shend@chromium.org> Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Jing Wang <jiwan@chromium.org> Cr-Commit-Position: refs/heads/master@{#835084}
Showing
Please register or sign in to comment