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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java

Issue 184493006: Rename to ChromiumTestShell package from testshell to shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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.autofill; 5 package org.chromium.chrome.browser.autofill;
6 6
7 import android.test.suitebuilder.annotation.SmallTest; 7 import android.test.suitebuilder.annotation.SmallTest;
8 8
9 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; 9 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
10 10
11 import org.chromium.base.test.util.Feature; 11 import org.chromium.base.test.util.Feature;
12 import org.chromium.chrome.testshell.ChromiumTestShellActivity; 12 import org.chromium.chrome.shell.ChromiumTestShellActivity;
13 import org.chromium.chrome.testshell.ChromiumTestShellTestBase; 13 import org.chromium.chrome.shell.ChromiumTestShellTestBase;
14 import org.chromium.content.browser.test.util.Criteria; 14 import org.chromium.content.browser.test.util.Criteria;
15 import org.chromium.content.browser.test.util.CriteriaHelper; 15 import org.chromium.content.browser.test.util.CriteriaHelper;
16 import org.chromium.content.browser.test.util.TouchCommon; 16 import org.chromium.content.browser.test.util.TouchCommon;
17 import org.chromium.content.browser.test.util.UiUtils; 17 import org.chromium.content.browser.test.util.UiUtils;
18 import org.chromium.ui.autofill.AutofillPopup; 18 import org.chromium.ui.autofill.AutofillPopup;
19 import org.chromium.ui.autofill.AutofillPopup.AutofillPopupDelegate; 19 import org.chromium.ui.autofill.AutofillPopup.AutofillPopupDelegate;
20 import org.chromium.ui.autofill.AutofillSuggestion; 20 import org.chromium.ui.autofill.AutofillSuggestion;
21 import org.chromium.ui.base.ActivityWindowAndroid; 21 import org.chromium.ui.base.ActivityWindowAndroid;
22 import org.chromium.ui.base.ViewAndroidDelegate; 22 import org.chromium.ui.base.ViewAndroidDelegate;
23 import org.chromium.ui.base.WindowAndroid; 23 import org.chromium.ui.base.WindowAndroid;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 assertTrue(openAutofillPopupAndWaitUntilReady(suggestions)); 136 assertTrue(openAutofillPopupAndWaitUntilReady(suggestions));
137 assertEquals(2, mAutofillPopup.getListView().getCount()); 137 assertEquals(2, mAutofillPopup.getListView().getCount());
138 138
139 TouchCommon touchCommon = new TouchCommon(this); 139 TouchCommon touchCommon = new TouchCommon(this);
140 touchCommon.singleClickViewRelative(mAutofillPopup.getListView(), 10, 10 ); 140 touchCommon.singleClickViewRelative(mAutofillPopup.getListView(), 10, 10 );
141 assertTrue(mMockAutofillCallback.waitForCallback()); 141 assertTrue(mMockAutofillCallback.waitForCallback());
142 142
143 assertEquals(0, mMockAutofillCallback.mListIndex); 143 assertEquals(0, mMockAutofillCallback.mListIndex);
144 } 144 }
145 } 145 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698