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

Unified Diff: chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc

Issue 286203007: [SyncFS] Drop manual conflict resolution policy support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: drop more unused Created 6 years, 7 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/extensions/api/sync_file_system/sync_file_system_apitest.cc
diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc b/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
index 03fcb22a36e2490d26a15d6bb0456654f720cb5e..efd758870c4d583846eb93e053cfa0c16c723eea 100644
--- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
+++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
@@ -114,7 +114,6 @@ ACTION_P5(ReturnWithFakeFileAddedStatus,
} // namespace
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetFileStatus) {
- EXPECT_CALL(*mock_remote_service(), IsConflicting(_)).WillOnce(Return(true));
ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_file_status"))
<< message_;
}
@@ -122,13 +121,6 @@ IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetFileStatus) {
IN_PROC_BROWSER_TEST_F(SyncFileSystemApiTest, GetFileStatuses) {
// Mocking to return IsConflicting() == true only for the path "Conflicting".
base::FilePath conflicting = base::FilePath::FromUTF8Unsafe("Conflicting");
- EXPECT_CALL(*mock_remote_service(),
- IsConflicting(Property(&FileSystemURL::path, Eq(conflicting))))
- .WillOnce(Return(true));
- EXPECT_CALL(*mock_remote_service(),
- IsConflicting(Property(&FileSystemURL::path, Ne(conflicting))))
- .WillRepeatedly(Return(false));
-
ASSERT_TRUE(RunPlatformAppTest("sync_file_system/get_file_statuses"))
<< message_;
}

Powered by Google App Engine
This is Rietveld 408576698