chromium/third_party/boringssl/src/pki/parse_values_unittest.cc

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

#include "parse_values.h"

#include <stdint.h>

#include <gtest/gtest.h>

BSSL_NAMESPACE_BEGIN
namespace der::test {

namespace {

template <size_t N>
Input FromStringLiteral(const char (&data)[N]) {}

}  // namespace

TEST(ParseValuesTest, ParseBool) {}

TEST(ParseValuesTest, ParseTimes) {}

TEST(ParseValuesTest, TimesCompare) {}

TEST(ParseValuesTest, UTCTimeRange) {}

struct Uint64TestData {};

const Uint64TestData kUint64TestData[] =;

TEST(ParseValuesTest, ParseUint64) {}

struct Uint8TestData {};

const Uint8TestData kUint8TestData[] =;

TEST(ParseValuesTest, ParseUint8) {}

struct IsValidIntegerTestData {};

const IsValidIntegerTestData kIsValidIntegerTestData[] =;

TEST(ParseValuesTest, IsValidInteger) {}

// Tests parsing an empty BIT STRING.
TEST(ParseValuesTest, ParseBitStringEmptyNoUnusedBits) {}

// Tests parsing an empty BIT STRING that incorrectly claims one unused bit.
TEST(ParseValuesTest, ParseBitStringEmptyOneUnusedBit) {}

// Tests parsing an empty BIT STRING that is not minmally encoded (the entire
// last byte is comprised of unused bits).
TEST(ParseValuesTest, ParseBitStringNonEmptyTooManyUnusedBits) {}

// Tests parsing a BIT STRING of 7 bits each of which are 1.
TEST(ParseValuesTest, ParseBitStringSevenOneBits) {}

// Tests parsing a BIT STRING of 7 bits each of which are 1. The unused bit
// however is set to 1, which is an invalid encoding.
TEST(ParseValuesTest, ParseBitStringSevenOneBitsUnusedBitIsOne) {}

TEST(ParseValuesTest, ParseIA5String) {}

TEST(ParseValuesTest, ParseVisibleString) {}

TEST(ParseValuesTest, ParsePrintableString) {}

TEST(ParseValuesTest, ParseTeletexStringAsLatin1) {}

TEST(ParseValuesTest, ParseBmpString) {}

TEST(ParseValuesTest, ParseUniversalString) {}

}  // namespace der::test
BSSL_NAMESPACE_END