Chromium Code Reviews

Unified Diff: chrome/browser/content_settings/host_content_settings_map_unittest.cc

Issue 5329008: Tentative fix for the Clang mac build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc
diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
index 223b08f55523246480b29873f5f4156b1e64f423..5f6bf5c6b4ce9077eb00f54cb6f620d3bedce8fe 100644
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc
@@ -995,24 +995,21 @@ TEST_F(HostContentSettingsMapTest, ResetToDefaultsWhenManaged) {
prefs->SetUserPref(prefs::kBlockThirdPartyCookies,
Value::CreateBooleanValue(true));
- EXPECT_EQ(true,
- host_content_settings_map->IsBlockThirdPartyCookiesManaged());
- EXPECT_EQ(true, host_content_settings_map->BlockThirdPartyCookies());
+ EXPECT_TRUE(host_content_settings_map->IsBlockThirdPartyCookiesManaged());
+ EXPECT_TRUE(host_content_settings_map->BlockThirdPartyCookies());
// Reset to the default value (false).
host_content_settings_map->ResetToDefaults();
// Since the preference BlockThirdPartyCookies is managed the
// HostContentSettingsMap should still return the managed value which is true.
- EXPECT_EQ(true,
- host_content_settings_map->IsBlockThirdPartyCookiesManaged());
- EXPECT_EQ(true, host_content_settings_map->BlockThirdPartyCookies());
+ EXPECT_TRUE(host_content_settings_map->IsBlockThirdPartyCookiesManaged());
+ EXPECT_TRUE(host_content_settings_map->BlockThirdPartyCookies());
// After unsetting the managed value for the preference BlockThirdPartyCookies
// the default value should be returned now.
prefs->RemoveManagedPref(prefs::kBlockThirdPartyCookies);
- EXPECT_EQ(false,
- host_content_settings_map->IsBlockThirdPartyCookiesManaged());
- EXPECT_EQ(false, host_content_settings_map->BlockThirdPartyCookies());
+ EXPECT_FALSE(host_content_settings_map->IsBlockThirdPartyCookiesManaged());
+ EXPECT_FALSE(host_content_settings_map->BlockThirdPartyCookies());
}
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine