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

Unified Diff: net/quic/crypto/crypto_server_test.cc

Issue 359823002: Deleted unneeded enums from HandshakeFailureReason. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_server_test.cc
diff --git a/net/quic/crypto/crypto_server_test.cc b/net/quic/crypto/crypto_server_test.cc
index af192cca413d733450cddd47274648d59a3fc44c..72a328b9568261de69e4848ad343d6df3fd0c2e4 100644
--- a/net/quic/crypto/crypto_server_test.cc
+++ b/net/quic/crypto/crypto_server_test.cc
@@ -365,7 +365,7 @@ TEST_F(CryptoServerTest, DISABLED_DefaultCert) {
EXPECT_NE(0u, cert.size());
EXPECT_NE(0u, proof.size());
const HandshakeFailureReason kRejectReasons[] = {
- CLIENT_NONCE_UNKNOWN_FAILURE
+ CLIENT_NONCE_INVALID_FAILURE
};
CheckRejectReasons(kRejectReasons, arraysize(kRejectReasons));
}
@@ -551,7 +551,7 @@ TEST_P(CryptoServerTest, ReplayProtection) {
ASSERT_EQ(kREJ, out_.tag());
const HandshakeFailureReason kRejectReasons[] = {
- CLIENT_NONCE_UNKNOWN_FAILURE
+ CLIENT_NONCE_INVALID_FAILURE
};
CheckRejectReasons(kRejectReasons, arraysize(kRejectReasons));
@@ -652,7 +652,7 @@ TEST_P(CryptoServerTestNoConfig, DontCrash) {
NULL));
const HandshakeFailureReason kRejectReasons[] = {
- CLIENT_NONCE_UNKNOWN_FAILURE
+ CLIENT_NONCE_INVALID_FAILURE
};
CheckRejectReasons(kRejectReasons, arraysize(kRejectReasons));
}
« no previous file with comments | « net/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/quic_crypto_server_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698