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

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

Issue 11411086: google_apis: Move URL constants out of gdata_wapi_operations.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/gdata_wapi_url_util.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/gdata_wapi_url_util_unittest.cc
diff --git a/chrome/browser/google_apis/gdata_wapi_url_util_unittest.cc b/chrome/browser/google_apis/gdata_wapi_url_util_unittest.cc
index 9544d4cccc77b2625b0c029214ee560341812730..422b69b950e1bb42f484987792cf14266c9bc955 100644
--- a/chrome/browser/google_apis/gdata_wapi_url_util_unittest.cc
+++ b/chrome/browser/google_apis/gdata_wapi_url_util_unittest.cc
@@ -130,5 +130,25 @@ TEST(GDataWapiUrlUtilTest, GenerateDocumentListUrl) {
).spec());
}
+TEST(GDataWapiUrlUtilTest, GenerateDocumentEntryUrl) {
+ EXPECT_EQ(
+ "https://docs.google.com/feeds/default/private/full/XXX?v=3&alt=json",
+ GenerateDocumentEntryUrl("XXX").spec());
+}
+
+TEST(GDataWapiUrlUtilTest, GenerateDocumentListRootUrl) {
+ EXPECT_EQ(
+ "https://docs.google.com/feeds/default/private/full?v=3&alt=json",
+ GenerateDocumentListRootUrl().spec());
+}
+
+TEST(GDataWapiUrlUtilTest, GenerateAccountMetadataUrl) {
+ EXPECT_EQ(
+ "https://docs.google.com/feeds/metadata/default"
+ "?v=3&alt=json&include-installed-apps=true",
+ GenerateAccountMetadataUrl().spec());
+}
+
+
} // namespace gdata_wapi_url_util
} // namespace google_apis
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_url_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698