| Index: chrome/browser/google_apis/drive_api_url_generator_unittest.cc
|
| diff --git a/chrome/browser/google_apis/drive_api_url_generator_unittest.cc b/chrome/browser/google_apis/drive_api_url_generator_unittest.cc
|
| index bd43761594c5481272800c5b4b55d41e5558dfbc..52da47a968ce0ec01caff91c9a59271a359c6deb 100644
|
| --- a/chrome/browser/google_apis/drive_api_url_generator_unittest.cc
|
| +++ b/chrome/browser/google_apis/drive_api_url_generator_unittest.cc
|
| @@ -41,13 +41,6 @@ TEST_F(DriveApiUrlGeneratorTest, GetAppsListUrl) {
|
| test_url_generator_.GetAppsListUrl().spec());
|
| }
|
|
|
| -TEST_F(DriveApiUrlGeneratorTest, GetFilesUrl) {
|
| - EXPECT_EQ("https://www.googleapis.com/drive/v2/files",
|
| - url_generator_.GetFilesUrl().spec());
|
| - EXPECT_EQ("http://127.0.0.1:12345/drive/v2/files",
|
| - test_url_generator_.GetFilesUrl().spec());
|
| -}
|
| -
|
| TEST_F(DriveApiUrlGeneratorTest, GetFilesGetUrl) {
|
| // |file_id| should be embedded into the url.
|
| EXPECT_EQ("https://www.googleapis.com/drive/v2/files/0ADK06pfg",
|
| @@ -65,6 +58,13 @@ TEST_F(DriveApiUrlGeneratorTest, GetFilesGetUrl) {
|
| test_url_generator_.GetFilesGetUrl("file:file_id").spec());
|
| }
|
|
|
| +TEST_F(DriveApiUrlGeneratorTest, GetFilesInsertUrl) {
|
| + EXPECT_EQ("https://www.googleapis.com/drive/v2/files",
|
| + url_generator_.GetFilesInsertUrl().spec());
|
| + EXPECT_EQ("http://127.0.0.1:12345/drive/v2/files",
|
| + test_url_generator_.GetFilesInsertUrl().spec());
|
| +}
|
| +
|
| TEST_F(DriveApiUrlGeneratorTest, GetFilePatchUrl) {
|
| struct TestPattern {
|
| bool set_modified_date;
|
|
|