chromium/third_party/pdfium/core/fpdfapi/parser/cpdf_cross_ref_avail_unittest.cpp

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

#include "core/fpdfapi/parser/cpdf_cross_ref_avail.h"

#include <memory>
#include <string>

#include "core/fpdfapi/parser/cpdf_syntax_parser.h"
#include "core/fxcrt/cfx_read_only_span_stream.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

std::unique_ptr<CPDF_SyntaxParser> MakeParserForBuffer(
    pdfium::span<const uint8_t> buffer) {}

}  // namespace

TEST(CrossRefAvailTest, CheckCrossRefTable) {}

TEST(CrossRefAvailTest, CheckCrossRefStream) {}

TEST(CrossRefAvailTest, IncorrectStartOffset) {}

TEST(CrossRefAvailTest, IncorrectPrevOffset) {}

TEST(CrossRefAvailTest, IncorrectPrevStreamOffset) {}

TEST(CrossRefAvailTest, IncorrectData) {}

TEST(CrossRefAvailTest, ThreeCrossRefTable) {}

TEST(CrossRefAvailTest, ThreeCrossRefStream) {}

TEST(CrossRefAvailTest, Mixed) {}

TEST(CrossRefAvailTest, CrossRefStreamIsNotStream) {}

TEST(CrossRefAvailTest, CrossRefTableWithEncryptRef) {}

TEST(CrossRefAvailTest, CrossRefStreamWithEncryptRef) {}