| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 package org.chromium.chrome.browser.payments; | 5 package org.chromium.chrome.browser.payments; |
| 6 | 6 |
| 7 import android.view.View; | 7 import android.view.View; |
| 8 | 8 |
| 9 import org.junit.runner.Description; | 9 import org.junit.runner.Description; |
| 10 import org.junit.runners.model.Statement; | 10 import org.junit.runners.model.Statement; |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 return mTestCommon.getShippingAddressSummary(); | 267 return mTestCommon.getShippingAddressSummary(); |
| 268 } | 268 } |
| 269 | 269 |
| 270 /** | 270 /** |
| 271 * Returns the summary text of the shipping option section. | 271 * Returns the summary text of the shipping option section. |
| 272 */ | 272 */ |
| 273 protected String getShippingOptionSummaryLabel() throws ExecutionException { | 273 protected String getShippingOptionSummaryLabel() throws ExecutionException { |
| 274 return mTestCommon.getShippingOptionSummary(); | 274 return mTestCommon.getShippingOptionSummary(); |
| 275 } | 275 } |
| 276 | 276 |
| 277 /** |
| 278 * Returns the cost text of the shipping option section on the bottom sheet
. |
| 279 */ |
| 280 protected String getShippingOptionCostSummaryLabelOnBottomSheet() throws Exe
cutionException { |
| 281 return mTestCommon.getShippingOptionCostSummaryOnBottomSheet(); |
| 282 } |
| 283 |
| 277 /** Returns the focused view in the card editor view. */ | 284 /** Returns the focused view in the card editor view. */ |
| 278 protected View getCardEditorFocusedView() { | 285 protected View getCardEditorFocusedView() { |
| 279 return mTestCommon.getCardEditorFocusedView(); | 286 return mTestCommon.getCardEditorFocusedView(); |
| 280 } | 287 } |
| 281 | 288 |
| 282 /** | 289 /** |
| 283 * Clicks on the label corresponding to the shipping address suggestion at
the specified | 290 * Clicks on the label corresponding to the shipping address suggestion at
the specified |
| 284 * |suggestionIndex|. | 291 * |suggestionIndex|. |
| 285 * @throws InterruptedException | 292 * @throws InterruptedException |
| 286 */ | 293 */ |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 base.evaluate(); | 554 base.evaluate(); |
| 548 } | 555 } |
| 549 }, description); | 556 }, description); |
| 550 } | 557 } |
| 551 | 558 |
| 552 public interface MainActivityStartCallback { | 559 public interface MainActivityStartCallback { |
| 553 void onMainActivityStarted() throws | 560 void onMainActivityStarted() throws |
| 554 InterruptedException, ExecutionException, TimeoutException; | 561 InterruptedException, ExecutionException, TimeoutException; |
| 555 } | 562 } |
| 556 } | 563 } |
| OLD | NEW |