• Home
  • Raw
  • Download

Lines Matching refs:tests

26 } tests[] = {  variable
32 int test_count = ARRAYSIZE_UNSAFE(tests);
39 EXPECT_TRUE(ParseIPLiteralToNumber(tests[index].host, in SetUp()
40 &tests[index].ip_address)); in SetUp()
50 IPEndPoint endpoint(tests[index].ip_address, 80); in TEST_F()
52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); in TEST_F()
58 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
68 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
78 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F()
87 size_t expected_size = tests[index].ipv6 ? in TEST_F()
102 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F()
113 IPEndPoint src(tests[index].ip_address, index); in TEST_F()
121 IPEndPoint ip_endpoint1(tests[0].ip_address, 100); in TEST_F()
122 IPEndPoint ip_endpoint2(tests[0].ip_address, 1000); in TEST_F()
127 ip_endpoint1 = IPEndPoint(tests[0].ip_address, 81); in TEST_F()
128 ip_endpoint2 = IPEndPoint(tests[2].ip_address, 80); in TEST_F()
133 ip_endpoint1 = IPEndPoint(tests[0].ip_address, 81); in TEST_F()
134 ip_endpoint2 = IPEndPoint(tests[1].ip_address, 80); in TEST_F()
139 ip_endpoint1 = IPEndPoint(tests[2].ip_address, 81); in TEST_F()
140 ip_endpoint2 = IPEndPoint(tests[3].ip_address, 80); in TEST_F()
145 ip_endpoint1 = IPEndPoint(tests[0].ip_address, 80); in TEST_F()
146 ip_endpoint2 = IPEndPoint(tests[0].ip_address, 80); in TEST_F()
157 IPEndPoint endpoint(tests[index].ip_address, port); in TEST_F()
159 if (tests[index].ipv6 && result.empty()) { in TEST_F()
163 EXPECT_EQ(tests[index].host_normalized + ":" + base::IntToString(port), in TEST_F()