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

Unified Diff: net/disk_cache/backend_unittest.cc

Issue 14188044: Avoid double-InitCache() in SimpleDoomBetween test, leak (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | no next file » | 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 1dbdd56df102ef214386fe9a16c783434ceb9fa6..caf48a77b717f2f8138adadab7302f3cd01c04ac 100644
--- a/net/disk_cache/backend_unittest.cc
+++ b/net/disk_cache/backend_unittest.cc
@@ -2901,13 +2901,11 @@ TEST_F(DiskCacheBackendTest, SimpleOpenBadFile) {
TEST_F(DiskCacheBackendTest, SimpleDoomRecent) {
SetSimpleCacheMode();
- InitCache();
BackendDoomRecent();
}
TEST_F(DiskCacheBackendTest, SimpleDoomBetween) {
SetSimpleCacheMode();
- InitCache();
BackendDoomBetween();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698