| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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/http2/hpack/decoder/hpack_decoder_string_buffer.h" | 5 #include "net/http2/hpack/decoder/hpack_decoder_string_buffer.h" |
| 6 | 6 |
| 7 // Tests of HpackDecoderStringBuffer. | 7 // Tests of HpackDecoderStringBuffer. |
| 8 | 8 |
| 9 #include <initializer_list> | |
| 10 #include <sstream> | 9 #include <sstream> |
| 11 #include <string> | 10 #include <string> |
| 12 | 11 |
| 13 #include "base/logging.h" | 12 #include "base/logging.h" |
| 14 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
| 15 #include "net/http2/tools/failure.h" | 14 #include "net/http2/tools/failure.h" |
| 16 #include "net/spdy/spdy_test_utils.h" | 15 #include "net/spdy/spdy_test_utils.h" |
| 17 #include "testing/gmock/include/gmock/gmock.h" | 16 #include "testing/gmock/include/gmock/gmock.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 19 | 18 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 EXPECT_EQ(state(), State::COLLECTING); | 235 EXPECT_EQ(state(), State::COLLECTING); |
| 237 EXPECT_EQ(backing(), Backing::BUFFERED); | 236 EXPECT_EQ(backing(), Backing::BUFFERED); |
| 238 | 237 |
| 239 EXPECT_FALSE(buf_.OnEnd()); | 238 EXPECT_FALSE(buf_.OnEnd()); |
| 240 LOG(INFO) << buf_; | 239 LOG(INFO) << buf_; |
| 241 } | 240 } |
| 242 | 241 |
| 243 } // namespace | 242 } // namespace |
| 244 } // namespace test | 243 } // namespace test |
| 245 } // namespace net | 244 } // namespace net |
| OLD | NEW |