Searched refs:cache4 (Results 1 – 2 of 2) sorted by relevance
131 scoped_refptr<AppCache> cache4(new AppCache(service.storage(), 444)); in TEST_F() local132 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 …]
394 AppCache* cache4 = new AppCache(service_.storage(), 444); in TEST_F() local395 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()