summaryrefslogtreecommitdiffstats
path: root/net/tools/quic/end_to_end_test.cc
diff options
context:
space:
mode:
authoreroman <eroman@chromium.org>2016-03-16 20:23:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-17 03:28:04 +0000
commit36d84e54432fcdb48ac3903ad2ba4aa9d68ccca0 (patch)
treed0ad9fcf0819d7ca4407566ed4b56b2b352b74f0 /net/tools/quic/end_to_end_test.cc
parentc847e222ae0f59ace649e08c6aac001e18c37be1 (diff)
downloadchromium_src-36d84e54432fcdb48ac3903ad2ba4aa9d68ccca0.zip
chromium_src-36d84e54432fcdb48ac3903ad2ba4aa9d68ccca0.tar.gz
chromium_src-36d84e54432fcdb48ac3903ad2ba4aa9d68ccca0.tar.bz2
Update some callers to use more direct ways of constructing IPAddress from well known literals.
BUG=496258 Review URL: https://codereview.chromium.org/1809863002 Cr-Commit-Position: refs/heads/master@{#381655}
Diffstat (limited to 'net/tools/quic/end_to_end_test.cc')
-rw-r--r--net/tools/quic/end_to_end_test.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index 441a5d9..923808b 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -547,12 +547,11 @@ TEST_P(EndToEndTest, SimpleRequestResponseWithLargeReject) {
EXPECT_EQ(3, client_->client()->GetNumSentClientHellos());
}
-// TODO(rch): figure out how to detect missing v6 supprt (like on the linux
+// TODO(rch): figure out how to detect missing v6 support (like on the linux
// try bots) and selectively disable this test.
TEST_P(EndToEndTest, DISABLED_SimpleRequestResponsev6) {
- IPAddress ip;
- CHECK(ip.AssignFromIPLiteral("::1"));
- server_address_ = IPEndPoint(ip, server_address_.port());
+ server_address_ =
+ IPEndPoint(IPAddress::IPv6Localhost(), server_address_.port());
ASSERT_TRUE(Initialize());
EXPECT_EQ(kFooResponseBody, client_->SendSynchronousRequest("/foo"));