// 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_shipping_option.h" #include <memory> #include "base/values.h" #include "testing/gtest/include/gtest/gtest.h" namespace payments { // Tests the success case when populating a PaymentShippingOption from a // dictionary. TEST(PaymentRequestTest, PaymentShippingOptionFromValueDictSuccess) { … } // Tests the failure case when populating a PaymentShippingOption from a // dictionary. TEST(PaymentRequestTest, PaymentShippingOptionFromValueDictFailure) { … } // Tests that two shipping option 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, PaymentShippingOptionEquality) { … } TEST(PaymentRequestTest, Assign) { … } } // namespace payments