Initialize mock TSFBridge during testing.
Added a new method to initialize a mocked version of TSFBridge when |InitializeInputMethodForTesting| is called from test code. This change also adds a call in the views unittest base to initialize the |MockTSFBridge| by calling |InitializeInputMethodForTesting| and enables some disabled tests. Bug: 968222 Change-Id: Ib25dcefd53a2b6e11ea6dfa713efe37052b24be6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364034Reviewed-by:Peter Kasting <pkasting@chromium.org> Reviewed-by:
Yohei Yukawa <yukawa@chromium.org> Commit-Queue: Anupam Snigdha <snianu@microsoft.com> Cr-Commit-Position: refs/heads/master@{#799826}
Showing
Please register or sign in to comment