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

Side by Side Diff: chrome/browser/autofill/wallet/wallet_service_url_unittest.cc

Issue 11293078: Integrating Online Wallet into Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes from Dane's review 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/autofill/wallet/wallet_service_url.h"
6 #include "googleurl/src/gurl.h"
7 #include "testing/gtest/include/gtest/gtest.h"
8
9 namespace wallet {
10
11 TEST(WalletServiceUrl, CheckDefaultUrls) {
12 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/"
13 "getWalletItemsJwtless",
14 GetGetWalletItemsUrl().spec());
15 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/"
16 "getFullWalletJwtless",
17 GetGetFullWalletUrl().spec());
18 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/"
19 "acceptLegalDocuments",
20 GetAcceptLegalDocumentsUrl().spec());
21 ASSERT_EQ("", GetSecureUrl().spec());
22 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/"
23 "reportStatus",
24 GetSendStatusUrl().spec());
25 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/"
26 "saveToWallet",
27 GetSaveToWalletUrl().spec());
28 }
29
30 } // end wallet namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698