Home
last modified time | relevance | path

Searched refs:cache1 (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/components/nacl/browser/
Dnacl_validation_cache_unittest.cc20 NaClValidationCache cache1; member in nacl::NaClValidationCacheTest
26 cache1.SetValidationCacheKey(key); in SetUp()
41 ASSERT_EQ(0, (int) cache1.size()); in TEST_F()
42 ASSERT_FALSE(cache1.QueryKnownToValidate(sig1, true)); in TEST_F()
43 ASSERT_FALSE(cache1.QueryKnownToValidate(sig2, true)); in TEST_F()
47 cache1.SetKnownToValidate(sig1); in TEST_F()
48 ASSERT_EQ(1, (int) cache1.size()); in TEST_F()
49 ASSERT_TRUE(cache1.QueryKnownToValidate(sig1, true)); in TEST_F()
50 ASSERT_FALSE(cache1.QueryKnownToValidate(sig2, true)); in TEST_F()
54 cache1.SetKnownToValidate(sig2); in TEST_F()
[all …]
/external/chromium_org/webkit/browser/appcache/
Dappcache_group_unittest.cc110 scoped_refptr<AppCache> cache1(new AppCache(service.storage(), 111)); in TEST_F() local
111 cache1->set_complete(true); in TEST_F()
112 cache1->set_update_time(now); in TEST_F()
113 group->AddCache(cache1.get()); in TEST_F()
114 EXPECT_EQ(cache1, group->newest_complete_cache()); in TEST_F()
121 EXPECT_EQ(cache1, group->newest_complete_cache()); in TEST_F()
145 group->RemoveCache(cache1.get()); in TEST_F()
146 EXPECT_FALSE(cache1->owning_group()); in TEST_F()
164 group->AddCache(cache1.get()); in TEST_F()
165 EXPECT_EQ(cache1, group->newest_complete_cache()); in TEST_F()
[all …]
Dappcache_host_unittest.cc365 AppCache* cache1 = new AppCache(service_.storage(), 111); in TEST_F() local
366 cache1->set_complete(true); in TEST_F()
367 group1->AddCache(cache1); in TEST_F()
369 EXPECT_EQ(cache1, host.swappable_cache_.get()); in TEST_F()
373 host.AssociateCompleteCache(cache1); in TEST_F()
378 EXPECT_EQ(cache1->cache_id(), mock_frontend_.last_cache_id_); in TEST_F()
Dappcache_update_job_unittest.cc662 AppCache* cache1 = MakeCacheForGroup(1, 111); in StartUpgradeAttemptTest() local
671 host1.AssociateCompleteCache(cache1); in StartUpgradeAttemptTest()
677 host3.AssociateCompleteCache(cache1); in StartUpgradeAttemptTest()