#include "components/autofill/core/browser/payments/payments_util.h"
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/payments/payments_customer_data.h"
#include "components/autofill/core/browser/test_payments_data_manager.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
namespace payments {
class PaymentsUtilTest : public testing::Test { … };
TEST_F(PaymentsUtilTest, GetBillingCustomerId_PaymentsCustomerData_Normal) { … }
TEST_F(PaymentsUtilTest, GetBillingCustomerId_PaymentsCustomerData_Garbage) { … }
TEST_F(PaymentsUtilTest, GetBillingCustomerId_PaymentsCustomerData_NoData) { … }
TEST_F(PaymentsUtilTest, HasGooglePaymentsAccount_Normal) { … }
TEST_F(PaymentsUtilTest, HasGooglePaymentsAccount_NoData) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_EmptyBin) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_SameStartAndEnd) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_InsideRange) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_StartBoundary) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_EndBoundary) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_OutOfRange) { … }
TEST_F(PaymentsUtilTest, IsCreditCardNumberSupported_SeparatorStripped) { … }
}
}