Chromium Code Reviews| OLD | NEW |
|---|---|
| (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) { | |
|
Dan Beam
2012/12/01 01:19:49
I think this test isn't that useful...
ahutter
2012/12/01 04:06:51
Yeah... we have a similar one for autofill_downloa
| |
| 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("https://wallet.google.com/online/v2/wallet/autocheckout/" | |
| 22 "reportStatus", | |
| 23 GetSendStatusUrl().spec()); | |
| 24 ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/" | |
| 25 "saveToWallet", | |
| 26 GetSaveToWalletUrl().spec()); | |
| 27 ASSERT_EQ("https://wallet.google.com/online-secure/temporarydata/cvv?s7e=cvv", | |
| 28 GetSecureUrl().spec()); | |
| 29 } | |
| 30 | |
| 31 } // end wallet namespace | |
| OLD | NEW |