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

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

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Created 4 years 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.test.suitebuilder.annotation.MediumTest; 7 import android.support.test.filters.MediumTest;
8 8
9 import org.chromium.base.test.util.Feature; 9 import org.chromium.base.test.util.Feature;
10 import org.chromium.chrome.R; 10 import org.chromium.chrome.R;
11 import org.chromium.chrome.browser.autofill.AutofillTestHelper; 11 import org.chromium.chrome.browser.autofill.AutofillTestHelper;
12 import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile; 12 import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile;
13 import org.chromium.chrome.browser.payments.ui.PaymentRequestSection; 13 import org.chromium.chrome.browser.payments.ui.PaymentRequestSection;
14 14
15 import java.util.concurrent.ExecutionException; 15 import java.util.concurrent.ExecutionException;
16 import java.util.concurrent.TimeoutException; 16 import java.util.concurrent.TimeoutException;
17 17
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 triggerUIAndWait(mReadyForInput); 94 triggerUIAndWait(mReadyForInput);
95 clickInContactInfoAndWait(R.id.payments_section, mReadyForInput); 95 clickInContactInfoAndWait(R.id.payments_section, mReadyForInput);
96 clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit ); 96 clickInContactInfoAndWait(R.id.payments_first_radio_button, mReadyToEdit );
97 setTextInEditorAndWait(new String[] {"Jon Doe", "555-555-5555", "jon.doe @google.com"}, 97 setTextInEditorAndWait(new String[] {"Jon Doe", "555-555-5555", "jon.doe @google.com"},
98 mEditorTextUpdate); 98 mEditorTextUpdate);
99 clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay); 99 clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay);
100 clickAndWait(R.id.button_primary, mDismissed); 100 clickAndWait(R.id.button_primary, mDismissed);
101 expectResultContains(new String[] {"Jon Doe", "555-555-5555", "jon.doe@g oogle.com"}); 101 expectResultContains(new String[] {"Jon Doe", "555-555-5555", "jon.doe@g oogle.com"});
102 } 102 }
103 } 103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698