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

Unified Diff: chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc

Issue 343073003: Files.app: Provide detailed change information on onDirectoryChanged event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc b/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
index 9b7c09e951884134a9b64dbd766850542d2f9e52..f186184de6a79104e7e77205004352844bbaab75 100644
--- a/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system/touch_operation_unittest.cc
@@ -48,8 +48,8 @@ TEST_F(TouchOperationTest, TouchFile) {
base::Time::FromInternalValue(entry.file_info().last_modified()));
EXPECT_EQ(ResourceEntry::DIRTY, entry.metadata_edit_state());
- EXPECT_EQ(1U, observer()->get_changed_paths().size());
- EXPECT_TRUE(observer()->get_changed_paths().count(kTestPath.DirName()));
+ EXPECT_EQ(1U, observer()->get_changed_files().size());
+ EXPECT_TRUE(observer()->get_changed_files().count(kTestPath));
EXPECT_EQ(1U, observer()->updated_local_ids().size());
EXPECT_TRUE(observer()->updated_local_ids().count(entry.local_id()));
« no previous file with comments | « chrome/browser/chromeos/drive/file_system/touch_operation.cc ('k') | chrome/browser/chromeos/drive/file_system_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698