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_object_unittest.cpp File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

+ Include dependency graph for cpdf_object_unittest.cpp:

Go to the source code of this file.

Classes

class  PDFObjectsTest
 

Functions

 TEST_F (PDFObjectsTest, GetString)
 
 TEST_F (PDFObjectsTest, GetUnicodeText)
 
 TEST_F (PDFObjectsTest, GetNumber)
 
 TEST_F (PDFObjectsTest, GetInteger)
 
 TEST_F (PDFObjectsTest, GetDict)
 
 TEST_F (PDFObjectsTest, GetNameFor)
 
 TEST_F (PDFObjectsTest, GetArray)
 
 TEST_F (PDFObjectsTest, Clone)
 
 TEST_F (PDFObjectsTest, GetType)
 
 TEST_F (PDFObjectsTest, GetDirect)
 
 TEST_F (PDFObjectsTest, SetString)
 
 TEST_F (PDFObjectsTest, IsTypeAndAsType)
 
 TEST_F (PDFObjectsTest, MakeReferenceGeneric)
 
 TEST_F (PDFObjectsTest, KeyForCache)
 
 TEST (PDFArrayTest, GetMatrix)
 
 TEST (PDFArrayTest, GetRect)
 
 TEST (PDFArrayTest, GetTypeAt)
 
 TEST (PDFArrayTest, AddNumber)
 
 TEST (PDFArrayTest, AddInteger)
 
 TEST (PDFArrayTest, AddStringAndName)
 
 TEST (PDFArrayTest, AddReferenceAndGetObjectAt)
 
 TEST (PDFArrayTest, CloneDirectObject)
 
 TEST (PDFArrayTest, ConvertIndirect)
 
 TEST (PDFStreamTest, SetData)
 
 TEST (PDFStreamTest, SetDataAndRemoveFilter)
 
 TEST (PDFStreamTest, LengthInDictionaryOnCreate)
 
 TEST (PDFDictionaryTest, CloneDirectObject)
 
 TEST (PDFObjectTest, CloneCheckLoop)
 
 TEST (PDFDictionaryTest, ConvertIndirect)
 
 TEST (PDFDictionaryTest, ExtractObjectOnRemove)
 
 TEST (PDFRefernceTest, MakeReferenceToReference)
 

Function Documentation

◆ TEST() [1/17]

TEST ( PDFArrayTest ,
AddInteger  )

Definition at line 742 of file cpdf_object_unittest.cpp.

References CPDF_Object::kNumber.

◆ TEST() [2/17]

TEST ( PDFArrayTest ,
AddNumber  )

Definition at line 730 of file cpdf_object_unittest.cpp.

References CPDF_Object::kNumber.

◆ TEST() [3/17]

TEST ( PDFArrayTest ,
AddReferenceAndGetObjectAt  )

Definition at line 771 of file cpdf_object_unittest.cpp.

References CPDF_Object::kReference.

◆ TEST() [4/17]

TEST ( PDFArrayTest ,
AddStringAndName  )

Definition at line 753 of file cpdf_object_unittest.cpp.

References CPDF_Object::kName, and CPDF_Object::kString.

◆ TEST() [5/17]

TEST ( PDFArrayTest ,
CloneDirectObject  )

Definition at line 808 of file cpdf_object_unittest.cpp.

◆ TEST() [6/17]

TEST ( PDFArrayTest ,
ConvertIndirect  )

Definition at line 827 of file cpdf_object_unittest.cpp.

◆ TEST() [7/17]

TEST ( PDFArrayTest ,
GetMatrix  )

◆ TEST() [8/17]

TEST ( PDFArrayTest ,
GetRect  )

◆ TEST() [9/17]

TEST ( PDFArrayTest ,
GetTypeAt  )

Definition at line 491 of file cpdf_object_unittest.cpp.

◆ TEST() [10/17]

TEST ( PDFDictionaryTest ,
CloneDirectObject  )

Definition at line 910 of file cpdf_object_unittest.cpp.

◆ TEST() [11/17]

TEST ( PDFDictionaryTest ,
ConvertIndirect  )

Definition at line 978 of file cpdf_object_unittest.cpp.

◆ TEST() [12/17]

TEST ( PDFDictionaryTest ,
ExtractObjectOnRemove  )

Definition at line 992 of file cpdf_object_unittest.cpp.

◆ TEST() [13/17]

TEST ( PDFObjectTest ,
CloneCheckLoop  )

Definition at line 930 of file cpdf_object_unittest.cpp.

◆ TEST() [14/17]

TEST ( PDFRefernceTest ,
MakeReferenceToReference  )

Definition at line 1002 of file cpdf_object_unittest.cpp.

◆ TEST() [15/17]

TEST ( PDFStreamTest ,
LengthInDictionaryOnCreate  )

Definition at line 890 of file cpdf_object_unittest.cpp.

References pdfium::stream::kLength.

◆ TEST() [16/17]

TEST ( PDFStreamTest ,
SetData  )

◆ TEST() [17/17]

TEST ( PDFStreamTest ,
SetDataAndRemoveFilter  )

◆ TEST_F() [1/14]

TEST_F ( PDFObjectsTest ,
Clone  )

Definition at line 309 of file cpdf_object_unittest.cpp.

◆ TEST_F() [2/14]

TEST_F ( PDFObjectsTest ,
GetArray  )

Definition at line 296 of file cpdf_object_unittest.cpp.

◆ TEST_F() [3/14]

TEST_F ( PDFObjectsTest ,
GetDict  )

Definition at line 258 of file cpdf_object_unittest.cpp.

◆ TEST_F() [4/14]

TEST_F ( PDFObjectsTest ,
GetDirect  )

Definition at line 333 of file cpdf_object_unittest.cpp.

◆ TEST_F() [5/14]

TEST_F ( PDFObjectsTest ,
GetInteger  )

Definition at line 246 of file cpdf_object_unittest.cpp.

◆ TEST_F() [6/14]

TEST_F ( PDFObjectsTest ,
GetNameFor  )

Definition at line 279 of file cpdf_object_unittest.cpp.

◆ TEST_F() [7/14]

TEST_F ( PDFObjectsTest ,
GetNumber  )

Definition at line 233 of file cpdf_object_unittest.cpp.

◆ TEST_F() [8/14]

TEST_F ( PDFObjectsTest ,
GetString  )

Definition at line 201 of file cpdf_object_unittest.cpp.

◆ TEST_F() [9/14]

TEST_F ( PDFObjectsTest ,
GetType  )

Definition at line 323 of file cpdf_object_unittest.cpp.

◆ TEST_F() [10/14]

TEST_F ( PDFObjectsTest ,
GetUnicodeText  )

Definition at line 217 of file cpdf_object_unittest.cpp.

◆ TEST_F() [11/14]

TEST_F ( PDFObjectsTest ,
IsTypeAndAsType  )

Definition at line 355 of file cpdf_object_unittest.cpp.

◆ TEST_F() [12/14]

TEST_F ( PDFObjectsTest ,
KeyForCache  )

Definition at line 436 of file cpdf_object_unittest.cpp.

◆ TEST_F() [13/14]

TEST_F ( PDFObjectsTest ,
MakeReferenceGeneric  )

Definition at line 424 of file cpdf_object_unittest.cpp.

◆ TEST_F() [14/14]

TEST_F ( PDFObjectsTest ,
SetString  )

Definition at line 343 of file cpdf_object_unittest.cpp.