• wutao's avatar
    cros: Fix UIChromeOSTestSuite. · b80c1b5a
    wutao authored
    The UIChromeOSTestSuite will fail some of the unit tests based on
    views::ViewsTestBase. In the retries, the tests will pass.
    
    By comparing UIChromeOSTestSuite and ViewsTestSuite, the only difference
    is that UIChromeOSTestSuite does not init/clear up aura env.
    
    This cl properly sets up and cleans up the aura env for UIChromeOSTestSuite.
    
    Bug: 807148
    Test: ui_chromeos_unittests
    Change-Id: Ife3bae23c2003a6e219764f7483cdff7eb785c72
    Reviewed-on: https://chromium-review.googlesource.com/892495
    Commit-Queue: Tao Wu <wutao@chromium.org>
    Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#532944}
    b80c1b5a
run_all_unittests.cc 1.65 KB