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

Unified Diff: components/autofill/content/browser/wallet/instrument_unittest.cc

Issue 151383003: Updates to wallet for i18n (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: retry upload Created 6 years, 10 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: components/autofill/content/browser/wallet/instrument_unittest.cc
diff --git a/components/autofill/content/browser/wallet/instrument_unittest.cc b/components/autofill/content/browser/wallet/instrument_unittest.cc
index 7fe3b8e3aff70936c76259c2c0f751ce9f561dda..4778a189c9e730db7179496b201e68167e95e025 100644
--- a/components/autofill/content/browser/wallet/instrument_unittest.cc
+++ b/components/autofill/content/browser/wallet/instrument_unittest.cc
@@ -45,10 +45,14 @@ TEST(Instrument, ToDictionary) {
"ship_recipient_name");
expected.SetString("credit_card.address.locality_name",
"ship_locality_name");
+ expected.SetString("credit_card.address.dependent_locality_name",
+ "ship_dependent_locality_name");
expected.SetString("credit_card.address.administrative_area_name",
"ship_admin_area_name");
expected.SetString("credit_card.address.postal_code_number",
"ship_postal_code_number");
+ expected.SetString("credit_card.address.sorting_code",
+ "ship_sorting_code");
base::ListValue* address_lines = new base::ListValue();
address_lines->AppendString("ship_address_line_1");
address_lines->AppendString("ship_address_line_2");

Powered by Google App Engine
This is Rietveld 408576698