// 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_details.h" #include "base/values.h" #include "testing/gtest/include/gtest/gtest.h" namespace payments { // Tests the success case when populating a PaymentDetails from a dictionary. TEST(PaymentRequestTest, PaymentDetailsFromValueSuccessDict) { … } // Tests the failure case when populating a PaymentDetails from a dictionary. TEST(PaymentRequestTest, PaymentDetailsFromValueFailureDict) { … } // Tests that two payment details objects are not equal if their property values // differ or one is missing a value present in the other, and equal otherwise. // Doesn't test all properties of child objects, relying instead on their // respective tests. TEST(PaymentRequestTest, PaymentDetailsEquality) { … } } // namespace payments