| OLD | NEW | 
|---|
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
|  | 5 #include "net/quic/core/frames/quic_ack_frame.h" | 
|  | 6 #include "net/quic/core/frames/quic_blocked_frame.h" | 
|  | 7 #include "net/quic/core/frames/quic_connection_close_frame.h" | 
| 5 #include "net/quic/core/frames/quic_frame.h" | 8 #include "net/quic/core/frames/quic_frame.h" | 
| 6 | 9 #include "net/quic/core/frames/quic_goaway_frame.h" | 
|  | 10 #include "net/quic/core/frames/quic_mtu_discovery_frame.h" | 
|  | 11 #include "net/quic/core/frames/quic_padding_frame.h" | 
|  | 12 #include "net/quic/core/frames/quic_path_close_frame.h" | 
|  | 13 #include "net/quic/core/frames/quic_ping_frame.h" | 
|  | 14 #include "net/quic/core/frames/quic_rst_stream_frame.h" | 
|  | 15 #include "net/quic/core/frames/quic_stop_waiting_frame.h" | 
|  | 16 #include "net/quic/core/frames/quic_stream_frame.h" | 
|  | 17 #include "net/quic/core/frames/quic_window_update_frame.h" | 
| 7 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" | 
| 8 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" | 
| 9 | 20 | 
| 10 namespace net { | 21 namespace net { | 
| 11 namespace test { | 22 namespace test { | 
| 12 namespace { | 23 namespace { | 
| 13 | 24 | 
| 14 using testing::_; | 25 using testing::_; | 
| 15 | 26 | 
| 16 TEST(QuicFramesTest, AckFrameToString) { | 27 TEST(QuicFramesTest, AckFrameToString) { | 
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 265   EXPECT_EQ(2u, queue.NumIntervals()); | 276   EXPECT_EQ(2u, queue.NumIntervals()); | 
| 266   EXPECT_TRUE(queue.Contains(10)); | 277   EXPECT_TRUE(queue.Contains(10)); | 
| 267   EXPECT_TRUE(queue.Contains(11)); | 278   EXPECT_TRUE(queue.Contains(11)); | 
| 268   EXPECT_TRUE(queue.Contains(20)); | 279   EXPECT_TRUE(queue.Contains(20)); | 
| 269   EXPECT_TRUE(queue.Contains(21)); | 280   EXPECT_TRUE(queue.Contains(21)); | 
| 270 } | 281 } | 
| 271 | 282 | 
| 272 }  // namespace | 283 }  // namespace | 
| 273 }  // namespace test | 284 }  // namespace test | 
| 274 }  // namespace net | 285 }  // namespace net | 
| OLD | NEW | 
|---|