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

Unified Diff: google_apis/drive/files_list_request_runner_unittest.cc

Issue 2894513003: Fetch files shared in Team Drives by specifying allTeamDrives corpora. (Closed)
Patch Set: Make comment style consistent with existing one Created 3 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
« no previous file with comments | « google_apis/drive/files_list_request_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/files_list_request_runner_unittest.cc
diff --git a/google_apis/drive/files_list_request_runner_unittest.cc b/google_apis/drive/files_list_request_runner_unittest.cc
index 89e7f3acf8a39d8421007974e7156cec4f1637e1..926770edac20b56ad048f2c69b4c6bb35b60fedd 100644
--- a/google_apis/drive/files_list_request_runner_unittest.cc
+++ b/google_apis/drive/files_list_request_runner_unittest.cc
@@ -139,7 +139,7 @@ class FilesListRequestRunnerTest : public testing::Test {
TEST_F(FilesListRequestRunnerTest, Success_NoBackoff) {
SetFakeServerResponse(net::HTTP_OK, kSuccessResource);
runner_->CreateAndStartWithSizeBackoff(
- kMaxResults, kQuery, kFields,
+ kMaxResults, FilesListCorpora::DEFAULT, std::string(), kQuery, kFields,
base::Bind(&FilesListRequestRunnerTest::OnCompleted,
base::Unretained(this)));
@@ -161,7 +161,7 @@ TEST_F(FilesListRequestRunnerTest, Success_Backoff) {
SetFakeServerResponse(net::HTTP_INTERNAL_SERVER_ERROR,
kResponseTooLargeErrorResource);
runner_->CreateAndStartWithSizeBackoff(
- kMaxResults, kQuery, kFields,
+ kMaxResults, FilesListCorpora::DEFAULT, std::string(), kQuery, kFields,
base::Bind(&FilesListRequestRunnerTest::OnCompleted,
base::Unretained(this)));
{
@@ -199,7 +199,7 @@ TEST_F(FilesListRequestRunnerTest, Failure_TooManyBackoffs) {
SetFakeServerResponse(net::HTTP_INTERNAL_SERVER_ERROR,
kResponseTooLargeErrorResource);
runner_->CreateAndStartWithSizeBackoff(
- kMaxResults, kQuery, kFields,
+ kMaxResults, FilesListCorpora::DEFAULT, std::string(), kQuery, kFields,
base::Bind(&FilesListRequestRunnerTest::OnCompleted,
base::Unretained(this)));
{
@@ -255,7 +255,7 @@ TEST_F(FilesListRequestRunnerTest, Failure_AnotherError) {
SetFakeServerResponse(net::HTTP_INTERNAL_SERVER_ERROR,
kQuotaExceededErrorResource);
runner_->CreateAndStartWithSizeBackoff(
- kMaxResults, kQuery, kFields,
+ kMaxResults, FilesListCorpora::DEFAULT, std::string(), kQuery, kFields,
base::Bind(&FilesListRequestRunnerTest::OnCompleted,
base::Unretained(this)));
« no previous file with comments | « google_apis/drive/files_list_request_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698