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

Unified Diff: google_apis/drive/files_list_request_runner_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 | « 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..9c4c8eb4c1d22ea869d3d080183fc7febab200b9 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, CORPORA_DEFAULT, "", 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, CORPORA_DEFAULT, "", 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, CORPORA_DEFAULT, "", 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, CORPORA_DEFAULT, "", 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