chromium/media/formats/hls/types_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 "media/formats/hls/types.h"

#include <initializer_list>
#include <string>
#include <string_view>
#include <utility>

#include "base/location.h"
#include "media/base/media_serializers.h"
#include "media/formats/hls/parse_status.h"
#include "media/formats/hls/source_string.h"
#include "media/formats/hls/test_util.h"
#include "media/formats/hls/variable_dictionary.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace media::hls {

TEST(HlsTypesTest, ParseDecimalInteger) {}

TEST(HlsTypesTest, ParseDecimalFloatingPoint) {}

TEST(HlsTypesTest, ParseSignedDecimalFloatingPoint) {}

TEST(HlsTypesTest, AttributeListIterator) {}

TEST(HlsTypesTest, AttributeMap) {}

TEST(HlsTypesTest, ParseVariableName) {}

TEST(HlsTypesTest, ParseQuotedStringWithoutSubstitution) {}

TEST(HlsTypesTest, ParseQuotedString) {}

TEST(HlsTypesTest, ParseDecimalResolution) {}

TEST(HlsTypesTest, ParseByteRangeExpression) {}

TEST(HlsTypesTest, ValidateByteRange) {}

TEST(HlsTypesTest, ParseStableId) {}

TEST(HlsTypesTest, ParseInstreamId) {}

TEST(HlsTypesTest, ParseAudioChannels) {}

namespace {

template <size_t bits>
void HexErrorTest(std::string_view str,
                  bool extrapolate_leading_zeros = false,
                  bool has_prefix = true,
                  const base::Location& from = base::Location::Current()) {}

template <size_t bits>
types::parsing::HexRepr<bits>::Container HexParseOk(
    std::string_view str,
    bool extrapolate_leading_zeros = false,
    bool has_prefix = true,
    const base::Location& from = base::Location::Current()) {}

}  // namespace

TEST(HlsTypesTest, HexInvalidChars) {}

TEST(HlsTypesTest, HexPrefixFlag) {}

TEST(HlsTypesTest, HexCapsLowerCase) {}

TEST(HlsTypesTest, HexExtrapolateZero) {}

TEST(HlsTypesTest, HexTooLong) {}

TEST(HlsTypesTest, Hex16) {}

TEST(HlsTypesTest, Hex32) {}

TEST(HlsTypesTest, Hex64) {}

TEST(HlsTypesTest, HexUnpack) {}

}  // namespace media::hls