| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/iovector.h" | 5 #include "net/quic/core/iovector.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "net/test/gtest_util.h" | 12 #include "net/test/gtest_util.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 using std::string; | 15 using std::string; |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 ASSERT_EQ(2u, iov2.Size()); | 364 ASSERT_EQ(2u, iov2.Size()); |
| 365 EXPECT_EQ(&a[0], iov2.iovec()[0].iov_base); | 365 EXPECT_EQ(&a[0], iov2.iovec()[0].iov_base); |
| 366 EXPECT_EQ(1u, iov2.iovec()[0].iov_len); | 366 EXPECT_EQ(1u, iov2.iovec()[0].iov_len); |
| 367 EXPECT_EQ(&b[0], iov2.iovec()[1].iov_base); | 367 EXPECT_EQ(&b[0], iov2.iovec()[1].iov_base); |
| 368 EXPECT_EQ(1u, iov2.iovec()[1].iov_len); | 368 EXPECT_EQ(1u, iov2.iovec()[1].iov_len); |
| 369 } | 369 } |
| 370 | 370 |
| 371 } // namespace | 371 } // namespace |
| 372 } // namespace test | 372 } // namespace test |
| 373 } // namespace net | 373 } // namespace net |
| OLD | NEW |