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

Unified Diff: net/quic/core/quic_crypto_client_stream_test.cc

Issue 2289243003: Store the QUIC server's crypto config expiration time explicitly in the client's CachedState, inste… (Closed)
Patch Set: Store the QUIC server's crypto config expiration time explicitly in the client's CachedState, inste… Created 4 years, 3 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/core/crypto/quic_crypto_client_config.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_client_stream_test.cc
diff --git a/net/quic/core/quic_crypto_client_stream_test.cc b/net/quic/core/quic_crypto_client_stream_test.cc
index d57d2c4d6dbb2549b8d16490c489c25a996cb087..1a3d27a71763936442b912b672726da42d7367d4 100644
--- a/net/quic/core/quic_crypto_client_stream_test.cc
+++ b/net/quic/core/quic_crypto_client_stream_test.cc
@@ -141,6 +141,7 @@ TEST_F(QuicCryptoClientStreamTest, ExpiredServerConfig) {
stream()->CryptoConnect();
// Check that a client hello was sent.
ASSERT_EQ(1u, connection_->encrypted_packets_.size());
+ EXPECT_EQ(ENCRYPTION_NONE, connection_->encryption_level());
}
TEST_F(QuicCryptoClientStreamTest, InvalidCachedServerConfig) {
« no previous file with comments | « net/quic/core/crypto/quic_crypto_client_config.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698