Index: google_apis/drive/drive_api_url_generator_unittest.cc |
diff --git a/google_apis/drive/drive_api_url_generator_unittest.cc b/google_apis/drive/drive_api_url_generator_unittest.cc |
index 343b2791c4eff187bae8e13f50116a43e3146a2f..a7e0c9a57f97f75f6e0c4116271d7ed6c54d001a 100644 |
--- a/google_apis/drive/drive_api_url_generator_unittest.cc |
+++ b/google_apis/drive/drive_api_url_generator_unittest.cc |
@@ -41,6 +41,13 @@ TEST_F(DriveApiUrlGeneratorTest, GetAppsListUrl) { |
test_url_generator_.GetAppsListUrl().spec()); |
} |
+TEST_F(DriveApiUrlGeneratorTest, GetAppsDeleteUrl) { |
+ EXPECT_EQ("https://www.googleapis.com/drive/v2internal/apps/0ADK06pfg", |
+ url_generator_.GetAppsDeleteUrl("0ADK06pfg").spec()); |
+ EXPECT_EQ("http://127.0.0.1:12345/drive/v2internal/apps/0ADK06pfg", |
+ test_url_generator_.GetAppsDeleteUrl("0ADK06pfg").spec()); |
+} |
+ |
TEST_F(DriveApiUrlGeneratorTest, GetFilesGetUrl) { |
// |file_id| should be embedded into the url. |
EXPECT_EQ("https://www.googleapis.com/drive/v2/files/0ADK06pfg", |