Chromium Code Reviews| Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java |
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java |
| index 6e4d27cfe90603802ee1ee683bc31b7837ed9145..fcd412cf2ca8cf8139b9bf875804dff3f76bd029 100644 |
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java |
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java |
| @@ -230,6 +230,15 @@ abstract class PaymentRequestTestBase extends ChromeActivityTestCaseBase<ChromeT |
| return mTestCommon.getPaymentInstrumentLabel(index); |
| } |
| + /** Returns the label of the payment method that is currently selected. */ |
|
gogerald1
2017/05/17 19:11:47
could be simplified to: "Returns the label of the
wuandy1
2017/05/18 20:12:29
Done.
|
| + protected String getSelectedPaymentInstrumentLabel() throws ExecutionException { |
| + return mTestCommon.getSelectedPaymentInstrumentLabel(); |
| + } |
| + |
| + protected String getOrderSummaryTotal() throws ExecutionException { |
|
gogerald1
2017/05/17 19:11:47
add comments
wuandy1
2017/05/18 20:12:29
Done.
|
| + return mTestCommon.getOrderSummaryTotal(); |
| + } |
| + |
| /** |
| * Returns the label corresponding to the contact detail suggestion at the specified |
| * |suggestionIndex|. |