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

// Copyright 2021 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/merchant_promo_code_field_parser.h"

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

ASCIIToUTF16;

namespace autofill {

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

INSTANTIATE_TEST_SUITE_P();

// Match promo(tion|tional)?[-_. ]*code
TEST_P(MerchantPromoCodeFieldParserTest, ParsePromoCode) {}

// Match promo(tion|tional)?[-_. ]*code
TEST_P(MerchantPromoCodeFieldParserTest, ParsePromotionalCode) {}

// Match promo(tion|tional)?[-_. ]*code
TEST_P(MerchantPromoCodeFieldParserTest, ParsePromoCodeWithPrefixAndSuffix) {}

// Match coupon[-_. ]*code
TEST_P(MerchantPromoCodeFieldParserTest, ParseCouponCode) {}

// Match gift[-_. ]*code
TEST_P(MerchantPromoCodeFieldParserTest, ParseGiftCode) {}

// Match discount[-_. ]*code
TEST_P(MerchantPromoCodeFieldParserTest, ParseDiscountCode) {}

TEST_P(MerchantPromoCodeFieldParserTest, ParseNonPromoCode) {}

}  // namespace autofill