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

Unified Diff: chrome/browser/chromeos/drive/drive_cache_unittest.cc

Issue 14392003: Remove unused code/data from DriveFileSystemTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove more and revive one 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 | chrome/browser/chromeos/drive/drive_file_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_cache_unittest.cc
diff --git a/chrome/browser/chromeos/drive/drive_cache_unittest.cc b/chrome/browser/chromeos/drive/drive_cache_unittest.cc
index 8dbac5af2c3694d10073fae381b759238359ed73..5e5b3668400a99c2cb7af4816ba3b4a38583efc6 100644
--- a/chrome/browser/chromeos/drive/drive_cache_unittest.cc
+++ b/chrome/browser/chromeos/drive/drive_cache_unittest.cc
@@ -45,10 +45,10 @@ struct TestCacheResource {
false, false },
// Cache resource in tmp dir, i.e. not pinned or dirty, with resource_id
// containing non-alphanumeric characters.
- { "gdata/subdir_feed.json", "tmp:`~!@#$%^&*()-_=+[{|]}\\;',<.>/?",
+ { "gdata/empty_feed.json", "tmp:`~!@#$%^&*()-_=+[{|]}\\;',<.>/?",
"md5_tmp_non_alphanumeric", false, false },
// Cache resource that is pinned and persistent.
- { "gdata/directory_entry_atom.json", "pinned:existing", "md5_pinned_existing",
+ { "gdata/directory_entry.json", "pinned:existing", "md5_pinned_existing",
true, false },
// Cache resource with a non-existent source file that is pinned.
{ "", "pinned:non-existent", "md5_pinned_non_existent", true, false },
@@ -685,7 +685,7 @@ TEST_F(DriveCacheTest, StoreToCacheSimple) {
TestStoreToCache(
resource_id, md5,
google_apis::test_util::GetTestFilePath(
- "chromeos/gdata/subdir_feed.json"),
+ "chromeos/gdata/empty_feed.json"),
DRIVE_FILE_OK, test_util::TEST_CACHE_STATE_PRESENT,
DriveCache::CACHE_TYPE_TMP);
@@ -1165,7 +1165,7 @@ TEST_F(DriveCacheTest, DirtyCacheInvalid) {
TestStoreToCache(
resource_id, md5,
google_apis::test_util::GetTestFilePath(
- "chromeos/gdata/subdir_feed.json"),
+ "chromeos/gdata/empty_feed.json"),
DRIVE_FILE_ERROR_IN_USE,
test_util::TEST_CACHE_STATE_PRESENT |
test_util::TEST_CACHE_STATE_DIRTY |
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698