OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/quic_data_writer.h" | 5 #include "net/quic/core/quic_data_writer.h" |
6 | 6 |
7 #include <cstdint> | 7 #include <cstdint> |
8 | 8 |
9 #include "net/quic/core/quic_data_reader.h" | 9 #include "net/quic/core/quic_data_reader.h" |
10 #include "net/quic/core/quic_flags.h" | |
11 #include "net/quic/core/quic_utils.h" | 10 #include "net/quic/core/quic_utils.h" |
| 11 #include "net/quic/platform/api/quic_flags.h" |
12 #include "net/quic/test_tools/quic_test_utils.h" | 12 #include "net/quic/test_tools/quic_test_utils.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 namespace test { | 16 namespace test { |
17 namespace { | 17 namespace { |
18 | 18 |
19 class QuicDataWriterTest : public ::testing::TestWithParam<Perspective> {}; | 19 class QuicDataWriterTest : public ::testing::TestWithParam<Perspective> {}; |
20 | 20 |
21 TEST_P(QuicDataWriterTest, SanityCheckUFloat16Consts) { | 21 TEST_P(QuicDataWriterTest, SanityCheckUFloat16Consts) { |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 QuicTag read_chlo; | 240 QuicTag read_chlo; |
241 QuicDataReader reader(buffer, kBufferLength, GetParam()); | 241 QuicDataReader reader(buffer, kBufferLength, GetParam()); |
242 reader.ReadTag(&read_chlo); | 242 reader.ReadTag(&read_chlo); |
243 EXPECT_EQ(kCHLO, read_chlo); | 243 EXPECT_EQ(kCHLO, read_chlo); |
244 } | 244 } |
245 | 245 |
246 } // namespace | 246 } // namespace |
247 } // namespace test | 247 } // namespace test |
248 } // namespace net | 248 } // namespace net |
OLD | NEW |