Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: net/disk_cache/backend_unittest.cc

Issue 14295013: Simple Cache: DoomEntriesBetween() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix an actual bug in DoomEntry Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/disk_cache/simple/simple_backend_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_unittest.cc
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc
index 41317e1743a7a0b9a2a6b82dfb6903bb545d9e4d..1dbdd56df102ef214386fe9a16c783434ceb9fa6 100644
--- a/net/disk_cache/backend_unittest.cc
+++ b/net/disk_cache/backend_unittest.cc
@@ -2899,4 +2899,16 @@ TEST_F(DiskCacheBackendTest, SimpleOpenBadFile) {
ASSERT_EQ(net::ERR_FAILED, OpenEntry(key, &entry));
}
+TEST_F(DiskCacheBackendTest, SimpleDoomRecent) {
+ SetSimpleCacheMode();
+ InitCache();
+ BackendDoomRecent();
+}
+
+TEST_F(DiskCacheBackendTest, SimpleDoomBetween) {
+ SetSimpleCacheMode();
+ InitCache();
+ BackendDoomBetween();
+}
+
#endif // !defined(OS_WIN)
« no previous file with comments | « no previous file | net/disk_cache/simple/simple_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698