/external/chromium_org/webkit/browser/appcache/ |
D | appcache_service_unittest.cc | 88 kManifestUrl(kOrigin.Resolve("manifest")), in AppCacheServiceTest() 125 new AppCacheGroup(service_->storage(), kManifestUrl, kMockGroupId)); in SetupMockGroup() 129 kManifestUrl, in SetupMockGroup() 172 const GURL kManifestUrl; member in appcache::AppCacheServiceTest 251 EXPECT_FALSE(IsGroupStored(kManifestUrl)); in TEST_F() 252 service_->CheckAppCacheResponse(kManifestUrl, 1, 1); in TEST_F() 255 EXPECT_FALSE(IsGroupStored(kManifestUrl)); in TEST_F() 261 EXPECT_TRUE(IsGroupStored(kManifestUrl)); in TEST_F() 263 service_->CheckAppCacheResponse(kManifestUrl, kMockCacheId, kMockResponseId); in TEST_F() 266 EXPECT_TRUE(IsGroupStored(kManifestUrl)); in TEST_F() [all …]
|
D | appcache_storage_impl_unittest.cc | 41 const GURL kManifestUrl("http://blah/manifest"); variable 65 const GURL kOrigin(kManifestUrl.GetOrigin()); 509 storage()->LoadOrCreateGroup(kManifestUrl, delegate()); in CreateGroupInEmptyOrigin() 523 storage()->LoadOrCreateGroup(kManifestUrl, delegate()); in CreateGroupInPopulatedOrigin() 528 EXPECT_EQ(kManifestUrl, delegate()->loaded_manifest_url_); in Verify_CreateGroup() 555 MakeCacheAndGroup(kManifestUrl, 1, 1, true); in LoadGroupAndCache_FarHit() 584 storage()->LoadOrCreateGroup(kManifestUrl, delegate()); in Verify_LoadCache_Far_Hit() 589 EXPECT_EQ(kManifestUrl, delegate()->loaded_manifest_url_); in Verify_LoadGroup_Far_Hit() 608 storage(), kManifestUrl, storage()->NewGroupId()); in StoreNewGroup() 653 MakeCacheAndGroup(kManifestUrl, 1, 1, true); in StoreExistingGroup() [all …]
|
D | mock_appcache_storage_unittest.cc | 427 const GURL kManifestUrl("http://blah/manifest"); in TEST_F() local 434 new AppCacheGroup(service.storage(), kManifestUrl, 111)); in TEST_F() 446 EXPECT_EQ(kManifestUrl, delegate.found_manifest_url_); in TEST_F() 466 const GURL kManifestUrl("http://blah/manifest"); in TEST_F() local 487 new AppCacheGroup(service.storage(), kManifestUrl, 111)); in TEST_F() 503 EXPECT_EQ(kManifestUrl, delegate.found_manifest_url_); in TEST_F() 578 const GURL kManifestUrl("http://blah/manifest"); in TEST_F() local 594 new AppCacheGroup(service.storage(), kManifestUrl, 111)); in TEST_F()
|
D | appcache_unittest.cc | 151 const GURL kManifestUrl("http://blah/manifest"); in TEST() local 203 kManifestUrl, in TEST() 244 found = cache->FindResponseForRequest(kManifestUrl, in TEST() 544 const GURL kManifestUrl("http://foo.com/manifest"); in TEST() local 559 new AppCacheGroup(service.storage(), kManifestUrl, kGroupId); in TEST() 563 ParseManifest(kManifestUrl, kData.c_str(), kData.length(), manifest)); in TEST() 570 kManifestUrl, in TEST() 608 EXPECT_TRUE(cache->GetEntry(kManifestUrl)); in TEST()
|
D | appcache_database_unittest.cc | 283 const GURL kManifestUrl("http://blah/manifest"); in TEST() local 284 const GURL kOrigin(kManifestUrl.GetOrigin()); in TEST() 295 EXPECT_FALSE(db.FindGroupForManifestUrl(kManifestUrl, &record)); in TEST() 302 record.manifest_url = kManifestUrl; in TEST() 315 EXPECT_EQ(kManifestUrl, record.manifest_url); in TEST() 323 EXPECT_TRUE(db.FindGroupForManifestUrl(kManifestUrl, &record)); in TEST() 325 EXPECT_EQ(kManifestUrl, record.manifest_url); in TEST() 352 EXPECT_EQ(kManifestUrl, records[0].manifest_url); in TEST() 643 const GURL kManifestUrl("http://blah/manifest"); in TEST() local 645 const GURL kOrigin(kManifestUrl.GetOrigin()); in TEST() [all …]
|
D | appcache_host_unittest.cc | 473 const GURL kManifestUrl(GURL("http://whatever/cache.manifest")); in TEST_F() local 477 host.SelectCache(kDocAndOriginUrl, kNoCacheId, kManifestUrl); in TEST_F() 511 const GURL kManifestUrl(GURL("http://whatever/cache.manifest")); in TEST_F() local 515 host.SelectCache(kDocAndOriginUrl, kNoCacheId, kManifestUrl); in TEST_F()
|
D | appcache_url_request_job_unittest.cc | 422 const GURL kManifestUrl("http://blah/"); in DeliveryOrders() local 426 job->DeliverAppCachedResponse(kManifestUrl, kCacheId, kGroupId, in DeliveryOrders() 431 EXPECT_EQ(kManifestUrl, job->manifest_url()); in DeliveryOrders()
|
D | appcache_update_job_unittest.cc | 1499 const GURL kManifestUrl = in UpgradeFailMasterUrlFetchTest() local 1502 service_->storage(), kManifestUrl, in UpgradeFailMasterUrlFetchTest() 1538 MakeAppCacheResponseInfo(kManifestUrl, 444, kRawHeaders); in UpgradeFailMasterUrlFetchTest() 1539 MakeAppCacheResponseInfo(kManifestUrl, 555, kRawHeaders); in UpgradeFailMasterUrlFetchTest() 1921 const GURL kManifestUrl = MockHttpServer::GetMockUrl("files/notmodified"); in MasterEntryFailStoreNewestCacheTest() local 1933 MakeAppCacheResponseInfo(kManifestUrl, kManifestResponseId, kRawHeaders); in MasterEntryFailStoreNewestCacheTest() 1936 service_->storage(), kManifestUrl, in MasterEntryFailStoreNewestCacheTest() 1944 host->first_party_url_ = kManifestUrl; in MasterEntryFailStoreNewestCacheTest() 1946 kNoCacheId, kManifestUrl); in MasterEntryFailStoreNewestCacheTest()
|