| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestCommon.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestCommon.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestCommon.java
|
| index 8d053712df8bee8d0febc0c5c0e4c39a7665faef..20fe6c0e540a59f1b0b20d4fb3c395687c03c9d6 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestCommon.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestCommon.java
|
| @@ -423,6 +423,18 @@ final class PaymentRequestTestCommon implements PaymentRequestObserverForTest,
|
| });
|
| }
|
|
|
| + protected String getShippingOptionCostSummary() throws ExecutionException {
|
| + return ThreadUtils.runOnUiThreadBlocking(new Callable<String>() {
|
| + @Override
|
| + public String call() {
|
| + return mUI.getShippingOptionSectionForTest()
|
| + .getSummarySubLabelForTest()
|
| + .getText()
|
| + .toString();
|
| + }
|
| + });
|
| + }
|
| +
|
| protected View getCardEditorFocusedView() {
|
| return mUI.getCardEditorDialog().getCurrentFocus();
|
| }
|
|
|