OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "modules/payments/PaymentRequest.h" | 5 #include "modules/payments/PaymentRequest.h" |
6 | 6 |
| 7 #include <ostream> // NOLINT |
7 #include "bindings/core/v8/ExceptionState.h" | 8 #include "bindings/core/v8/ExceptionState.h" |
8 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
9 #include "bindings/core/v8/V8BindingForTesting.h" | 10 #include "bindings/core/v8/V8BindingForTesting.h" |
10 #include "core/dom/Document.h" | 11 #include "core/dom/Document.h" |
11 #include "core/dom/ExceptionCode.h" | 12 #include "core/dom/ExceptionCode.h" |
12 #include "modules/payments/PaymentDetails.h" | 13 #include "modules/payments/PaymentDetails.h" |
13 #include "modules/payments/PaymentOptions.h" | 14 #include "modules/payments/PaymentOptions.h" |
14 #include "modules/payments/PaymentTestHelper.h" | 15 #include "modules/payments/PaymentTestHelper.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 #include <ostream> // NOLINT | |
17 | 17 |
18 namespace blink { | 18 namespace blink { |
19 namespace { | 19 namespace { |
20 | 20 |
21 class DetailsTestCase { | 21 class DetailsTestCase { |
22 public: | 22 public: |
23 DetailsTestCase(PaymentTestDetailToChange detail, | 23 DetailsTestCase(PaymentTestDetailToChange detail, |
24 PaymentTestDataToChange data, | 24 PaymentTestDataToChange data, |
25 PaymentTestModificationType modType, | 25 PaymentTestModificationType modType, |
26 const char* valueToUse, | 26 const char* valueToUse, |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
980 V8TypeError), | 980 V8TypeError), |
981 DetailsTestCase(PaymentTestDetailModifierItem, | 981 DetailsTestCase(PaymentTestDetailModifierItem, |
982 PaymentTestDataValue, | 982 PaymentTestDataValue, |
983 PaymentTestOverwriteValue, | 983 PaymentTestOverwriteValue, |
984 "1/3", | 984 "1/3", |
985 true, | 985 true, |
986 V8TypeError))); | 986 V8TypeError))); |
987 | 987 |
988 } // namespace | 988 } // namespace |
989 } // namespace blink | 989 } // namespace blink |
OLD | NEW |