// 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/core/payment_method_data.h" #include "base/values.h" #include "testing/gtest/include/gtest/gtest.h" namespace payments { // Tests the success case when populating a PaymentMethodData from a dictionary // when the supportedMethods is a string. TEST(PaymentMethodData, FromValueSuccess_SupportedMethodsString) { … } // Tests the failure cases when populating a PaymentMethodData from a // dictionary. TEST(PaymentMethodData, FromValueFailure) { … } // Tests that two method data objects are not equal if their property values // differ or one is missing a value present in the other, and equal otherwise. TEST(PaymentMethodData, Equality) { … } } // namespace payments