• Home
  • Raw
  • Download

Lines Matching refs:fields

160   form->fields.push_back(field);  in CreateTestAddressFormData()
163 form->fields.push_back(field); in CreateTestAddressFormData()
166 form->fields.push_back(field); in CreateTestAddressFormData()
169 form->fields.push_back(field); in CreateTestAddressFormData()
172 form->fields.push_back(field); in CreateTestAddressFormData()
175 form->fields.push_back(field); in CreateTestAddressFormData()
178 form->fields.push_back(field); in CreateTestAddressFormData()
181 form->fields.push_back(field); in CreateTestAddressFormData()
184 form->fields.push_back(field); in CreateTestAddressFormData()
187 form->fields.push_back(field); in CreateTestAddressFormData()
190 form->fields.push_back(field); in CreateTestAddressFormData()
193 form->fields.push_back(field); in CreateTestAddressFormData()
216 form->fields.push_back(field); in CreateTestCreditCardFormData()
219 form->fields.push_back(field); in CreateTestCreditCardFormData()
223 form->fields.push_back(field); in CreateTestCreditCardFormData()
227 form->fields.push_back(field); in CreateTestCreditCardFormData()
230 form->fields.push_back(field); in CreateTestCreditCardFormData()
306 ASSERT_EQ(form_size, filled_form.fields.size()); in ExpectFilledForm()
312 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[0])); in ExpectFilledForm()
315 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[1])); in ExpectFilledForm()
318 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[2])); in ExpectFilledForm()
321 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[3])); in ExpectFilledForm()
324 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[4])); in ExpectFilledForm()
327 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[5])); in ExpectFilledForm()
330 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[6])); in ExpectFilledForm()
333 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[7])); in ExpectFilledForm()
336 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[8])); in ExpectFilledForm()
339 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[9])); in ExpectFilledForm()
342 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[10])); in ExpectFilledForm()
345 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[11])); in ExpectFilledForm()
352 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[offset + 0])); in ExpectFilledForm()
355 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[offset + 1])); in ExpectFilledForm()
364 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[offset + 2])); in ExpectFilledForm()
368 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[offset + 2])); in ExpectFilledForm()
371 EXPECT_TRUE(field.StrictlyEqualsHack(filled_form.fields[offset + 3])); in ExpectFilledForm()
588 AutofillField* field = (*fields())[i]; in SetFieldTypes()
610 const FormField& field = form.fields[0]; in TEST_F()
692 form.fields.push_back(field); in TEST_F()
695 form.fields.push_back(field); in TEST_F()
697 form.fields.push_back(field); in TEST_F()
699 form.fields.push_back(field); in TEST_F()
723 const FormField& field = form.fields[0]; in TEST_F()
765 const FormField& field = form.fields[0]; in TEST_F()
780 const FormField& field = form.fields[0]; in TEST_F()
846 FormField field = form.fields[1]; in TEST_F()
925 const FormField& field = form.fields[0]; in TEST_F()
968 const FormField& field = form.fields[0]; in TEST_F()
1042 FormField field = form.fields[1]; in TEST_F()
1092 FormField field = form.fields[0]; in TEST_F()
1166 FormField field = form.fields[0]; in TEST_F()
1233 const FormField& field = form.fields[0]; in TEST_F()
1283 form.fields[2].is_autofilled = true; in TEST_F()
1284 const FormField& field = form.fields[0]; in TEST_F()
1320 form.fields.push_back(field); in TEST_F()
1370 FormField& field = form.fields[0]; in TEST_F()
1418 FormField& field = form.fields[0]; in TEST_F()
1465 FormField& field = form.fields[0]; in TEST_F()
1506 kDefaultPageID, form, form.fields[0], in TEST_F()
1526 kDefaultPageID, form, *form.fields.begin(), in TEST_F()
1550 kDefaultPageID, form, *form.fields.begin(), in TEST_F()
1576 kDefaultPageID, form, *form.fields.begin(), in TEST_F()
1601 kDefaultPageID, form, *form.fields.begin(), in TEST_F()
1627 kDefaultPageID, form, *form.fields.begin(), in TEST_F()
1649 FillAutofillFormData(kDefaultPageID, form, form.fields[0], in TEST_F()
1664 kPageID2, form, form.fields.back(), in TEST_F()
1681 const size_t kAddressFormSize = form.fields.size(); in TEST_F()
1683 for (size_t i = kAddressFormSize; i < form.fields.size(); ++i) { in TEST_F()
1685 form.fields[i].name = form.fields[i].name + ASCIIToUTF16("_"); in TEST_F()
1693 FillAutofillFormData(kDefaultPageID, form, form.fields[0], in TEST_F()
1703 ASSERT_EQ(results.fields.size(), 2*kAddressFormSize); in TEST_F()
1704 for (size_t i = kAddressFormSize; i < form.fields.size(); ++i) { in TEST_F()
1705 EXPECT_EQ(string16(), results.fields[i].value); in TEST_F()
1709 results.fields.resize(kAddressFormSize); in TEST_F()
1718 FillAutofillFormData(kPageID2, form, form.fields[kAddressFormSize + 9], in TEST_F()
1725 ASSERT_EQ(results.fields.size(), form.fields.size()); in TEST_F()
1728 ASSERT_EQ(results.fields.size(), 2*kAddressFormSize); in TEST_F()
1730 EXPECT_EQ(string16(), results.fields[i].value); in TEST_F()
1735 secondSection.fields.erase(secondSection.fields.begin(), in TEST_F()
1736 secondSection.fields.begin() + kAddressFormSize); in TEST_F()
1739 string16 name = secondSection.fields[i].name; in TEST_F()
1741 secondSection.fields[i].name = original_name; in TEST_F()
1756 form.fields.push_back(field); in TEST_F()
1764 FillAutofillFormData(kDefaultPageID, form, form.fields[0], in TEST_F()
1772 EXPECT_EQ(ASCIIToUTF16("theking@gmail.com"), results.fields.back().value); in TEST_F()
1775 results.fields.pop_back(); in TEST_F()
1785 form.fields[4].is_autofilled = true; in TEST_F()
1794 kDefaultPageID, form, *form.fields.begin(), in TEST_F()
1811 kPageID2, form, form.fields.back(), in TEST_F()
1823 for (std::vector<FormField>::iterator iter = form.fields.begin(); in TEST_F()
1824 iter != form.fields.end(); in TEST_F()
1831 kPageID3, form, *form.fields.rbegin(), in TEST_F()
1858 form.fields.push_back(field); in TEST_F()
1862 form.fields.push_back(field); in TEST_F()
1866 form.fields.push_back(field); in TEST_F()
1870 form.fields.push_back(field); in TEST_F()
1874 form.fields.push_back(field); in TEST_F()
1896 page_id, form, *form.fields.begin(), in TEST_F()
1903 EXPECT_EQ(ASCIIToUTF16(test_data), results.fields[2].value); in TEST_F()
1904 EXPECT_EQ(ASCIIToUTF16(test_data), results.fields[3].value); in TEST_F()
1907 EXPECT_EQ(ASCIIToUTF16("123"), results.fields[2].value); in TEST_F()
1908 EXPECT_EQ(ASCIIToUTF16("4567"), results.fields[3].value); in TEST_F()
1924 form.fields.insert(form.fields.begin() + 3, field); in TEST_F()
1930 form.fields.erase(form.fields.begin() + 3); in TEST_F()
1935 kDefaultPageID, form, form.fields[0], in TEST_F()
1954 std::vector<FormField>::iterator pos = form.fields.begin() + kFaxFieldOffset; in TEST_F()
1956 pos = form.fields.erase(pos); in TEST_F()
1962 form.fields.insert(pos, field); in TEST_F()
1967 kDefaultPageID, form, form.fields[0], in TEST_F()
1987 FillAutofillFormData(kDefaultPageID, form, form.fields[0], in TEST_F()
2015 for (size_t i = 0; i < form.fields.size(); ++i) { in TEST_F()
2025 FillAutofillFormData(kDefaultPageID, form, form.fields[0], in TEST_F()