Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 25 matching lines...) Expand all Loading... | |
| 36 @MediumTest | 36 @MediumTest |
| 37 public void testPay() throws InterruptedException, ExecutionException, Timeo utException { | 37 public void testPay() throws InterruptedException, ExecutionException, Timeo utException { |
| 38 triggerUIAndWait(mReadyToPay); | 38 triggerUIAndWait(mReadyToPay); |
| 39 clickAndWait(R.id.button_primary, mReadyForUnmaskInput); | 39 clickAndWait(R.id.button_primary, mReadyForUnmaskInput); |
| 40 typeInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", | 40 typeInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", |
| 41 mReadyForUnmaskInput.getTarget(), mReadyToUnmask); | 41 mReadyForUnmaskInput.getTarget(), mReadyToUnmask); |
| 42 clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, | 42 clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, |
| 43 mReadyToUnmask.getTarget(), mDismissed); | 43 mReadyToUnmask.getTarget(), mDismissed); |
| 44 expectResultContains(new String[] {"Jon Doe", "4111111111111111", "12", "2050", "visa", | 44 expectResultContains(new String[] {"Jon Doe", "4111111111111111", "12", "2050", "visa", |
| 45 "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "U S", "en", | 45 "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "U S", "en", |
| 46 "freeShippingOption", "USD", "5.00"}); | 46 "freeShippingOption" }); |
|
please use gerrit instead
2016/06/17 16:03:36
No space between " and }
| |
| 47 } | 47 } |
| 48 } | 48 } |
| OLD | NEW |