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

Unified Diff: google_apis/drive/drive_api_url_generator_unittest.cc

Issue 127663002: Implement DriveAPIService::UninstallApp(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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_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",
« google_apis/drive/drive_api_url_generator.cc ('K') | « google_apis/drive/drive_api_url_generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698