commit | 381389a675b022577e3950e7a62e6fccdc939167 | [log] [tgz] |
---|---|---|
author | Ian Vollick <[email protected]> | Wed Jun 26 16:49:40 2019 |
committer | Commit Bot <[email protected]> | Wed Jun 26 16:49:40 2019 |
tree | 5de0504e99a3d1a8eb10dabd6a52c24c4825d888 | |
parent | f5652e55c9ebad00571869f836241d571d222018 [diff] [blame] |
Fix unit_tests in notouch mode Some tests have incorrect expectations given the features enabled in this mode. The safe browsing tests were failing due to using the v4 database which required pumping messages on the IO thread to complete initialization. Bug: 974405 Change-Id: I238ab3b9d4f87603c3c79a45ab2c2492dee27fa3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674044 Commit-Queue: Ian Vollick <[email protected]> Reviewed-by: Mihai Sardarescu <[email protected]> Reviewed-by: Varun Khaneja <[email protected]> Reviewed-by: Min Qin <[email protected]> Reviewed-by: Gabriel Charette <[email protected]> Cr-Commit-Position: refs/heads/master@{#672544}
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc index debc7ad..44f2b97 100644 --- a/chrome/browser/profiles/profile_manager_unittest.cc +++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -900,7 +900,7 @@ ASSERT_TRUE(profile); EXPECT_FALSE(profile->IsOffTheRecord()); PrefService* prefs = profile->GetPrefs(); - EXPECT_EQ(IncognitoModePrefs::ENABLED, + EXPECT_EQ(IncognitoModePrefs::kDefaultAvailability, IncognitoModePrefs::GetAvailability(prefs)); ASSERT_TRUE(profile->GetOffTheRecordProfile());