chromium/components/facilitated_payments/core/util/pix_code_validator_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/facilitated_payments/core/util/pix_code_validator.h"

#include "base/strings/strcat.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace payments::facilitated {
namespace {

TEST(PixCodeValidatorTest, ValidDynamicCode) {}

TEST(PixCodeValidatorTest, ValidDynamicCodeWithSomeUpperCaseLetters) {}

TEST(PixCodeValidatorTest, StaticCode) {}

TEST(PixCodeValidatorTest, EmptyStringNotValid) {}

TEST(PixCodeValidatorTest, LastSectionLengthTooLong) {}

TEST(PixCodeValidatorTest, SectionHeaderIsNotADigit) {}

TEST(PixCodeValidatorTest, LastSectionLengthTooShort) {}

TEST(PixCodeValidatorTest, SectionHeaderTruncatedTooShort) {}

TEST(PixCodeValidatorTest, MerchantAccountInformationIsEmpty) {}

TEST(PixCodeValidatorTest, MerchantAccountInformationIsNotValid) {}

TEST(PixCodeValidatorTest, InvalidPixCodeIndicator) {}

TEST(PixCodeValidatorTest, EmptyAdditionalDataSection) {}

TEST(PixCodeValidatorTest, LastSectionIdIsNotCrc16) {}

TEST(PixCodeValidatorTest, FirstSectionIsNotPayloadIndicator) {}

TEST(PixCodeValidatorTest, NoMerchantAccountInformationSection) {}

TEST(PixCodeValidatorTest, NoPixCodeIndicator) {}

TEST(PixCodeValidatorTest, ContainsPixCodeIdentifier) {}

TEST(PixCodeValidatorTest, ContainsPixCodeIdentifier_MixedCase) {}

TEST(PixCodeValidatorTest, DoesNotContainsPixCodeIdentifier) {}

}  // namespace
}  // namespace payments::facilitated