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

Unified Diff: chrome/browser/google_apis/drive_api_requests_unittest.cc

Issue 23477038: Misc clean up for Drive API service and requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « chrome/browser/google_apis/drive_api_requests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/drive_api_requests_unittest.cc
diff --git a/chrome/browser/google_apis/drive_api_requests_unittest.cc b/chrome/browser/google_apis/drive_api_requests_unittest.cc
index e39859e51d716e0a2eef0631e9e7d637c3e3ce55..331994dd4bb080faa6bace6504b2a7830f1de604 100644
--- a/chrome/browser/google_apis/drive_api_requests_unittest.cc
+++ b/chrome/browser/google_apis/drive_api_requests_unittest.cc
@@ -708,33 +708,6 @@ TEST_F(DriveApiRequestsTest, FilesListNextPageRequest) {
EXPECT_TRUE(result);
}
-TEST_F(DriveApiRequestsTest, ContinueGetFileListRequest) {
- // Set an expected data file containing valid result.
- expected_data_file_path_ = test_util::GetTestFilePath(
- "drive/filelist.json");
-
- GDataErrorCode error = GDATA_OTHER_ERROR;
- scoped_ptr<base::Value> result;
-
- {
- base::RunLoop run_loop;
- drive::ContinueGetFileListRequest* request =
- new drive::ContinueGetFileListRequest(
- request_sender_.get(),
- test_server_.GetURL("/continue/get/file/list"),
- test_util::CreateQuitCallback(
- &run_loop,
- test_util::CreateCopyResultCallback(&error, &result)));
- request_sender_->StartRequestWithRetry(request);
- run_loop.Run();
- }
-
- EXPECT_EQ(HTTP_SUCCESS, error);
- EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method);
- EXPECT_EQ("/continue/get/file/list", http_request_.relative_url);
- EXPECT_TRUE(result);
-}
-
TEST_F(DriveApiRequestsTest, FilesTrashRequest) {
// Set data for the expected result. Directory entry should be returned
// if the trashing entry is a directory, so using it here should be fine.
« no previous file with comments | « chrome/browser/google_apis/drive_api_requests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698