Chromium Code Reviews| Index: chrome/browser/autofill/wallet/wallet_service_url_unittest.cc |
| diff --git a/chrome/browser/autofill/wallet/wallet_service_url_unittest.cc b/chrome/browser/autofill/wallet/wallet_service_url_unittest.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d6db3c9e911376d12d34b7bb5101e49d9474c16c |
| --- /dev/null |
| +++ b/chrome/browser/autofill/wallet/wallet_service_url_unittest.cc |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/autofill/wallet/wallet_service_url.h" |
| +#include "googleurl/src/gurl.h" |
| +#include "testing/gtest/include/gtest/gtest.h" |
| + |
| +namespace wallet { |
| + |
| +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
|
| + ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/" |
| + "getWalletItemsJwtless", |
| + GetGetWalletItemsUrl().spec()); |
| + ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/" |
| + "getFullWalletJwtless", |
| + GetGetFullWalletUrl().spec()); |
| + ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/" |
| + "acceptLegalDocuments", |
| + GetAcceptLegalDocumentsUrl().spec()); |
| + ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/" |
| + "reportStatus", |
| + GetSendStatusUrl().spec()); |
| + ASSERT_EQ("https://wallet.google.com/online/v2/wallet/autocheckout/" |
| + "saveToWallet", |
| + GetSaveToWalletUrl().spec()); |
| + ASSERT_EQ("https://wallet.google.com/online-secure/temporarydata/cvv?s7e=cvv", |
| + GetSecureUrl().spec()); |
| +} |
| + |
| +} // end wallet namespace |