| Index: net/quic/quic_connection_logger_unittest.cc
|
| diff --git a/net/quic/quic_connection_logger_unittest.cc b/net/quic/quic_connection_logger_unittest.cc
|
| index 739267279779e24dd68f678b20b33d614c320a7d..69b2c5b180f7737d0d1cc019e87ac194f375b1d7 100644
|
| --- a/net/quic/quic_connection_logger_unittest.cc
|
| +++ b/net/quic/quic_connection_logger_unittest.cc
|
| @@ -16,16 +16,25 @@ class QuicConnectionLoggerPeer {
|
| static size_t num_truncated_acks_sent(const QuicConnectionLogger& logger) {
|
| return logger.num_truncated_acks_sent_;
|
| }
|
| + static const char* connection_description(
|
| + const QuicConnectionLogger& logger) {
|
| + return logger.connection_description_;
|
| + }
|
| };
|
|
|
| class QuicConnectionLoggerTest : public ::testing::Test {
|
| protected:
|
| QuicConnectionLoggerTest()
|
| - : session_(new MockConnection(false)), logger_(&session_, net_log_) {}
|
| + : session_(new MockConnection(false)),
|
| + logger_(&session_, &network_connection_, net_log_) {
|
| + EXPECT_NE(nullptr,
|
| + QuicConnectionLoggerPeer::connection_description(logger_));
|
| + }
|
|
|
| BoundNetLog net_log_;
|
| MockSession session_;
|
| QuicConnectionLogger logger_;
|
| + NetworkConnection network_connection_;
|
| };
|
|
|
| TEST_F(QuicConnectionLoggerTest, TruncatedAcksSentNotChanged) {
|
|
|