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

(08e24b2ba6847221abd35e9b994206b764d6b322)

Include dependency graph for cxfa_fmparser_unittest.cpp:

Go to the source code of this file.

Classes

class  CXFA_FMParserTest

Functions

 TEST_F (CXFA_FMParserTest, Empty)
 TEST_F (CXFA_FMParserTest, CommentOnlyIsError)
 TEST_F (CXFA_FMParserTest, CommentThenValue)
 TEST_F (CXFA_FMParserTest, Parse)
 TEST_F (CXFA_FMParserTest, MaxParseDepth)
 TEST_F (CXFA_FMParserTest, chromium752201)
 TEST_F (CXFA_FMParserTest, MultipleAssignmentIsNotAllowed)
 TEST_F (CXFA_FMParserTest, ParseFuncWithParams)
 TEST_F (CXFA_FMParserTest, ParseFuncWithoutParams)
 TEST_F (CXFA_FMParserTest, ParseFuncWithBadParamsList)
 TEST_F (CXFA_FMParserTest, ParseBadIfExpression)
 TEST_F (CXFA_FMParserTest, ParseBadElseIfExpression)
 TEST_F (CXFA_FMParserTest, ParseDepthWithWideTree)
 TEST_F (CXFA_FMParserTest, ParseCallSmall)
 TEST_F (CXFA_FMParserTest, ParseCallBig)
 TEST_F (CXFA_FMParserTest, ParseVar)
 TEST_F (CXFA_FMParserTest, ParseFunctionCallNoArguments)
 TEST_F (CXFA_FMParserTest, ParseFunctionCallSingleArgument)
 TEST_F (CXFA_FMParserTest, ParseFunctionCallMultipleArguments)
 TEST_F (CXFA_FMParserTest, ParseFunctionCallMissingCommas)
 TEST_F (CXFA_FMParserTest, ParseFunctionCallTrailingComma)
 TEST_F (CXFA_FMParserTest, ParseFunctionCallExtraComma)

Function Documentation

◆ TEST_F() [1/22]

TEST_F ( CXFA_FMParserTest ,
chromium752201  )

Definition at line 86 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [2/22]

TEST_F ( CXFA_FMParserTest ,
CommentOnlyIsError  )

Definition at line 28 of file cxfa_fmparser_unittest.cpp.

References CXFA_FMParser::HasError(), CXFA_FMParser::Parse(), and CXFA_FMToJavaScriptDepth::Reset().

Here is the call graph for this function:

◆ TEST_F() [3/22]

TEST_F ( CXFA_FMParserTest ,
CommentThenValue  )

Definition at line 43 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [4/22]

TEST_F ( CXFA_FMParserTest ,
Empty  )

Definition at line 14 of file cxfa_fmparser_unittest.cpp.

References CXFA_FMParser::HasError(), CXFA_FMParser::Parse(), and CXFA_FMToJavaScriptDepth::Reset().

Here is the call graph for this function:

◆ TEST_F() [5/22]

TEST_F ( CXFA_FMParserTest ,
MaxParseDepth  )

Definition at line 78 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [6/22]

TEST_F ( CXFA_FMParserTest ,
MultipleAssignmentIsNotAllowed  )

Definition at line 95 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [7/22]

TEST_F ( CXFA_FMParserTest ,
Parse  )

Definition at line 59 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [8/22]

TEST_F ( CXFA_FMParserTest ,
ParseBadElseIfExpression  )

Definition at line 161 of file cxfa_fmparser_unittest.cpp.

References CXFA_FMParser::HasError(), and CXFA_FMParser::Parse().

Here is the call graph for this function:

◆ TEST_F() [9/22]

TEST_F ( CXFA_FMParserTest ,
ParseBadIfExpression  )

Definition at line 152 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [10/22]

TEST_F ( CXFA_FMParserTest ,
ParseCallBig  )

Definition at line 209 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [11/22]

TEST_F ( CXFA_FMParserTest ,
ParseCallSmall  )

Definition at line 193 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [12/22]

TEST_F ( CXFA_FMParserTest ,
ParseDepthWithWideTree  )

Definition at line 172 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [13/22]

TEST_F ( CXFA_FMParserTest ,
ParseFunctionCallExtraComma  )

Definition at line 307 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [14/22]

TEST_F ( CXFA_FMParserTest ,
ParseFunctionCallMissingCommas  )

Definition at line 289 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [15/22]

TEST_F ( CXFA_FMParserTest ,
ParseFunctionCallMultipleArguments  )

Definition at line 273 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [16/22]

TEST_F ( CXFA_FMParserTest ,
ParseFunctionCallNoArguments  )

Definition at line 241 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [17/22]

TEST_F ( CXFA_FMParserTest ,
ParseFunctionCallSingleArgument  )

Definition at line 257 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [18/22]

TEST_F ( CXFA_FMParserTest ,
ParseFunctionCallTrailingComma  )

Definition at line 298 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [19/22]

TEST_F ( CXFA_FMParserTest ,
ParseFuncWithBadParamsList  )

Definition at line 141 of file cxfa_fmparser_unittest.cpp.

References CXFA_FMParser::HasError(), CXFA_FMParser::Parse(), and CXFA_FMParser::SetMaxParseDepthForTest().

Here is the call graph for this function:

◆ TEST_F() [20/22]

TEST_F ( CXFA_FMParserTest ,
ParseFuncWithoutParams  )

Definition at line 122 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [21/22]

TEST_F ( CXFA_FMParserTest ,
ParseFuncWithParams  )

Definition at line 103 of file cxfa_fmparser_unittest.cpp.

◆ TEST_F() [22/22]

TEST_F ( CXFA_FMParserTest ,
ParseVar  )

Definition at line 225 of file cxfa_fmparser_unittest.cpp.