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

(0ccf980226462398d5097987466bcffd8236e1e9)

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 761 of file cpdf_object_unittest.cpp.

References CPDF_Object::kNumber.

◆ TEST() [2/17]

TEST ( PDFArrayTest ,
AddNumber  )

Definition at line 748 of file cpdf_object_unittest.cpp.

References CPDF_Object::kNumber.

◆ TEST() [3/17]

TEST ( PDFArrayTest ,
AddReferenceAndGetObjectAt  )

Definition at line 792 of file cpdf_object_unittest.cpp.

References CPDF_Object::kReference.

◆ TEST() [4/17]

TEST ( PDFArrayTest ,
AddStringAndName  )

Definition at line 774 of file cpdf_object_unittest.cpp.

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

◆ TEST() [5/17]

TEST ( PDFArrayTest ,
CloneDirectObject  )

Definition at line 829 of file cpdf_object_unittest.cpp.

◆ TEST() [6/17]

TEST ( PDFArrayTest ,
ConvertIndirect  )

Definition at line 848 of file cpdf_object_unittest.cpp.

◆ TEST() [7/17]

TEST ( PDFArrayTest ,
GetMatrix  )

Definition at line 457 of file cpdf_object_unittest.cpp.

◆ TEST() [8/17]

TEST ( PDFArrayTest ,
GetRect  )

Definition at line 476 of file cpdf_object_unittest.cpp.

◆ TEST() [9/17]

TEST ( PDFArrayTest ,
GetTypeAt  )

Definition at line 495 of file cpdf_object_unittest.cpp.

◆ TEST() [10/17]

TEST ( PDFDictionaryTest ,
CloneDirectObject  )

Definition at line 931 of file cpdf_object_unittest.cpp.

◆ TEST() [11/17]

TEST ( PDFDictionaryTest ,
ConvertIndirect  )

Definition at line 999 of file cpdf_object_unittest.cpp.

◆ TEST() [12/17]

TEST ( PDFDictionaryTest ,
ExtractObjectOnRemove  )

Definition at line 1013 of file cpdf_object_unittest.cpp.

◆ TEST() [13/17]

TEST ( PDFObjectTest ,
CloneCheckLoop  )

Definition at line 951 of file cpdf_object_unittest.cpp.

◆ TEST() [14/17]

TEST ( PDFRefernceTest ,
MakeReferenceToReference  )

Definition at line 1023 of file cpdf_object_unittest.cpp.

◆ TEST() [15/17]

TEST ( PDFStreamTest ,
LengthInDictionaryOnCreate  )

Definition at line 911 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 314 of file cpdf_object_unittest.cpp.

◆ TEST_F() [2/14]

TEST_F ( PDFObjectsTest ,
GetArray  )

Definition at line 299 of file cpdf_object_unittest.cpp.

◆ TEST_F() [3/14]

TEST_F ( PDFObjectsTest ,
GetDict  )

Definition at line 264 of file cpdf_object_unittest.cpp.

◆ TEST_F() [4/14]

TEST_F ( PDFObjectsTest ,
GetDirect  )

Definition at line 338 of file cpdf_object_unittest.cpp.

◆ TEST_F() [5/14]

TEST_F ( PDFObjectsTest ,
GetInteger  )

Definition at line 248 of file cpdf_object_unittest.cpp.

◆ TEST_F() [6/14]

TEST_F ( PDFObjectsTest ,
GetNameFor  )

Definition at line 282 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 328 of file cpdf_object_unittest.cpp.

◆ TEST_F() [10/14]

TEST_F ( PDFObjectsTest ,
GetUnicodeText  )

Definition at line 218 of file cpdf_object_unittest.cpp.

◆ TEST_F() [11/14]

TEST_F ( PDFObjectsTest ,
IsTypeAndAsType  )

Definition at line 360 of file cpdf_object_unittest.cpp.

◆ TEST_F() [12/14]

TEST_F ( PDFObjectsTest ,
KeyForCache  )

Definition at line 441 of file cpdf_object_unittest.cpp.

◆ TEST_F() [13/14]

TEST_F ( PDFObjectsTest ,
MakeReferenceGeneric  )

Definition at line 429 of file cpdf_object_unittest.cpp.

◆ TEST_F() [14/14]

TEST_F ( PDFObjectsTest ,
SetString  )

Definition at line 348 of file cpdf_object_unittest.cpp.