Lines Matching refs:GetKey
1807 TEST(CookieMonsterTest, GetKey) { in TEST() argument
1813 EXPECT_EQ("google.com", cm->GetKey("www.google.com")); in TEST()
1814 EXPECT_EQ("google.izzie", cm->GetKey("www.google.izzie")); in TEST()
1815 EXPECT_EQ("google.izzie", cm->GetKey(".google.izzie")); in TEST()
1816 EXPECT_EQ("bbc.co.uk", cm->GetKey("bbc.co.uk")); in TEST()
1817 EXPECT_EQ("bbc.co.uk", cm->GetKey("a.b.c.d.bbc.co.uk")); in TEST()
1818 EXPECT_EQ("apple.com", cm->GetKey("a.b.c.d.apple.com")); in TEST()
1819 EXPECT_EQ("apple.izzie", cm->GetKey("a.b.c.d.apple.izzie")); in TEST()
1823 EXPECT_EQ("co.uk", cm->GetKey("co.uk")); in TEST()
1825 EXPECT_EQ(extension_name, cm->GetKey(extension_name)); in TEST()
1826 EXPECT_EQ("com", cm->GetKey("com")); in TEST()
1827 EXPECT_EQ("hostalias", cm->GetKey("hostalias")); in TEST()
1828 EXPECT_EQ("localhost", cm->GetKey("localhost")); in TEST()