Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpdf_document_unittest.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

+ Include dependency graph for cpdf_document_unittest.cpp:

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 Documentation

◆ DocumentTest

Function Documentation

◆ TEST_F() [1/8]

TEST_F ( DocumentTest ,
CountGreaterThanPageTree  )

Definition at line 286 of file cpdf_document_unittest.cpp.

◆ TEST_F() [2/8]

TEST_F ( DocumentTest ,
GetPages  )

Definition at line 160 of file cpdf_document_unittest.cpp.

◆ TEST_F() [3/8]

TEST_F ( DocumentTest ,
GetPagesInDisorder  )

Definition at line 200 of file cpdf_document_unittest.cpp.

◆ TEST_F() [4/8]

TEST_F ( DocumentTest ,
GetPagesReverseOrder  )

Definition at line 186 of file cpdf_document_unittest.cpp.

◆ TEST_F() [5/8]

TEST_F ( DocumentTest ,
GetPageWithoutObjNumTwice  )

Definition at line 174 of file cpdf_document_unittest.cpp.

◆ TEST_F() [6/8]

TEST_F ( DocumentTest ,
IsValidPageObject  )

Definition at line 223 of file cpdf_document_unittest.cpp.

References CPDF_IndirectObjectHolder::AddIndirectObject(), and CPDF_Document::IsValidPageObject().

+ Here is the call graph for this function:

◆ TEST_F() [7/8]

TEST_F ( DocumentTest ,
PagesWithoutKids  )

Definition at line 297 of file cpdf_document_unittest.cpp.

◆ TEST_F() [8/8]

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().

+ Here is the call graph for this function: