Lines Matching refs:ASCIIToUTF16
46 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"),
47 ASCIIToUTF16("phone"),
49 ASCIIToUTF16("text"),
52 ASCIIToUTF16("phone1")));
59 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end());
60 EXPECT_EQ(PHONE_HOME_WHOLE_NUMBER, field_type_map_[ASCIIToUTF16("phone1")]);
65 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"),
66 ASCIIToUTF16(kEcmlShipToPhone),
68 ASCIIToUTF16("text"),
71 ASCIIToUTF16("phone1")));
78 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end());
79 EXPECT_EQ(PHONE_HOME_WHOLE_NUMBER, field_type_map_[ASCIIToUTF16("phone1")]);
84 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Area Code"),
85 ASCIIToUTF16("area code"),
87 ASCIIToUTF16("text"),
90 ASCIIToUTF16("areacode1")));
92 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"),
93 ASCIIToUTF16("phone"),
95 ASCIIToUTF16("text"),
98 ASCIIToUTF16("phone1")));
105 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
106 EXPECT_EQ(PHONE_HOME_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
108 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end());
109 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("phone1")]);
115 webkit_glue::FormField(ASCIIToUTF16("Area Code"),
116 ASCIIToUTF16(kEcmlShipToPostalCode),
118 ASCIIToUTF16("text"),
121 ASCIIToUTF16("areacode1")));
123 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"),
124 ASCIIToUTF16(kEcmlShipToPhone),
126 ASCIIToUTF16("text"),
129 ASCIIToUTF16("phone1")));
136 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
137 EXPECT_EQ(PHONE_HOME_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
139 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end());
140 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("phone1")]);
146 webkit_glue::FormField(ASCIIToUTF16("Area Code"),
147 ASCIIToUTF16(kEcmlBillToPostalCode),
149 ASCIIToUTF16("text"),
152 ASCIIToUTF16("areacode1")));
154 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone"),
155 ASCIIToUTF16(kEcmlBillToPhone),
157 ASCIIToUTF16("text"),
160 ASCIIToUTF16("phone1")));
167 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
168 EXPECT_EQ(PHONE_HOME_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
170 field_type_map_.find(ASCIIToUTF16("phone1")) != field_type_map_.end());
171 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("phone1")]);
181 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone:"),
182 ASCIIToUTF16("dayphone1"),
184 ASCIIToUTF16("text"),
187 ASCIIToUTF16("areacode1")));
189 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("-"),
190 ASCIIToUTF16("dayphone2"),
192 ASCIIToUTF16("text"),
195 ASCIIToUTF16("prefix1")));
197 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("-"),
198 ASCIIToUTF16("dayphone3"),
200 ASCIIToUTF16("text"),
203 ASCIIToUTF16("suffix1")));
205 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("ext.:"),
206 ASCIIToUTF16("dayphone4"),
208 ASCIIToUTF16("text"),
211 ASCIIToUTF16("ext1")));
218 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
219 EXPECT_EQ(PHONE_HOME_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
221 field_type_map_.find(ASCIIToUTF16("prefix1")) != field_type_map_.end());
222 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("prefix1")]);
224 field_type_map_.find(ASCIIToUTF16("suffix1")) != field_type_map_.end());
225 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("suffix1")]);
233 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Phone:"),
234 ASCIIToUTF16("area"),
236 ASCIIToUTF16("text"),
239 ASCIIToUTF16("areacode1")));
242 ASCIIToUTF16("prefix"),
244 ASCIIToUTF16("text"),
247 ASCIIToUTF16("prefix1")));
250 ASCIIToUTF16("suffix"),
252 ASCIIToUTF16("text"),
255 ASCIIToUTF16("suffix1")));
262 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
263 EXPECT_EQ(PHONE_HOME_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
265 field_type_map_.find(ASCIIToUTF16("prefix1")) != field_type_map_.end());
266 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("prefix1")]);
268 field_type_map_.find(ASCIIToUTF16("suffix1")) != field_type_map_.end());
269 EXPECT_EQ(PHONE_HOME_NUMBER, field_type_map_[ASCIIToUTF16("suffix1")]);
274 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Fax"),
275 ASCIIToUTF16("fax"),
277 ASCIIToUTF16("text"),
280 ASCIIToUTF16("fax1")));
287 field_type_map_.find(ASCIIToUTF16("fax1")) != field_type_map_.end());
288 EXPECT_EQ(PHONE_FAX_WHOLE_NUMBER, field_type_map_[ASCIIToUTF16("fax1")]);
293 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Area Code"),
294 ASCIIToUTF16("area code"),
296 ASCIIToUTF16("text"),
299 ASCIIToUTF16("areacode1")));
301 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Fax"),
302 ASCIIToUTF16("fax"),
304 ASCIIToUTF16("text"),
307 ASCIIToUTF16("fax1")));
314 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
316 EXPECT_EQ(PHONE_FAX_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
318 field_type_map_.find(ASCIIToUTF16("fax1")) != field_type_map_.end());
319 EXPECT_EQ(PHONE_FAX_NUMBER, field_type_map_[ASCIIToUTF16("fax1")]);
324 new AutofillField(webkit_glue::FormField(ASCIIToUTF16("Fax:"),
325 ASCIIToUTF16("area"),
327 ASCIIToUTF16("text"),
330 ASCIIToUTF16("areacode1")));
333 ASCIIToUTF16("prefix"),
335 ASCIIToUTF16("text"),
338 ASCIIToUTF16("prefix1")));
341 ASCIIToUTF16("suffix"),
343 ASCIIToUTF16("text"),
346 ASCIIToUTF16("suffix1")));
353 field_type_map_.find(ASCIIToUTF16("areacode1")) != field_type_map_.end());
354 EXPECT_EQ(PHONE_FAX_CITY_CODE, field_type_map_[ASCIIToUTF16("areacode1")]);
356 field_type_map_.find(ASCIIToUTF16("prefix1")) != field_type_map_.end());
357 EXPECT_EQ(PHONE_FAX_NUMBER, field_type_map_[ASCIIToUTF16("prefix1")]);
359 field_type_map_.find(ASCIIToUTF16("suffix1")) != field_type_map_.end());
360 EXPECT_EQ(PHONE_FAX_NUMBER, field_type_map_[ASCIIToUTF16("suffix1")]);