SetUpInputMethodFactoryForTesting for ExoTestBase
ui::CreateInputMethod is called implicitly within the Setup of AshTestBase (somewhere within ash::Shell::Init()), which conflicts with ui::SetUpInputMethodFactoryForTesting(). So the CHECK fails if TextInputTest runs along with other tests in exo (i.e. without gtest_filter flags). Actually SetUpInputMethodFactoryForTesting can be called for every tests in exo, so that is moved there. BUG=870690 TEST=exo_unittests succeed without --gtest_filter flag Change-Id: I9e9bb009b7b5af3715759ee29ac6c94f9614eecf Reviewed-on: https://chromium-review.googlesource.com/1162621Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Commit-Queue: Jun Mukai <mukai@chromium.org> Cr-Commit-Position: refs/heads/master@{#580637}
Showing
Please register or sign in to comment