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

(ada9ddbf8c604585ac344b72f7bb63ac27c84726)

#include <iterator>
#include "public/fpdf_structtree.h"
#include "testing/embedder_test.h"
#include "testing/fx_string_testhelpers.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
+ Include dependency graph for fpdf_structtree_embeddertest.cpp:

Go to the source code of this file.

Classes

class  FPDFStructTreeEmbedderTest
 

Functions

 TEST_F (FPDFStructTreeEmbedderTest, GetAltText)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetActualText)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetStringAttribute)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetStringAttributeBadStructElement)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetID)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetLang)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetMarkedContentID)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetMarkedContentIdAtIndex)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetChildMarkedContentID)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetType)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetObjType)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetParent)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetTitle)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetAttributes)
 
 TEST_F (FPDFStructTreeEmbedderTest, GetStructTreeForNestedTaggedPDF)
 
 TEST_F (FPDFStructTreeEmbedderTest, MarkedContentReferenceAndObjectReference)
 
 TEST_F (FPDFStructTreeEmbedderTest, Bug1768)
 
 TEST_F (FPDFStructTreeEmbedderTest, Bug1296920)
 
 TEST_F (FPDFStructTreeEmbedderTest, Bug1443100)
 

Function Documentation

◆ TEST_F() [1/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
Bug1296920  )

Definition at line 889 of file fpdf_structtree_embeddertest.cpp.

◆ TEST_F() [2/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
Bug1443100  )

Definition at line 905 of file fpdf_structtree_embeddertest.cpp.

◆ TEST_F() [3/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
Bug1768  )

Definition at line 870 of file fpdf_structtree_embeddertest.cpp.

◆ TEST_F() [4/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetActualText  )

Definition at line 78 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetActualText(), and FPDF_StructElement_GetChildAtIndex().

+ Here is the call graph for this function:

◆ TEST_F() [5/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetAltText  )

Definition at line 14 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetAltText(), FPDF_StructElement_GetChildAtIndex(), and FPDF_StructElement_GetMarkedContentID().

+ Here is the call graph for this function:

◆ TEST_F() [6/19]

◆ TEST_F() [7/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetChildMarkedContentID  )

Definition at line 392 of file fpdf_structtree_embeddertest.cpp.

◆ TEST_F() [8/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetID  )

Definition at line 225 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetID(), and FPDF_StructElement_GetType().

+ Here is the call graph for this function:

◆ TEST_F() [9/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetLang  )

Definition at line 270 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetLang(), and FPDF_StructElement_GetType().

+ Here is the call graph for this function:

◆ TEST_F() [10/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetMarkedContentID  )

Definition at line 320 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_GetMarkedContentID().

+ Here is the call graph for this function:

◆ TEST_F() [11/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetMarkedContentIdAtIndex  )

Definition at line 338 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_GetMarkedContentID(), FPDF_StructElement_GetMarkedContentIdAtIndex(), and FPDF_StructElement_GetMarkedContentIdCount().

+ Here is the call graph for this function:

◆ TEST_F() [12/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetObjType  )

Definition at line 473 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), and FPDF_StructElement_GetObjType().

+ Here is the call graph for this function:

◆ TEST_F() [13/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetParent  )

Definition at line 525 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), and FPDF_StructElement_GetParent().

+ Here is the call graph for this function:

◆ TEST_F() [14/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetStringAttribute  )

Definition at line 122 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetStringAttribute(), and FPDF_StructElement_GetType().

+ Here is the call graph for this function:

◆ TEST_F() [15/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetStringAttributeBadStructElement  )

Definition at line 185 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetStringAttribute(), and FPDF_StructElement_GetType().

+ Here is the call graph for this function:

◆ TEST_F() [16/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetStructTreeForNestedTaggedPDF  )

Definition at line 771 of file fpdf_structtree_embeddertest.cpp.

◆ TEST_F() [17/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetTitle  )

Definition at line 557 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), and FPDF_StructElement_GetTitle().

+ Here is the call graph for this function:

◆ TEST_F() [18/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
GetType  )

Definition at line 439 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_GetType().

+ Here is the call graph for this function:

◆ TEST_F() [19/19]

TEST_F ( FPDFStructTreeEmbedderTest ,
MarkedContentReferenceAndObjectReference  )

Definition at line 784 of file fpdf_structtree_embeddertest.cpp.

References FPDF_StructElement_CountChildren(), FPDF_StructElement_GetChildAtIndex(), FPDF_StructElement_GetMarkedContentID(), and FPDF_StructElement_GetType().

+ Here is the call graph for this function: