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

Unified Diff: google_apis/drive/drive_api_parser_unittest.cc

Issue 371883003: Files.app: Add an private API to get a download URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: google_apis/drive/drive_api_parser_unittest.cc
diff --git a/google_apis/drive/drive_api_parser_unittest.cc b/google_apis/drive/drive_api_parser_unittest.cc
index 6f9ee65e10996a96d63c12f0a90ef93425e6a5de..3a0bcfb6d116ff98bf970311f9c0b25369c1e022 100644
--- a/google_apis/drive/drive_api_parser_unittest.cc
+++ b/google_apis/drive/drive_api_parser_unittest.cc
@@ -157,6 +157,7 @@ TEST(DriveAPIParserTest, FileListParser) {
"0B4v7G8yEYAWHYW1OcExsUVZLABC"),
file1.parents()[0].parent_link());
+ EXPECT_EQ(GURL("https://www.example.com/download"), file1.download_url());
EXPECT_EQ("d41d8cd98f00b204e9800998ecf8427e", file1.md5_checksum());
EXPECT_EQ(1000U, file1.file_size());

Powered by Google App Engine
This is Rietveld 408576698