blob: 9ac1d2a63d512050dd6779011134cac3c40cef0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// 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) {
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());
}
} // namespace wallet
|