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

// Copyright 2022 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/standalone_cvc_field_parser.h"

#include "base/test/scoped_feature_list.h"
#include "components/autofill/core/browser/form_parsing/parsing_test_utils.h"
#include "components/autofill/core/common/autofill_payments_features.h"

namespace autofill {

class StandaloneCvcFieldParserTest
    : public FormFieldParserTestBase,
      public testing::TestWithParam<PatternProviderFeatureState> {};

INSTANTIATE_TEST_SUITE_P();

// Match standalone cvc.
TEST_P(StandaloneCvcFieldParserTest, ParseStandaloneCvc) {}

// Do not parse non cvc standalone fields.
TEST_P(StandaloneCvcFieldParserTest, ParseNonStandaloneCvc) {}

// Do not parse when standalone cvc flag is disabled.
TEST_P(StandaloneCvcFieldParserTest, ParseStandaloneCvcFlagOff) {}

// Do not parse gift card as standalone cvc fields.
TEST_P(StandaloneCvcFieldParserTest, NotParseGiftCardAsStandaloneCvc) {}

}  // namespace autofill