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

Unified Diff: chrome/browser/google_apis/drive_api_url_generator_unittest.cc

Issue 23575004: Refactor CreateDiretoryRequest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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/browser/google_apis/drive_api_url_generator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/google_apis/drive_api_url_generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698