| Index: net/tools/quic/quic_client_session_test.cc
|
| diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc
|
| index f9d761ee08e986370974fc6df9e662ae738e2c32..607f9f9effc7c000206c242a65fc992f6ce6b19b 100644
|
| --- a/net/tools/quic/quic_client_session_test.cc
|
| +++ b/net/tools/quic/quic_client_session_test.cc
|
| @@ -36,19 +36,21 @@ namespace tools {
|
| namespace test {
|
| namespace {
|
|
|
| -const char kServerHostname[] = "www.example.org";
|
| +const char kServerHostname[] = "test.example.com";
|
| const uint16 kPort = 80;
|
|
|
| class ToolsQuicClientSessionTest
|
| : public ::testing::TestWithParam<QuicVersion> {
|
| protected:
|
| ToolsQuicClientSessionTest()
|
| - : connection_(new PacketSavingConnection(Perspective::IS_CLIENT,
|
| - SupportedVersions(GetParam()))) {
|
| - session_.reset(new QuicClientSession(
|
| - DefaultQuicConfig(), connection_,
|
| - QuicServerId(kServerHostname, kPort, false, PRIVACY_MODE_DISABLED),
|
| - &crypto_config_));
|
| + : crypto_config_(CryptoTestUtils::ProofVerifierForTesting()),
|
| + connection_(new PacketSavingConnection(Perspective::IS_CLIENT,
|
| + SupportedVersions(GetParam()))),
|
| + session_(new QuicClientSession(
|
| + DefaultQuicConfig(),
|
| + connection_,
|
| + QuicServerId(kServerHostname, kPort, PRIVACY_MODE_DISABLED),
|
| + &crypto_config_)) {
|
| session_->Initialize();
|
| // Advance the time, because timers do not like uninitialized times.
|
| connection_->AdvanceTime(QuicTime::Delta::FromSeconds(1));
|
| @@ -60,9 +62,9 @@ class ToolsQuicClientSessionTest
|
| connection_, session_->GetCryptoStream());
|
| }
|
|
|
| + QuicCryptoClientConfig crypto_config_;
|
| PacketSavingConnection* connection_;
|
| scoped_ptr<QuicClientSession> session_;
|
| - QuicCryptoClientConfig crypto_config_;
|
| };
|
|
|
| INSTANTIATE_TEST_CASE_P(Tests, ToolsQuicClientSessionTest,
|
|
|