| 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 7b50f42ab39c518c19e0fb7d022649217e9d0465..dd46070002eb94190513f1bb30f03187be81ac3b 100644
|
| --- a/net/tools/quic/quic_client_session_test.cc
|
| +++ b/net/tools/quic/quic_client_session_test.cc
|
| @@ -31,8 +31,8 @@ class ToolsQuicClientSessionTest
|
| : public ::testing::TestWithParam<QuicVersion> {
|
| protected:
|
| ToolsQuicClientSessionTest()
|
| - : connection_(new PacketSavingConnection(false,
|
| - SupportedVersions(GetParam()))) {
|
| + : connection_(
|
| + new PacketSavingConnection(false, SupportedVersions(GetParam()))) {
|
| crypto_config_.SetDefaults();
|
| session_.reset(new QuicClientSession(
|
| QuicServerId(kServerHostname, kPort, false, PRIVACY_MODE_DISABLED),
|
| @@ -44,8 +44,8 @@ class ToolsQuicClientSessionTest
|
|
|
| void CompleteCryptoHandshake() {
|
| ASSERT_TRUE(session_->CryptoConnect());
|
| - CryptoTestUtils::HandshakeWithFakeServer(
|
| - connection_, session_->GetCryptoStream());
|
| + CryptoTestUtils::HandshakeWithFakeServer(connection_,
|
| + session_->GetCryptoStream());
|
| }
|
|
|
| PacketSavingConnection* connection_;
|
| @@ -53,7 +53,8 @@ class ToolsQuicClientSessionTest
|
| QuicCryptoClientConfig crypto_config_;
|
| };
|
|
|
| -INSTANTIATE_TEST_CASE_P(Tests, ToolsQuicClientSessionTest,
|
| +INSTANTIATE_TEST_CASE_P(Tests,
|
| + ToolsQuicClientSessionTest,
|
| ::testing::ValuesIn(QuicSupportedVersions()));
|
|
|
| TEST_P(ToolsQuicClientSessionTest, CryptoConnect) {
|
| @@ -66,8 +67,7 @@ TEST_P(ToolsQuicClientSessionTest, MaxNumStreams) {
|
| // Initialize crypto before the client session will create a stream.
|
| CompleteCryptoHandshake();
|
|
|
| - QuicSpdyClientStream* stream =
|
| - session_->CreateOutgoingDataStream();
|
| + QuicSpdyClientStream* stream = session_->CreateOutgoingDataStream();
|
| ASSERT_TRUE(stream);
|
| EXPECT_FALSE(session_->CreateOutgoingDataStream());
|
|
|
|
|