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

Side by Side Diff: components/autofill/browser/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
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/autofill/wallet/wallet_service_url.h" 5 #include "components/autofill/browser/wallet/wallet_service_url.h"
6 #include "googleurl/src/gurl.h" 6 #include "googleurl/src/gurl.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 namespace wallet { 10 namespace wallet {
11 11
12 TEST(WalletServiceUrl, CheckDefaultUrls) { 12 TEST(WalletServiceUrl, CheckDefaultUrls) {
13 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/" 13 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/v1/"
14 "getWalletItemsJwtless", 14 "getWalletItemsJwtless",
15 GetGetWalletItemsUrl().spec()); 15 GetGetWalletItemsUrl().spec());
(...skipping 15 matching lines...) Expand all
31 ASSERT_EQ("https://wallet.google.com/online/v2/passiveauth", 31 ASSERT_EQ("https://wallet.google.com/online/v2/passiveauth",
32 GetPassiveAuthUrl().spec()); 32 GetPassiveAuthUrl().spec());
33 ASSERT_EQ("https://wallet.google.com/online-secure/temporarydata/cvv?s7e=cvv", 33 ASSERT_EQ("https://wallet.google.com/online-secure/temporarydata/cvv?s7e=cvv",
34 GetEncryptionUrl().spec()); 34 GetEncryptionUrl().spec());
35 ASSERT_EQ("https://wallet.google.com/dehEfe?s7e=cardNumber%3Bcvv", 35 ASSERT_EQ("https://wallet.google.com/dehEfe?s7e=cardNumber%3Bcvv",
36 GetEscrowUrl().spec()); 36 GetEscrowUrl().spec());
37 } 37 }
38 38
39 } // namespace wallet 39 } // namespace wallet
40 } // namespace autofill 40 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/browser/wallet/wallet_service_url.cc ('k') | components/autofill/browser/wallet/wallet_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698