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

// Copyright 2016 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_document.h"

#include <memory>
#include <utility>

#include "core/fpdfapi/page/test_with_page_module.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_boolean.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_linearized_header.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_parser.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fpdfapi/parser/cpdf_test_document.h"
#include "core/fxcrt/check.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

const int kNumTestPages =;

RetainPtr<CPDF_Dictionary> CreatePageTreeNode(RetainPtr<CPDF_Array> kids,
                                              CPDF_Document* pDoc,
                                              int count) {}

RetainPtr<CPDF_Dictionary> CreateNumberedPage(size_t number) {}

class CPDF_TestDocumentForPages final : public CPDF_TestDocument {};

class CPDF_TestDocumentWithPageWithoutPageNum final : public CPDF_TestDocument {};

class TestLinearized final : public CPDF_LinearizedHeader {};

class CPDF_TestDocPagesWithoutKids final : public CPDF_TestDocument {};

class CPDF_TestDocumentAllowSetParser final : public CPDF_TestDocument {};

}  // namespace

DocumentTest;

TEST_F(DocumentTest, GetPages) {}

TEST_F(DocumentTest, GetPageWithoutObjNumTwice) {}

TEST_F(DocumentTest, GetPagesReverseOrder) {}

TEST_F(DocumentTest, GetPagesInDisorder) {}

TEST_F(DocumentTest, IsValidPageObject) {}

TEST_F(DocumentTest, UseCachedPageObjNumIfHaveNotPagesDict) {}

TEST_F(DocumentTest, CountGreaterThanPageTree) {}

TEST_F(DocumentTest, PagesWithoutKids) {}