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

Unified Diff: chrome/browser/ui/autofill/data_model_wrapper_unittest.cc

Issue 145553009: rAc: use libaddressinput to validate international addresses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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 | « chrome/browser/ui/autofill/data_model_wrapper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/data_model_wrapper_unittest.cc
diff --git a/chrome/browser/ui/autofill/data_model_wrapper_unittest.cc b/chrome/browser/ui/autofill/data_model_wrapper_unittest.cc
index 3a1b891595a964711683e732d47bf3ac250c40dc..2df388eaed52c096572778edd0673a915bc0f810 100644
--- a/chrome/browser/ui/autofill/data_model_wrapper_unittest.cc
+++ b/chrome/browser/ui/autofill/data_model_wrapper_unittest.cc
@@ -232,25 +232,4 @@ TEST(DataModelWrapperTest, GetDisplayPhoneNumber) {
}
-TEST(FieldMapWrapperTest, BothShippingAndBillingCanCoexist) {
- DetailInputs inputs;
-
- DetailInput billing_street;
- billing_street.type = ADDRESS_BILLING_STREET_ADDRESS;
- inputs.push_back(billing_street);
-
- DetailInput shipping_street;
- shipping_street.type = ADDRESS_HOME_STREET_ADDRESS;
- inputs.push_back(shipping_street);
-
- FieldValueMap outputs;
- outputs[inputs[0].type] = ASCIIToUTF16("123 billing street");
- outputs[inputs[1].type] = ASCIIToUTF16("123 shipping street");
-
- FieldMapWrapper wrapper(outputs);
- wrapper.FillInputs(&inputs);
-
- EXPECT_NE(inputs[0].initial_value, inputs[1].initial_value);
-}
-
} // namespace autofill
« no previous file with comments | « chrome/browser/ui/autofill/data_model_wrapper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698