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

Unified Diff: components/autofill/core/browser/autofill_profile_unittest.cc

Issue 1553833002: Display phone number with formatting in Autofill profile summary label. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 4 years, 12 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
« no previous file with comments | « components/autofill/core/browser/autofill_profile.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_profile_unittest.cc
diff --git a/components/autofill/core/browser/autofill_profile_unittest.cc b/components/autofill/core/browser/autofill_profile_unittest.cc
index 2e66768f2b61acc20b900fd88d011d456d36d9a7..0dbd93ac8b766d4e3073f789516b07b77ce779ac 100644
--- a/components/autofill/core/browser/autofill_profile_unittest.cc
+++ b/components/autofill/core/browser/autofill_profile_unittest.cc
@@ -366,7 +366,7 @@ TEST(AutofillProfileTest, CreateInferredLabelsI18n_CH) {
"Beispiel Inc, H. R. Giger, Brandschenkestrasse 110, CH-8002 Zurich, "
"Switzerland, hrgiger@beispiel.com",
"Beispiel Inc, H. R. Giger, Brandschenkestrasse 110, CH-8002 Zurich, "
- "Switzerland, hrgiger@beispiel.com, +41446681800",
+ "Switzerland, hrgiger@beispiel.com, +41 44-668-1800",
};
std::vector<base::string16> labels;
@@ -412,9 +412,9 @@ TEST(AutofillProfileTest, CreateInferredLabelsI18n_FR) {
"Exemple Inc, Antoine de Saint-Exupéry, 8 Rue de Londres, 75009 Paris "
"CEDEX, France, antoine@exemple.com",
"Exemple Inc, Antoine de Saint-Exupéry, 8 Rue de Londres, 75009 Paris "
- "CEDEX, France, antoine@exemple.com, +33142685300",
+ "CEDEX, France, antoine@exemple.com, +33 (0) 1 42 68 53 00",
"Exemple Inc, Antoine de Saint-Exupéry, 8 Rue de Londres, 75009 Paris "
- "CEDEX, France, antoine@exemple.com, +33142685300",
+ "CEDEX, France, antoine@exemple.com, +33 (0) 1 42 68 53 00",
};
std::vector<base::string16> labels;
@@ -467,7 +467,7 @@ TEST(AutofillProfileTest, CreateInferredLabelsI18n_KR) {
"park@yeleul.com",
"Park Jae-sang, Yeleul Inc, Gangnam Finance Center, 152 Teheran-ro, "
"Yeoksam-Dong, Gangnam-Gu, Seoul, 135-984, South Korea, "
- "park@yeleul.com, +8225319000",
+ "park@yeleul.com, +82-2-531-9000",
};
std::vector<base::string16> labels;
@@ -513,7 +513,7 @@ TEST(AutofillProfileTest, CreateInferredLabelsI18n_JP_Latn) {
"Miku Hatsune, Rei Inc, Roppongi Hills Mori Tower, 6-10-1 Roppongi, "
"Minato-ku, Tokyo, 106-6126, Japan, miku@rei.com",
"Miku Hatsune, Rei Inc, Roppongi Hills Mori Tower, 6-10-1 Roppongi, "
- "Minato-ku, Tokyo, 106-6126, Japan, miku@rei.com, +81363849000",
+ "Minato-ku, Tokyo, 106-6126, Japan, miku@rei.com, +81-3-6384-9000",
};
std::vector<base::string16> labels;
@@ -555,7 +555,7 @@ TEST(AutofillProfileTest, CreateInferredLabelsI18n_JP_ja) {
"〒106-6126東京都港区六本木ヒルズ森タワー六本木 6-10-1例ミク 初音, Japan, "
"miku@rei.com",
"〒106-6126東京都港区六本木ヒルズ森タワー六本木 6-10-1例ミク 初音, Japan, "
- "miku@rei.com, 0363849000",
+ "miku@rei.com, 03-6384-9000",
};
std::vector<base::string16> labels;
« no previous file with comments | « components/autofill/core/browser/autofill_profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698