chromium/components/payments/content/payment_request_spec_unittest.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/payments/content/payment_request_spec.h"

#include <memory>
#include <utility>

#include "base/memory/weak_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/scoped_feature_list.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/common/content_features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/payments/payment_request.mojom.h"
#include "ui/base/l10n/l10n_util.h"

namespace payments {

ElementsAre;
UnorderedElementsAre;

class PaymentRequestSpecTest : public testing::Test,
                               public PaymentRequestSpec::Observer {};

// Test that the last shipping option is selected, even in the case of
// updateWith.
TEST_F(PaymentRequestSpecTest, ShippingOptionsSelection) {}

// Test that the last shipping option is selected, even in the case of
// updateWith.
TEST_F(PaymentRequestSpecTest, ShippingOptionsSelection_NoOptionsAtAll) {}

// Test that the last shipping option is selected, even in the case of
// updateWith.
TEST_F(PaymentRequestSpecTest, UpdateWithNoShippingOptions) {}

TEST_F(PaymentRequestSpecTest, SingleCurrencyWithoutDisplayItems) {}

TEST_F(PaymentRequestSpecTest, SingleCurrencyWithDisplayItems) {}

TEST_F(PaymentRequestSpecTest, MultipleCurrenciesWithOneDisplayItem) {}

TEST_F(PaymentRequestSpecTest, MultipleCurrenciesWithTwoDisplayItem) {}

TEST_F(PaymentRequestSpecTest, RetryWithShippingAddressErrors) {}

TEST_F(PaymentRequestSpecTest, RetryWithPayerErrors) {}
}  // namespace payments