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

Side by Side Diff: google_apis/drive/gdata_wapi_url_generator_unittest.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « google_apis/drive/gdata_wapi_url_generator.cc ('k') | google_apis/drive/request_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h" 5 #include "google_apis/drive/gdata_wapi_url_generator.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "url/gurl.h" 8 #include "url/gurl.h"
9 9
10 namespace google_apis { 10 namespace google_apis {
11 11
12 class GDataWapiUrlGeneratorTest : public testing::Test { 12 class GDataWapiUrlGeneratorTest : public testing::Test {
13 public: 13 public:
14 GDataWapiUrlGeneratorTest() 14 GDataWapiUrlGeneratorTest()
15 : url_generator_( 15 : url_generator_(
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 url_generator_.GenerateAccountMetadataUrl(false).spec()); 213 url_generator_.GenerateAccountMetadataUrl(false).spec());
214 } 214 }
215 215
216 TEST_F(GDataWapiUrlGeneratorTest, GenerateDownloadFileUrl) { 216 TEST_F(GDataWapiUrlGeneratorTest, GenerateDownloadFileUrl) {
217 EXPECT_EQ( 217 EXPECT_EQ(
218 "https://www.googledrive.com/host/resourceId", 218 "https://www.googledrive.com/host/resourceId",
219 url_generator_.GenerateDownloadFileUrl("file:resourceId").spec()); 219 url_generator_.GenerateDownloadFileUrl("file:resourceId").spec());
220 } 220 }
221 221
222 } // namespace google_apis 222 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/gdata_wapi_url_generator.cc ('k') | google_apis/drive/request_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698