Lines Matching refs:Lookup
37 // Lookup non-existent entry.
38 EXPECT_TRUE(cache.Lookup(origin1) == NULL);
42 FtpAuthCache::Entry* entry1 = cache.Lookup(origin1);
50 FtpAuthCache::Entry* entry2 = cache.Lookup(origin2);
57 EXPECT_EQ(entry1, cache.Lookup(origin1));
61 FtpAuthCache::Entry* entry3 = cache.Lookup(origin1);
69 EXPECT_TRUE(cache.Lookup(origin1) == NULL);
73 EXPECT_TRUE(cache.Lookup(origin1) == NULL);
87 EXPECT_NE(cache.Lookup(origin1), cache.Lookup(origin2));
100 // Lookup.
101 FtpAuthCache::Entry* entry1 = cache.Lookup(GURL("ftp://HoSt:21"));
103 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host:21")));
104 EXPECT_EQ(entry1, cache.Lookup(GURL("ftp://host")));
108 FtpAuthCache::Entry* entry2 = cache.Lookup(GURL("ftp://HoSt:21"));
116 EXPECT_TRUE(cache.Lookup(GURL("ftp://host")) == NULL);
123 EXPECT_TRUE(cache.Lookup(GURL("ftp://host")));
127 EXPECT_TRUE(cache.Lookup(GURL("ftp://host")));
131 EXPECT_TRUE(cache.Lookup(GURL("ftp://host")) == NULL);
144 EXPECT_TRUE(cache.Lookup(GURL("ftp://host" + base::IntToString(i))));
149 EXPECT_TRUE(cache.Lookup(GURL("ftp://host0")) == NULL);
153 EXPECT_TRUE(cache.Lookup(GURL("ftp://host" + base::IntToString(i))));
155 EXPECT_TRUE(cache.Lookup(GURL("ftp://last_host")));