Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: net/quic/core/quic_packet_creator_test.cc

Issue 2517673002: Move test only MakeIOVector method to test_tools/quic_test_utils.h. No behavior change. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/core/quic_packet_generator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_packet_creator_test.cc
diff --git a/net/quic/core/quic_packet_creator_test.cc b/net/quic/core/quic_packet_creator_test.cc
index 176a65e72d08ec2b7818150cd419229741b4992d..a8f667761743bccf3a207f4bc4dd5e2080e15f50 100644
--- a/net/quic/core/quic_packet_creator_test.cc
+++ b/net/quic/core/quic_packet_creator_test.cc
@@ -193,7 +193,7 @@ class QuicPacketCreatorTest : public ::testing::TestWithParam<TestParams> {
}
QuicIOVector MakeIOVector(StringPiece s) {
- return ::net::MakeIOVector(s, &iov_);
+ return ::net::test::MakeIOVector(s, &iov_);
}
PendingRetransmission CreateRetransmission(
@@ -943,7 +943,7 @@ TEST_P(QuicPacketCreatorTest, ChloTooLarge) {
message_data.reset(framer.ConstructHandshakeMessage(message));
struct iovec iov;
- QuicIOVector data_iovec(::net::MakeIOVector(
+ QuicIOVector data_iovec(::net::test::MakeIOVector(
StringPiece(message_data->data(), message_data->length()), &iov));
QuicFrame frame;
EXPECT_CALL(delegate_,
« no previous file with comments | « no previous file | net/quic/core/quic_packet_generator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698