Chromium Code Reviews| Index: net/quic/quic_crypto_server_stream_test.cc |
| diff --git a/net/quic/quic_crypto_server_stream_test.cc b/net/quic/quic_crypto_server_stream_test.cc |
| index fc58f010dcff25818651af1c409ad044cd361e7d..b81c10e7bef2c57e556fb69b7d43b1feeadb52f1 100644 |
| --- a/net/quic/quic_crypto_server_stream_test.cc |
| +++ b/net/quic/quic_crypto_server_stream_test.cc |
| @@ -115,7 +115,8 @@ TEST_F(QuicCryptoServerStreamTest, NotInitiallyConected) { |
| return; |
| } |
| - EXPECT_FALSE(stream_.handshake_complete()); |
| + EXPECT_FALSE(stream_.encryption_established()); |
| + EXPECT_FALSE(stream_.handshake_confirmed()); |
| } |
| TEST_F(QuicCryptoServerStreamTest, ConnectedAfterCHLO) { |
| @@ -129,8 +130,11 @@ TEST_F(QuicCryptoServerStreamTest, ConnectedAfterCHLO) { |
| // * One to get a source-address token. |
| // * One to get the server's certificates |
| // * One to complete the handshake. |
| - EXPECT_EQ(3, CompleteCryptoHandshake()); |
| - EXPECT_TRUE(stream_.handshake_complete()); |
| + // TODO(rtenneti): After ProofVerifier is enabled, change the check for |
| + // CompleteCryptoHandshake() from 2 to 3. |
|
wtc
2013/04/25 00:39:19
Could you explain (not in this TODO comment) why t
ramant (doing other things)
2013/04/26 19:29:54
Done.
|
| + EXPECT_EQ(2, CompleteCryptoHandshake()); |
| + EXPECT_TRUE(stream_.encryption_established()); |
| + EXPECT_TRUE(stream_.handshake_confirmed()); |
| } |
| TEST_F(QuicCryptoServerStreamTest, ZeroRTT) { |