diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 13:56:56 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 13:56:56 +0000 |
commit | afc967b944955aa7433aff49003ae3c87ba708fd (patch) | |
tree | caeef3a5bfa7a7475862c8ae0aebcee73811efad /net/disk_cache/backend_unittest.cc | |
parent | 18fc33bb74c62babf58f929ef217ae4812502c22 (diff) | |
download | chromium_src-afc967b944955aa7433aff49003ae3c87ba708fd.zip chromium_src-afc967b944955aa7433aff49003ae3c87ba708fd.tar.gz chromium_src-afc967b944955aa7433aff49003ae3c87ba708fd.tar.bz2 |
Revert 211790 "Make simple cache not use optimistic operations f..."
> Make simple cache not use optimistic operations for APP_CACHE.
>
> This is needed as part of the default disk backend -> simple backend migration
> for app cache (on Android).
>
> This CL also enables a few unit tests in app cache mode with the simple
> backend.
>
> BUG=257616
> R=gavinp@chromium.org
>
> Review URL: https://codereview.chromium.org/18392005
TBR=pliard@chromium.org
Review URL: https://codereview.chromium.org/19275008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_unittest.cc')
-rw-r--r-- | net/disk_cache/backend_unittest.cc | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc index ff8df1f..91b9a14 100644 --- a/net/disk_cache/backend_unittest.cc +++ b/net/disk_cache/backend_unittest.cc @@ -2886,22 +2886,11 @@ TEST_F(DiskCacheBackendTest, SimpleCacheBasics) { BackendBasics(); } -TEST_F(DiskCacheBackendTest, SimpleCacheAppCacheBasics) { - SetCacheType(net::APP_CACHE); - SetSimpleCacheMode(); - BackendBasics(); -} - TEST_F(DiskCacheBackendTest, SimpleCacheKeying) { SetSimpleCacheMode(); BackendKeying(); } -TEST_F(DiskCacheBackendTest, SimpleCacheAppCacheKeying) { - SetSimpleCacheMode(); - SetCacheType(net::APP_CACHE); - BackendKeying(); -} TEST_F(DiskCacheBackendTest, DISABLED_SimpleCacheSetSize) { SetSimpleCacheMode(); @@ -2921,25 +2910,6 @@ TEST_F(DiskCacheBackendTest, MAYBE_SimpleCacheLoad) { BackendLoad(); } -TEST_F(DiskCacheBackendTest, SimpleCacheAppCacheLoad) { - SetCacheType(net::APP_CACHE); - SetSimpleCacheMode(); - SetMaxSize(0x100000); - BackendLoad(); -} - -TEST_F(DiskCacheBackendTest, SimpleCacheAppCacheChain) { - SetCacheType(net::APP_CACHE); - SetSimpleCacheMode(); - BackendChain(); -} - -TEST_F(DiskCacheBackendTest, SimpleCacheAppCacheEnumerations2) { - SetCacheType(net::APP_CACHE); - SetSimpleCacheMode(); - BackendEnumerations2(); -} - TEST_F(DiskCacheBackendTest, SimpleDoomRecent) { SetSimpleCacheMode(); BackendDoomRecent(); @@ -2956,12 +2926,6 @@ TEST_F(DiskCacheBackendTest, FLAKY_SimpleCacheDoomAll) { BackendDoomAll(); } -TEST_F(DiskCacheBackendTest, SimpleCacheAppCacheOnlyDoomAll) { - SetCacheType(net::APP_CACHE); - SetSimpleCacheMode(); - BackendDoomAll(); -} - TEST_F(DiskCacheBackendTest, SimpleCacheTracingBackendBasics) { SetSimpleCacheMode(); TracingBackendBasics(); |