Searched refs:from_sockaddr (Results 1 – 1 of 1) sorted by relevance
104 IPAddress from_sockaddr(addr, addr_size); in TestAddress() local105 EXPECT_TRUE(from_sockaddr.IsValid()); in TestAddress()106 EXPECT_EQ(family, from_sockaddr.family()); in TestAddress()107 EXPECT_TRUE(from_sockaddr.IntoString(&address_string)); in TestAddress()115 EXPECT_FALSE(from_sockaddr.IntoSockAddr(addr2, addr_size - 1)); in TestAddress()117 EXPECT_TRUE(from_sockaddr.IntoSockAddr(addr2, addr_size)); in TestAddress()