Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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 "testing/gtest/include/gtest/gtest.h"
#include "third_party/base/check.h"
Go to the source code of this file.
Typedefs | |
using | DocumentTest = TestWithPageModule |
Functions | |
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) | |
typedef TestWithPageModule DocumentTest = TestWithPageModule |
Definition at line 158 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
CountGreaterThanPageTree | ) |
Definition at line 286 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
GetPages | ) |
Definition at line 160 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
GetPagesInDisorder | ) |
Definition at line 200 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
GetPagesReverseOrder | ) |
Definition at line 186 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
GetPageWithoutObjNumTwice | ) |
Definition at line 174 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
IsValidPageObject | ) |
Definition at line 223 of file cpdf_document_unittest.cpp.
References CPDF_IndirectObjectHolder::AddIndirectObject(), and CPDF_Document::IsValidPageObject().
TEST_F | ( | DocumentTest | , |
PagesWithoutKids | ) |
Definition at line 297 of file cpdf_document_unittest.cpp.
TEST_F | ( | DocumentTest | , |
UseCachedPageObjNumIfHaveNotPagesDict | ) |
Definition at line 245 of file cpdf_document_unittest.cpp.
References CPDF_IndirectObjectHolder::AddIndirectObject(), CPDF_Document::GetPageCount(), CPDF_Document::GetPageDictionary(), CPDF_Document::IsPageLoaded(), CPDF_Document::LoadPages(), and CPDF_Document::SetPageObjNum().