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

Unified Diff: net/disk_cache/disk_cache_test_base.cc

Issue 14134005: Simple Cache: Re-enable entry counting in tests on start (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/disk_cache_test_base.cc
diff --git a/net/disk_cache/disk_cache_test_base.cc b/net/disk_cache/disk_cache_test_base.cc
index 36de25d0dc7f73d920c6bfd4e01c1f914f11ac4c..3111b5e4145517d878ff16066ee2d78a66a253b1 100644
--- a/net/disk_cache/disk_cache_test_base.cc
+++ b/net/disk_cache/disk_cache_test_base.cc
@@ -74,8 +74,7 @@ void DiskCacheTestWithCache::InitCache() {
InitDiskCache();
ASSERT_TRUE(NULL != cache_);
- // TODO(pasko): enable Entry Count for the Simple Cache.
- if (first_cleanup_ && !simple_cache_mode_)
+ if (first_cleanup_)
ASSERT_EQ(0, cache_->GetEntryCount());
}
« 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