Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1313)

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestRule.java

Issue 2914503002: align shipping option name to left and shipping cost to right on bottom sheet (Closed)
Patch Set: address comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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.
279 */
280 protected String getShippingOptionCostSummaryLabel() throws ExecutionExcepti on {
gogerald1 2017/06/02 15:05:11 getShippingOptionCostSummaryLabelOnBottomSheet? an
wuandy1 2017/06/02 19:53:13 Done.
281 return mTestCommon.getShippingOptionCostSummary();
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698