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

Unified Diff: components/drive/service/fake_drive_service_unittest.cc

Issue 2910913002: WIP.
Patch Set: rebase Created 3 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
« no previous file with comments | « components/drive/service/fake_drive_service.cc ('k') | google_apis/drive/drive_api_requests.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/service/fake_drive_service_unittest.cc
diff --git a/components/drive/service/fake_drive_service_unittest.cc b/components/drive/service/fake_drive_service_unittest.cc
index 18006a73908a0a62964f57fbd407c00c86bcd93d..c5de3bb94283b923879e1817a949959ec6d0a747 100644
--- a/components/drive/service/fake_drive_service_unittest.cc
+++ b/components/drive/service/fake_drive_service_unittest.cc
@@ -158,7 +158,7 @@ TEST_F(FakeDriveServiceTest, GetFileListInDirectory_InRootDirectory) {
DriveApiErrorCode error = DRIVE_OTHER_ERROR;
std::unique_ptr<FileList> file_list;
fake_service_.GetFileListInDirectory(
- fake_service_.GetRootResourceId(),
+ fake_service_.GetRootResourceId(), "" /* team_drive_id */,
test_util::CreateCopyResultCallback(&error, &file_list));
base::RunLoop().RunUntilIdle();
@@ -175,7 +175,7 @@ TEST_F(FakeDriveServiceTest, GetFileListInDirectory_InNonRootDirectory) {
DriveApiErrorCode error = DRIVE_OTHER_ERROR;
std::unique_ptr<FileList> file_list;
fake_service_.GetFileListInDirectory(
- "1_folder_resource_id",
+ "1_folder_resource_id", "" /* team_drive_id */,
test_util::CreateCopyResultCallback(&error, &file_list));
base::RunLoop().RunUntilIdle();
@@ -194,7 +194,7 @@ TEST_F(FakeDriveServiceTest, GetFileListInDirectory_Offline) {
DriveApiErrorCode error = DRIVE_OTHER_ERROR;
std::unique_ptr<FileList> file_list;
fake_service_.GetFileListInDirectory(
- fake_service_.GetRootResourceId(),
+ fake_service_.GetRootResourceId(), "" /* team_drive_id */,
test_util::CreateCopyResultCallback(&error, &file_list));
base::RunLoop().RunUntilIdle();
@@ -606,7 +606,7 @@ TEST_F(FakeDriveServiceTest, GetRemainingFileList_GetFileListInDirectory) {
DriveApiErrorCode error = DRIVE_OTHER_ERROR;
std::unique_ptr<FileList> file_list;
fake_service_.GetFileListInDirectory(
- fake_service_.GetRootResourceId(),
+ fake_service_.GetRootResourceId(), "" /* team_drive_id */,
test_util::CreateCopyResultCallback(&error, &file_list));
base::RunLoop().RunUntilIdle();
EXPECT_EQ(HTTP_SUCCESS, error);
« no previous file with comments | « components/drive/service/fake_drive_service.cc ('k') | google_apis/drive/drive_api_requests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698