Home
last modified time | relevance | path

Searched refs:cache4 (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/content/browser/appcache/
Dappcache_group_unittest.cc131 scoped_refptr<AppCache> cache4(new AppCache(service.storage(), 444)); in TEST_F() local
132 cache4->set_complete(true); in TEST_F()
133 cache4->set_update_time(now + base::TimeDelta::FromDays(1)); // same as 3 in TEST_F()
134 group->AddCache(cache4.get()); in TEST_F()
135 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); in TEST_F()
142 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // no change in TEST_F()
147 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
152 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
155 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
158 EXPECT_EQ(cache4.get(), group->newest_complete_cache()); // newest unchanged in TEST_F()
[all …]
Dappcache_host_unittest.cc394 AppCache* cache4 = new AppCache(service_.storage(), 444); in TEST_F() local
395 cache4->set_complete(true); in TEST_F()
396 group2->AddCache(cache4); in TEST_F()
400 EXPECT_EQ(cache4, host.swappable_cache_.get()); // newest cache in group2 in TEST_F()