chromium/components/autofill/core/browser/form_parsing/email_field_parser_unittest.cc

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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();

// Tests that a field whose label has the format of an email address is parsed
// as `EMAIL_ADDRESS`.
TEST_P(EmailFieldParserTest, ParseEmailAddressLabel) {}

// Tests that a field whose placeholder has the format of an email address is
// parsed as `EMAIL_ADDRESS`.
TEST_P(EmailFieldParserTest, ParseEmailAddressPlaceholder) {}

TEST_P(EmailFieldParserTest, ParseDomainLabel) {}

TEST_P(EmailFieldParserTest, ParseDomainPlaceholder) {}

}  // namespace autofill