Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: net/base/ssl_config_service_win_unittest.cc

Issue 6300001: Clang: enable -Wbool-conversions and -Wunused-variables on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, undo indent Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/cert_database_nss_unittest.cc ('k') | net/websockets/websocket_job_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ssl_config_service_win_unittest.cc
diff --git a/net/base/ssl_config_service_win_unittest.cc b/net/base/ssl_config_service_win_unittest.cc
index 7669d99e3da51e7da07d6c2a30597d20149a58ad..6a87760ad7ca31fd47c67be7e225e29f30df1e5c 100644
--- a/net/base/ssl_config_service_win_unittest.cc
+++ b/net/base/ssl_config_service_win_unittest.cc
@@ -38,9 +38,9 @@ class SSLConfigServiceWinTest : public testing::Test {
TEST(SSLConfigServiceWinTest, GetNowTest) {
// Verify that the constructor sets the correct default values.
net::SSLConfig config;
- EXPECT_EQ(true, config.rev_checking_enabled);
- EXPECT_EQ(true, config.ssl3_enabled);
- EXPECT_EQ(true, config.tls1_enabled);
+ EXPECT_TRUE(config.rev_checking_enabled);
+ EXPECT_TRUE(config.ssl3_enabled);
+ EXPECT_TRUE(config.tls1_enabled);
bool rv = net::SSLConfigServiceWin::GetSSLConfigNow(&config);
EXPECT_TRUE(rv);
@@ -151,4 +151,3 @@ TEST(SSLConfigServiceWinTest, ObserverTest) {
// Restore the original SSL3 setting.
net::SSLConfigServiceWin::SetSSL3Enabled(config_save.ssl3_enabled);
}
-
« no previous file with comments | « net/base/cert_database_nss_unittest.cc ('k') | net/websockets/websocket_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698