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

Unified Diff: chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java

Issue 1134793004: Autofill item deletion on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
diff --git a/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java b/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
index 34356d9be660e7ce43547c647656e866d3b63c7d..c360ad13ca55c885c2b48dfe0c194f82989fceef 100644
--- a/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
+++ b/chrome/android/javatests_shell/src/org/chromium/chrome/browser/autofill/AutofillTest.java
@@ -73,6 +73,10 @@ public class AutofillTest extends ChromeShellTestBase {
mGotPopupSelection.set(true);
}
+ @Override
+ public void deleteSuggestion(int listIndex) {
+ }
+
public boolean waitForCallback() throws InterruptedException {
return CriteriaHelper.pollForCriteria(new Criteria() {
@Override
@@ -90,19 +94,19 @@ public class AutofillTest extends ChromeShellTestBase {
private AutofillSuggestion[] createTwoAutofillSuggestionArray() {
return new AutofillSuggestion[] {
new AutofillSuggestion("Sherlock Holmes", "221B Baker Street", DropdownItem.NO_ICON,
- 42),
- new AutofillSuggestion("Arthur Dent", "West Country", DropdownItem.NO_ICON, 43),
+ 42, false),
+ new AutofillSuggestion("Arthur Dent", "West Country", DropdownItem.NO_ICON, 43, false),
};
}
private AutofillSuggestion[] createFiveAutofillSuggestionArray() {
return new AutofillSuggestion[] {
new AutofillSuggestion("Sherlock Holmes", "221B Baker Street", DropdownItem.NO_ICON,
- 42),
- new AutofillSuggestion("Arthur Dent", "West Country", DropdownItem.NO_ICON, 43),
- new AutofillSuggestion("Arthos", "France", DropdownItem.NO_ICON, 44),
- new AutofillSuggestion("Porthos", "France", DropdownItem.NO_ICON, 45),
- new AutofillSuggestion("Aramis", "France", DropdownItem.NO_ICON, 46),
+ 42, false),
+ new AutofillSuggestion("Arthur Dent", "West Country", DropdownItem.NO_ICON, 43, false),
+ new AutofillSuggestion("Arthos", "France", DropdownItem.NO_ICON, 44, false),
+ new AutofillSuggestion("Porthos", "France", DropdownItem.NO_ICON, 45, false),
+ new AutofillSuggestion("Aramis", "France", DropdownItem.NO_ICON, 46, false),
};
}

Powered by Google App Engine
This is Rietveld 408576698