safe_browsing_database_unittest.cc | 483 std::vector<SBPrefix> prefix_hits; local 486 GURL("http://www.evil.com/phishing.html"), &prefix_hits, &cache_hits)); 487 ASSERT_EQ(1U, prefix_hits.size()); 488 EXPECT_EQ(SBPrefixForString("www.evil.com/phishing.html"), prefix_hits[0]); 492 GURL("http://www.evil.com/malware.html"), &prefix_hits, &cache_hits)); 495 GURL("http://www.evil.com/notevil1.html"), &prefix_hits, &cache_hits)); 498 GURL("http://www.evil.com/notevil2.html"), &prefix_hits, &cache_hits)); 501 GURL("http://www.good.com/good1.html"), &prefix_hits, &cache_hits)); 504 GURL("http://www.good.com/good2.html"), &prefix_hits, &cache_hits)); 507 GURL("http://192.168.0.1/malware.html"), &prefix_hits, &cache_hits)) 740 std::vector<SBPrefix> prefix_hits; local 816 std::vector<SBPrefix> prefix_hits; local 1024 EXPECT_EQ(SBPrefixForString(kExampleFine), prefix_hits[0]); local 1135 std::vector<SBPrefix> prefix_hits; local 1141 EXPECT_EQ(SBPrefixForString(kEvil1Url1), prefix_hits[0]); local 1146 EXPECT_EQ(SBPrefixForString(kEvil1Url2), prefix_hits[0]); local 1151 EXPECT_EQ(SBPrefixForString(kEvil1Url2), prefix_hits[0]); local 1156 EXPECT_EQ(SBPrefixForString(kEvil1Url2), prefix_hits[0]); local 1165 EXPECT_EQ(SBPrefixForString(kEvil1Url2), prefix_hits[0]); local 1171 EXPECT_EQ(SBPrefixForString(kEvil1Url1), prefix_hits[0]); local 1179 EXPECT_EQ(SBPrefixForString(kEvil1Url1), prefix_hits[0]); local 1188 EXPECT_EQ(SBPrefixForString(kEvil1Url1), prefix_hits[0]); local 1196 EXPECT_EQ(SBPrefixForString(kEvil1Url1), prefix_hits[0]); local 1204 EXPECT_EQ(SBPrefixForString(kEvil1Url1), prefix_hits[0]); local 1205 EXPECT_EQ(SBPrefixForString(kEvil1Url2), prefix_hits[1]); local 1446 std::vector<SBPrefix> prefix_hits; local 1553 std::vector<SBPrefix> prefix_hits; local 1614 std::vector<SBPrefix> prefix_hits; local 1662 std::vector<SBPrefix> prefix_hits; local 1713 std::vector<SBPrefix> prefix_hits; local 1749 std::vector<SBPrefix> prefix_hits; local 1762 std::vector<SBPrefix> prefix_hits; local 1801 std::vector<SBPrefix> prefix_hits; local 1843 std::vector<SBPrefix> prefix_hits; local 1881 std::vector<SBPrefix> prefix_hits; local 1918 std::vector<SBPrefix> prefix_hits; local 1946 std::vector<SBPrefix> prefix_hits; local 1963 std::vector<SBPrefix> prefix_hits; local 1983 std::vector<SBPrefix> prefix_hits; local 2103 std::vector<SBPrefix> prefix_hits; local 2118 EXPECT_EQ(SBPrefixForString(kWhateverMalware), prefix_hits[0]); local 2132 EXPECT_EQ(SBPrefixForString(kExampleCollision), prefix_hits[0]); local [all...] |