diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 03:50:42 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-06 03:50:42 +0000 |
commit | ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6 (patch) | |
tree | 87a1e45bb6e93e1140a8719681fb653464bcea5e /webkit/appcache/appcache_unittest.cc | |
parent | fd4882e6faab19e1de6d791acebfa3b34faf5701 (diff) | |
download | chromium_src-ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6.zip chromium_src-ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6.tar.gz chromium_src-ee3cd175f8592b2b1f2ccd14b071d56ca733a5c6.tar.bz2 |
Revert 35609 - AppCache quota tracking groundwork, store response sizes in the SQL database.
TEST=updated existing unittests
BUG=none
Review URL: http://codereview.chromium.org/523046
TBR=michaeln@chromium.org
Review URL: http://codereview.chromium.org/525059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35610 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_unittest.cc')
-rw-r--r-- | webkit/appcache/appcache_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/appcache/appcache_unittest.cc b/webkit/appcache/appcache_unittest.cc index 6177d13..9f41cd0e7 100644 --- a/webkit/appcache/appcache_unittest.cc +++ b/webkit/appcache/appcache_unittest.cc @@ -43,12 +43,11 @@ TEST(AppCacheTest, AddModifyEntry) { const GURL kUrl2("http://bar.com"); AppCacheEntry entry2(AppCacheEntry::FALLBACK); - EXPECT_TRUE(cache->AddOrModifyEntry(kUrl2, entry2)); + cache->AddOrModifyEntry(kUrl2, entry2); EXPECT_EQ(entry2.types(), cache->GetEntry(kUrl2)->types()); - // Expected to return false when an existing entry is modified. AppCacheEntry entry3(AppCacheEntry::EXPLICIT); - EXPECT_FALSE(cache->AddOrModifyEntry(kUrl1, entry3)); + cache->AddOrModifyEntry(kUrl1, entry3); EXPECT_EQ((AppCacheEntry::MASTER | AppCacheEntry::EXPLICIT), cache->GetEntry(kUrl1)->types()); EXPECT_EQ(entry2.types(), cache->GetEntry(kUrl2)->types()); // unchanged |