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

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

Issue 2072963002: Remove PaymentResponse.totalAmount according to latest spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PaymentResponse.totalAmount according to latest spec Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.content.DialogInterface; 7 import android.content.DialogInterface;
8 import android.test.suitebuilder.annotation.MediumTest; 8 import android.test.suitebuilder.annotation.MediumTest;
9 9
10 import org.chromium.chrome.R; 10 import org.chromium.chrome.R;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 @MediumTest 69 @MediumTest
70 public void testPay() throws InterruptedException, ExecutionException, Timeo utException { 70 public void testPay() throws InterruptedException, ExecutionException, Timeo utException {
71 triggerUIAndWait(mReadyToPay); 71 triggerUIAndWait(mReadyToPay);
72 clickAndWait(R.id.button_primary, mReadyForUnmaskInput); 72 clickAndWait(R.id.button_primary, mReadyForUnmaskInput);
73 typeInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", 73 typeInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123",
74 mReadyForUnmaskInput.getTarget(), mReadyToUnmask); 74 mReadyForUnmaskInput.getTarget(), mReadyToUnmask);
75 clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, 75 clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE,
76 mReadyToUnmask.getTarget(), mDismissed); 76 mReadyToUnmask.getTarget(), mDismissed);
77 expectResultContains(new String[] {"Jon Doe", "4111111111111111", "12", "2050", "visa", 77 expectResultContains(new String[] {"Jon Doe", "4111111111111111", "12", "2050", "visa",
78 "123", "USD", "5.00"}); 78 "123" });
please use gerrit instead 2016/06/17 16:03:36 No space between " and }
79 } 79 }
80 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698