• Jun Mukai's avatar
    Use AshUIControls for UI tests with no browser · 92a861ac
    Jun Mukai authored
    LoginCursorTest.CursorHidden and OobeTest.Accelerator are still
    crashing even after the refactoring of UIControls and aura::Env.
    Actually, these tests do not require browser windows therefore
    UIControlsOzone is created with nullptr WindowTreeHost which is
    not expected.
    
    Thinking about that, such test cases actually do controls for
    the UI within Ash -- therefore AshUIControls should be used.
    
    Test: interactive_ui_tests with --enable-features=SingleProcessMash
    Bug: 883523
    Change-Id: I3d6e1ecb569551a7eacfce979c4b543771f19fc6
    Reviewed-on: https://chromium-review.googlesource.com/1236842Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Jun Mukai <mukai@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#592953}
    92a861ac
in_process_browser_test.cc 21.3 KB