Chromium Code Reviews| Index: net/quic/quic_crypto_server_stream_test.cc |
| =================================================================== |
| --- net/quic/quic_crypto_server_stream_test.cc (revision 203993) |
| +++ net/quic/quic_crypto_server_stream_test.cc (working copy) |
| @@ -244,13 +244,13 @@ |
| // Only 2 client hellos need to be sent in the no-certs case: one to get the |
| // source-address token and the second to finish. |
| - // TODO(rtenneti): Enable testing of ProofVerifier. |
|
wtc
2013/06/12 23:48:21
This test does not verify certs, so we don't need
ramant (doing other things)
2013/06/12 23:53:24
Sounds great.
|
| EXPECT_EQ(2, CompleteCryptoHandshake()); |
| EXPECT_TRUE(stream_.encryption_established()); |
| EXPECT_TRUE(stream_.handshake_confirmed()); |
| } |
| -TEST_F(QuicCryptoServerStreamTest, ChannelID) { |
| +// TODO(rtenneti): Enable testing of ChannelID. |
| +TEST_F(QuicCryptoServerStreamTest, DISABLED_ChannelID) { |
| if (!Aes128Gcm12Encrypter::IsSupported()) { |
| LOG(INFO) << "AES GCM not supported. Test skipped."; |
| return; |
| @@ -261,9 +261,8 @@ |
| EXPECT_EQ(2, CompleteCryptoHandshake()); |
|
wtc
2013/06/12 23:48:21
With a real implementation of ChannelIDVerifier::V
ramant (doing other things)
2013/06/12 23:53:24
This changes sounds good to me. My pending CL has
|
| EXPECT_TRUE(stream_.encryption_established()); |
| EXPECT_TRUE(stream_.handshake_confirmed()); |
| - // TODO(rtenneti): Enable testing of ChannelID. |
| - // EXPECT_EQ(CryptoTestUtils::ChannelIDKeyForHostname("test.example.com"), |
| - // stream_.crypto_negotiated_params().channel_id); |
| + EXPECT_EQ(CryptoTestUtils::ChannelIDKeyForHostname("test.example.com"), |
| + stream_.crypto_negotiated_params().channel_id); |
| } |
| } // namespace |