• satorux@chromium.org's avatar
    chromeos: Fix UpdateScreenTest and NetworkScreenTest for Debug build. · ae458e05
    satorux@chromium.org authored
    These tests have been failing since crrev.com/107314 due to the hacky
    workaround I added.
    
    Along the way, rework other tests to use MockDBusThreadManager. These
    weren't failing but using the mock would make the tests faster and more
    reliable.
    
    For signed_settings_unittest.cc to pass, add expectations for StorePolicy().
    We didn't need this before, as we were using stub implementation that
    always ran callback.Run(true), but we are now using mocks, so we should
    add this behavior manually.
    
    BUG=chromium-os:22183
    TEST=Run UpdateScreenTest, NetworkScreenTest, ExistingUserControllerTest, SignedSettingsHelperTest with the debug build.
    
    Review URL: http://codereview.chromium.org/8418037
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107865 0039d316-1c4b-4281-b951-d872f2087c98
    ae458e05
update_screen_browsertest.cc 7.94 KB