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

Unified Diff: google_apis/drive/base_requests_server_unittest.cc

Issue 548343004: Move chrome/test/data/gdata/testfile.txt to chrome/test/data/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/test/data/gdata/testfile.txt ('k') | google_apis/drive/drive_api_requests_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/base_requests_server_unittest.cc
diff --git a/google_apis/drive/base_requests_server_unittest.cc b/google_apis/drive/base_requests_server_unittest.cc
index a1f07b7d5611af0d33ffe20ead94b5fb0fb1e7af..88c3bcd9e85edd26108f73c131432e9a8483cfed 100644
--- a/google_apis/drive/base_requests_server_unittest.cc
+++ b/google_apis/drive/base_requests_server_unittest.cc
@@ -81,7 +81,7 @@ TEST_F(BaseRequestsServerTest, DownloadFileRequest_ValidFile) {
test_util::CreateCopyResultCallback(&result_code, &temp_file)),
GetContentCallback(),
ProgressCallback(),
- test_server_.GetURL("/files/gdata/testfile.txt"),
+ test_server_.GetURL("/files/drive/testfile.txt"),
GetTestCachedFilePath(
base::FilePath::FromUTF8Unsafe("cached_testfile.txt")));
request_sender_->StartRequestWithRetry(request);
@@ -94,10 +94,10 @@ TEST_F(BaseRequestsServerTest, DownloadFileRequest_ValidFile) {
EXPECT_EQ(HTTP_SUCCESS, result_code);
EXPECT_EQ(net::test_server::METHOD_GET, http_request_.method);
- EXPECT_EQ("/files/gdata/testfile.txt", http_request_.relative_url);
+ EXPECT_EQ("/files/drive/testfile.txt", http_request_.relative_url);
const base::FilePath expected_path =
- test_util::GetTestFilePath("gdata/testfile.txt");
+ test_util::GetTestFilePath("drive/testfile.txt");
std::string expected_contents;
base::ReadFileToString(expected_path, &expected_contents);
EXPECT_EQ(expected_contents, contents);
« no previous file with comments | « chrome/test/data/gdata/testfile.txt ('k') | google_apis/drive/drive_api_requests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698