Lines Matching refs:toString

49     std::string toString() const {  in toString()  function
123 SCOPED_TRACE(expectation.toString()); in TEST()
141 EXPECT_EQ("fe80::1%22", IPAddress(FE80_1, 22).toString()); in TEST()
142 EXPECT_EQ("fe80::2%23", IPAddress(FE80_2, 23).toString()); in TEST()
199 EXPECT_EQ("2001:db8::/32", prefix.toString()); in TEST()
204 EXPECT_EQ("0.0.0.0/0", IPPrefix::forString("0.0.0.0/0").toString()); in TEST()
205 EXPECT_EQ("::/0", IPPrefix::forString("::/0").toString()); in TEST()
206 EXPECT_EQ("192.0.2.128/25", IPPrefix::forString("192.0.2.131/25").toString()); in TEST()
208 IPPrefix::forString("2001:db8:1:2:3:4:5:6/126").toString()); in TEST()
213 return IPPrefix(IPAddress(IPV4_ONES), length).toString(); in TEST()
257 return IPPrefix(IPAddress(IPV6_ONES), length).toString(); in TEST()
485 SCOPED_TRACE(expectation.toString()); in TEST()
510 SCOPED_TRACE(expectation.toString()); in TEST()
517 TEST(IPSockAddrTest, toString) { in TEST() argument
518 EXPECT_EQ("<unspecified>:0", IPSockAddr().toString()); in TEST()
519 EXPECT_EQ("0.0.0.0:0", IPSockAddr(IPAddress(IPV4_ANY)).toString()); in TEST()
520 EXPECT_EQ("255.255.255.255:67", IPSockAddr(IPAddress(IPV4_ONES), 67).toString()); in TEST()
521 EXPECT_EQ("[::]:0", IPSockAddr(IPAddress(IPV6_ANY)).toString()); in TEST()
522 EXPECT_EQ("[::1]:53", IPSockAddr(IPAddress(IPV6_LOOPBACK), 53).toString()); in TEST()
523 EXPECT_EQ("[fe80::1]:0", IPSockAddr(IPAddress(FE80_1)).toString()); in TEST()
524 EXPECT_EQ("[fe80::2%17]:123", IPSockAddr(IPAddress(FE80_2, 17), 123).toString()); in TEST()