Searched refs:CheckTruncateIP (Results 1 – 1 of 1) sorted by relevance
/external/webrtc/webrtc/base/ |
D | ipaddress_unittest.cc | 156 bool CheckTruncateIP(const std::string& initial, int truncate_length, in CheckTruncateIP() function 752 EXPECT_PRED3(CheckTruncateIP, "255.255.255.255", 24, "255.255.255.0"); in TEST() 753 EXPECT_PRED3(CheckTruncateIP, "255.255.255.255", 16, "255.255.0.0"); in TEST() 754 EXPECT_PRED3(CheckTruncateIP, "255.255.255.255", 8, "255.0.0.0"); in TEST() 755 EXPECT_PRED3(CheckTruncateIP, "202.67.7.255", 24, "202.67.7.0"); in TEST() 756 EXPECT_PRED3(CheckTruncateIP, "202.129.65.205", 16, "202.129.0.0"); in TEST() 757 EXPECT_PRED3(CheckTruncateIP, "55.25.2.77", 8, "55.0.0.0"); in TEST() 758 EXPECT_PRED3(CheckTruncateIP, "74.128.99.254", 1, "0.0.0.0"); in TEST() 759 EXPECT_PRED3(CheckTruncateIP, "106.55.99.254", 3, "96.0.0.0"); in TEST() 760 EXPECT_PRED3(CheckTruncateIP, "172.167.53.222", 13, "172.160.0.0"); in TEST() [all …]
|