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

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

Issue 2070633002: Removed keeps for unused member variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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.MediumTest; 7 import android.test.suitebuilder.annotation.MediumTest;
8 import android.text.TextUtils; 8 import android.text.TextUtils;
9 import android.view.View; 9 import android.view.View;
10 import android.view.ViewGroup; 10 import android.view.ViewGroup;
11 11
12 import org.chromium.base.test.util.Feature; 12 import org.chromium.base.test.util.Feature;
13 import org.chromium.base.test.util.UrlUtils; 13 import org.chromium.base.test.util.UrlUtils;
14 import org.chromium.chrome.R;
15 import org.chromium.chrome.browser.ChromeActivity; 14 import org.chromium.chrome.browser.ChromeActivity;
16 import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile; 15 import org.chromium.chrome.browser.autofill.PersonalDataManager.AutofillProfile;
17 import org.chromium.chrome.test.ChromeActivityTestCaseBase; 16 import org.chromium.chrome.test.ChromeActivityTestCaseBase;
18 import org.chromium.content.browser.ContentViewCore; 17 import org.chromium.content.browser.ContentViewCore;
19 import org.chromium.content.browser.input.ChromiumBaseInputConnection; 18 import org.chromium.content.browser.input.ChromiumBaseInputConnection;
20 import org.chromium.content.browser.test.util.Criteria; 19 import org.chromium.content.browser.test.util.Criteria;
21 import org.chromium.content.browser.test.util.CriteriaHelper; 20 import org.chromium.content.browser.test.util.CriteriaHelper;
22 import org.chromium.content.browser.test.util.DOMUtils; 21 import org.chromium.content.browser.test.util.DOMUtils;
23 import org.chromium.content.browser.test.util.TestInputMethodManagerWrapper; 22 import org.chromium.content.browser.test.util.TestInputMethodManagerWrapper;
24 import org.chromium.content.browser.test.util.TouchCommon; 23 import org.chromium.content.browser.test.util.TouchCommon;
25 import org.chromium.content_public.browser.WebContents; 24 import org.chromium.content_public.browser.WebContents;
25 import org.chromium.ui.R;
26 import org.chromium.ui.autofill.AutofillPopup; 26 import org.chromium.ui.autofill.AutofillPopup;
27 27
28 import java.util.ArrayList; 28 import java.util.ArrayList;
29 import java.util.List; 29 import java.util.List;
30 import java.util.concurrent.Callable; 30 import java.util.concurrent.Callable;
31 import java.util.concurrent.ExecutionException; 31 import java.util.concurrent.ExecutionException;
32 import java.util.concurrent.TimeoutException; 32 import java.util.concurrent.TimeoutException;
33 33
34 /** 34 /**
35 * Integration tests for the AutofillPopup. 35 * Integration tests for the AutofillPopup.
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 private void assertLogged(String autofilledValue, String profileFullName) { 356 private void assertLogged(String autofilledValue, String profileFullName) {
357 for (AutofillLogger.LogEntry entry : mAutofillLoggedEntries) { 357 for (AutofillLogger.LogEntry entry : mAutofillLoggedEntries) {
358 if (entry.getAutofilledValue().equals(autofilledValue) 358 if (entry.getAutofilledValue().equals(autofilledValue)
359 && entry.getProfileFullName().equals(profileFullName)) { 359 && entry.getProfileFullName().equals(profileFullName)) {
360 return; 360 return;
361 } 361 }
362 } 362 }
363 fail("Logged entry not found [" + autofilledValue + "," + profileFullNam e + "]"); 363 fail("Logged entry not found [" + autofilledValue + "," + profileFullNam e + "]");
364 } 364 }
365 } 365 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698