diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-27 02:19:15 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-27 02:19:15 +0000 |
commit | 8ea2025aafbad247dd50cd19a81a364c14fc5796 (patch) | |
tree | eefb409eea12f709a4a20055b3ba5dcaa74407a0 /chrome/browser/autofill/phone_field_unittest.cc | |
parent | d58b6b41902228daeacacd1c42ce15469c18d4be (diff) | |
download | chromium_src-8ea2025aafbad247dd50cd19a81a364c14fc5796.zip chromium_src-8ea2025aafbad247dd50cd19a81a364c14fc5796.tar.gz chromium_src-8ea2025aafbad247dd50cd19a81a364c14fc5796.tar.bz2 |
AutoFill: Handle filling select controls.
BUG=38222
TEST=none
Review URL: http://codereview.chromium.org/1309003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/phone_field_unittest.cc')
-rw-r--r-- | chrome/browser/autofill/phone_field_unittest.cc | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/chrome/browser/autofill/phone_field_unittest.cc b/chrome/browser/autofill/phone_field_unittest.cc index cef9bb4..e12e894 100644 --- a/chrome/browser/autofill/phone_field_unittest.cc +++ b/chrome/browser/autofill/phone_field_unittest.cc @@ -45,8 +45,7 @@ TEST_F(PhoneFieldTest, ParseOneLinePhone) { new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), ASCIIToUTF16("phone"), string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("phone1"))); list_.push_back(NULL); iter_ = list_.begin(); @@ -63,8 +62,7 @@ TEST_F(PhoneFieldTest, ParseOneLinePhoneEcml) { new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), kEcmlShipToPhone, string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("phone1"))); list_.push_back(NULL); iter_ = list_.begin(); @@ -81,15 +79,13 @@ TEST_F(PhoneFieldTest, ParseTwoLinePhone) { new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Area Code"), ASCIIToUTF16("area code"), string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("areacode1"))); list_.push_back( new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), ASCIIToUTF16("phone"), string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("phone1"))); list_.push_back(NULL); iter_ = list_.begin(); @@ -109,15 +105,13 @@ TEST_F(PhoneFieldTest, ParseTwoLinePhoneEcmlShipTo) { new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Area Code"), kEcmlShipToPostalCode, string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("areacode1"))); list_.push_back( new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), kEcmlShipToPhone, string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("phone1"))); list_.push_back(NULL); iter_ = list_.begin(); @@ -137,15 +131,13 @@ TEST_F(PhoneFieldTest, ParseTwoLinePhoneEcmlBillTo) { new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Area Code"), kEcmlBillToPostalCode, string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("areacode1"))); list_.push_back( new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Phone"), kEcmlBillToPhone, string16(), - ASCIIToUTF16("text"), - WebKit::WebInputElement::Text), + ASCIIToUTF16("text")), ASCIIToUTF16("phone1"))); list_.push_back(NULL); iter_ = list_.begin(); |