#include "components/autofill/core/browser/form_parsing/email_field_parser.h"
#include "base/test/scoped_feature_list.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/browser/form_parsing/parsing_test_utils.h"
#include "components/autofill/core/common/autofill_features.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
class EmailFieldParserTest
: public FormFieldParserTestBase,
public ::testing::TestWithParam<PatternProviderFeatureState> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(EmailFieldParserTest, ParseEmailAddressLabel) { … }
TEST_P(EmailFieldParserTest, ParseEmailAddressPlaceholder) { … }
TEST_P(EmailFieldParserTest, ParseDomainLabel) { … }
TEST_P(EmailFieldParserTest, ParseDomainPlaceholder) { … }
}