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

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

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 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 autofill {
10 namespace wallet {
11
12 TEST(WalletServiceUrl, CheckDefaultUrls) {
13 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
14 "getWalletItemsJwtless",
15 GetGetWalletItemsUrl().spec());
16 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
17 "getFullWalletJwtless",
18 GetGetFullWalletUrl().spec());
19 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
20 "acceptLegalDocument",
21 GetAcceptLegalDocumentsUrl().spec());
22 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
23 "authenticateInstrument",
24 GetAuthenticateInstrumentUrl().spec());
25 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
26 "reportStatus",
27 GetSendStatusUrl().spec());
28 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
29 "saveToWallet",
30 GetSaveToWalletUrl().spec());
31 ASSERT_EQ("https://wallet.google.com/online/v2/passiveauth",
32 GetPassiveAuthUrl().spec());
33 ASSERT_EQ("https://wallet.google.com/online-secure/temporarydata/cvv?s7e=cvv",
34 GetEncryptionUrl().spec());
35 ASSERT_EQ("https://wallet.google.com/dehEfe?s7e=cardNumber%3Bcvv",
36 GetEscrowUrl().spec());
37 }
38
39 } // namespace wallet
40 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/autofill/wallet/wallet_service_url.cc ('k') | chrome/browser/autofill/wallet/wallet_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698