| Index: chrome/browser/autofill/form_structure_unittest.cc
|
| diff --git a/chrome/browser/autofill/form_structure_unittest.cc b/chrome/browser/autofill/form_structure_unittest.cc
|
| index bd2bded40da44dd115bc02fdc6c296cd953c4c69..fe7cf54a5289ca20c0a9d46bfb51dbb4d2360d3b 100644
|
| --- a/chrome/browser/autofill/form_structure_unittest.cc
|
| +++ b/chrome/browser/autofill/form_structure_unittest.cc
|
| @@ -87,6 +87,22 @@ TEST(FormStructureTest, FieldCount) {
|
| EXPECT_EQ(3U, form_structure.field_count());
|
| }
|
|
|
| +TEST(FormStructureTest, AutofillFlowInfo) {
|
| + FormData form;
|
| + form.method = ASCIIToUTF16("post");
|
| +
|
| + FormFieldData field;
|
| + field.label = ASCIIToUTF16("username");
|
| + field.name = ASCIIToUTF16("username");
|
| + field.form_control_type = "text";
|
| + form.fields.push_back(field);
|
| +
|
| + FormStructure form_structure(form);
|
| +
|
| + EXPECT_FALSE(form_structure.IsStartOfAutofillableFlow());
|
| + EXPECT_FALSE(form_structure.IsInAutofillableFlow());
|
| +}
|
| +
|
| TEST(FormStructureTest, AutofillCount) {
|
| FormData form;
|
| form.method = ASCIIToUTF16("post");
|
|
|