| Index: third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
|
| similarity index 91%
|
| rename from third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp
|
| rename to third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
|
| index 7f0f8b614ae859e94123cbac8d2339ee89223107..6459396742f25922beb47f3737a0883b13e86f56 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "modules/payments/PaymentDetailsTestHelper.h"
|
| +#include "modules/payments/PaymentTestHelper.h"
|
|
|
| #include "modules/payments/CurrencyAmount.h"
|
| #include "platform/heap/HeapAllocator.h"
|
| @@ -84,4 +84,11 @@ PaymentDetails buildPaymentDetailsForTest(PaymentTestDetailToChange detail, Paym
|
| return result;
|
| }
|
|
|
| +HeapVector<PaymentMethodData> buildPaymentMethodDataForTest()
|
| +{
|
| + HeapVector<PaymentMethodData> methodData(1, PaymentMethodData());
|
| + methodData[0].setSupportedMethods(Vector<String>(1, "foo"));
|
| + return methodData;
|
| +}
|
| +
|
| } // namespace blink
|
|
|