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

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

Issue 355823007: Adjust autofill phone number format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update android test. Created 6 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
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.test.suitebuilder.annotation.SmallTest; 8 import android.test.suitebuilder.annotation.SmallTest;
9 import android.text.TextUtils; 9 import android.text.TextUtils;
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 private static final String TEST_BILLING_CITY = "Schenectady"; 44 private static final String TEST_BILLING_CITY = "Schenectady";
45 private static final String TEST_BILLING_DL = ""; // dependent locality 45 private static final String TEST_BILLING_DL = ""; // dependent locality
46 private static final String TEST_BILLING_STATE = "NY"; 46 private static final String TEST_BILLING_STATE = "NY";
47 private static final String TEST_BILLING_ZIP = "12345"; 47 private static final String TEST_BILLING_ZIP = "12345";
48 private static final String TEST_BILLING_SORTING_CODE = ""; // sorting code 48 private static final String TEST_BILLING_SORTING_CODE = ""; // sorting code
49 private static final String TEST_BILLING_COUNTRY = "US"; 49 private static final String TEST_BILLING_COUNTRY = "US";
50 private static final String TEST_BILLING_LANGUAGE = ""; // language 50 private static final String TEST_BILLING_LANGUAGE = ""; // language
51 51
52 private static final String TEST_SHIPPING_NAME = "Mister Receiver"; 52 private static final String TEST_SHIPPING_NAME = "Mister Receiver";
53 private static final String TEST_SHIPPING_PHONE = "+46 8 713 99 99"; 53 private static final String TEST_SHIPPING_PHONE = "+46 8 713 99 99";
54 private static final String TEST_SHIPPING_PHONE_UNFORMATTED = "4687139999"; 54 private static final String TEST_SHIPPING_PHONE_UNFORMATTED = "+4687139999";
55 private static final String TEST_SHIPPING1 = "19 Farstaplan"; 55 private static final String TEST_SHIPPING1 = "19 Farstaplan";
56 private static final String TEST_SHIPPING2 = "Third floor"; 56 private static final String TEST_SHIPPING2 = "Third floor";
57 private static final String TEST_SHIPPING3 = "please call first"; 57 private static final String TEST_SHIPPING3 = "please call first";
58 private static final String TEST_SHIPPING_STREET = 58 private static final String TEST_SHIPPING_STREET =
59 TEST_SHIPPING1 + "\n" + TEST_SHIPPING2 + "\n" + TEST_SHIPPING3; 59 TEST_SHIPPING1 + "\n" + TEST_SHIPPING2 + "\n" + TEST_SHIPPING3;
60 private static final String TEST_SHIPPING_CITY = "Farsta"; 60 private static final String TEST_SHIPPING_CITY = "Farsta";
61 private static final String TEST_SHIPPING_DL = ""; // dependent locality 61 private static final String TEST_SHIPPING_DL = ""; // dependent locality
62 private static final String TEST_SHIPPING_STATE = "Stockholm"; 62 private static final String TEST_SHIPPING_STATE = "Stockholm";
63 private static final String TEST_SHIPPING_ZIP = "12346"; 63 private static final String TEST_SHIPPING_ZIP = "12346";
64 private static final String TEST_SHIPPING_SORTING_CODE = ""; // sorting cod e 64 private static final String TEST_SHIPPING_SORTING_CODE = ""; // sorting cod e
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 return false; 722 return false;
723 } catch (TimeoutException e) { 723 } catch (TimeoutException e) {
724 return false; 724 return false;
725 } 725 }
726 return TextUtils.equals("succeeded", wasAutocompleted) 726 return TextUtils.equals("succeeded", wasAutocompleted)
727 || TextUtils.equals("failed", wasAutocompleted); 727 || TextUtils.equals("failed", wasAutocompleted);
728 } 728 }
729 })); 729 }));
730 } 730 }
731 } 731 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698