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

(0ccf980226462398d5097987466bcffd8236e1e9)

Include dependency graph for cfxjse_formcalc_context_embeddertest.cpp:

Go to the source code of this file.

Classes

class  CFXJSEFormCalcContextEmbedderTest

Functions

 TEST_F (CFXJSEFormCalcContextEmbedderTest, TranslateEmpty)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, TranslateNumber)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Numeric)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Strings)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Booleans)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Abs)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Avg)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Ceil)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Count)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Floor)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Max)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Min)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Mod)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Round)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Sum)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Date2Num)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DateFmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, IsoDate2Num)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_IsoTime2Num)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, LocalDateFmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_LocalTimeFmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Num2Date)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_Num2GMTime)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_Num2Time)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Time2Num)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Time2NumWithTZ)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, TimeFmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Apr)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, CTerm)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, FV)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, IPmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, NPV)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Pmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, PPmt)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, PV)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Rate)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Term)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Choose)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Exists)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, HasValue)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Oneof)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Within)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Eval)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_Null)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Ref)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, UnitType)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, UnitValue)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, At)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Concat)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Decode)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Encode)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_Format)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Left)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Len)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Lower)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Bug854623)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Ltrim)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, DISABLED_Parse)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Replace)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Right)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Rtrim)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Space)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Str)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Stuff)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Substr)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Uuid)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Upper)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, WordNum)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Get)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Post)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Put)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, InvalidFunctions)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, MethodCall)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, GetXFAEventChange)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, SetXFAEventChange)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, SetXFAEventFullTextFails)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, EventChangeSelection)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, XFAEventCancelAction)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, ComplexTextChangeEvent)
 TEST_F (CFXJSEFormCalcContextEmbedderTest, Bug1223)

Function Documentation

◆ TEST_F() [1/80]

Definition at line 198 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [2/80]

Definition at line 459 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [3/80]

◆ TEST_F() [4/80]

Definition at line 206 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [5/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Booleans  )

Definition at line 166 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [6/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Bug1223  )

Definition at line 1178 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [7/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Bug854623  )

Definition at line 759 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [8/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Ceil  )

Definition at line 213 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [9/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Choose  )

Definition at line 560 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [10/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
ComplexTextChangeEvent  )

Definition at line 1140 of file cfxjse_formcalc_context_embeddertest.cpp.

References CXFA_EventParam::CXFA_EventParam(), CFXJSE_Engine::EventParamScope::EventParamScope(), CFXJSE_Engine::EventParamScope, CXFA_EventParam::GetNewText(), CXFA_EventParam::m_iSelEnd, CXFA_EventParam::m_iSelStart, and XFA_EVENT_Unknown.

Here is the call graph for this function:

◆ TEST_F() [11/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Concat  )

Definition at line 657 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [12/80]

◆ TEST_F() [13/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
CTerm  )

Definition at line 469 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [14/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Date2Num  )

Definition at line 297 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [15/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DateFmt  )

Definition at line 313 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [16/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Decode  )

Definition at line 667 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [17/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_Format  )

Definition at line 728 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [18/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_IsoTime2Num  )

Definition at line 336 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [19/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_LocalTimeFmt  )

Definition at line 354 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [20/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_Null  )

Definition at line 609 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [21/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_Num2GMTime  )

Definition at line 378 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [22/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_Num2Time  )

Definition at line 390 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [23/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
DISABLED_Parse  )

Definition at line 775 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [24/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Encode  )

Definition at line 702 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [25/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Eval  )

Definition at line 603 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [26/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
EventChangeSelection  )

Definition at line 1073 of file cfxjse_formcalc_context_embeddertest.cpp.

References CXFA_EventParam::CXFA_EventParam(), CFXJSE_Engine::EventParamScope::EventParamScope(), CFXJSE_Engine::EventParamScope, CXFA_EventParam::m_iSelEnd, CXFA_EventParam::m_iSelStart, and XFA_EVENT_Unknown.

Here is the call graph for this function:

◆ TEST_F() [27/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Exists  )

Definition at line 571 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [28/80]

◆ TEST_F() [29/80]

◆ TEST_F() [30/80]

◆ TEST_F() [31/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
GetXFAEventChange  )

Definition at line 1034 of file cfxjse_formcalc_context_embeddertest.cpp.

References CXFA_EventParam::CXFA_EventParam(), CFXJSE_Engine::EventParamScope::EventParamScope(), CFXJSE_Engine::EventParamScope, and XFA_EVENT_Unknown.

Here is the call graph for this function:

◆ TEST_F() [32/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
HasValue  )

Definition at line 576 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [33/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
InvalidFunctions  )

Definition at line 1018 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [34/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
IPmt  )

Definition at line 490 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [35/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
IsoDate2Num  )

Definition at line 325 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [36/80]

◆ TEST_F() [37/80]

Definition at line 742 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [38/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
LocalDateFmt  )

Definition at line 342 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [39/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Lower  )

Definition at line 750 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [40/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Ltrim  )

Definition at line 768 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [41/80]

Definition at line 235 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [42/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
MethodCall  )

Definition at line 1027 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [43/80]

Definition at line 243 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [44/80]

Definition at line 255 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [45/80]

Definition at line 498 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [46/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Num2Date  )

Definition at line 363 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [47/80]

◆ TEST_F() [48/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Oneof  )

Definition at line 583 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [49/80]

Definition at line 506 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [50/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Post  )

Definition at line 1006 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [51/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
PPmt  )

Definition at line 520 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [52/80]

◆ TEST_F() [53/80]

◆ TEST_F() [54/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Rate  )

Definition at line 541 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [55/80]

Definition at line 617 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [56/80]

◆ TEST_F() [57/80]

◆ TEST_F() [58/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Round  )

Definition at line 266 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [59/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Rtrim  )

Definition at line 799 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [60/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
SetXFAEventChange  )

Definition at line 1047 of file cfxjse_formcalc_context_embeddertest.cpp.

References CXFA_EventParam::CXFA_EventParam(), CFXJSE_Engine::EventParamScope::EventParamScope(), CFXJSE_Engine::EventParamScope, and XFA_EVENT_Unknown.

Here is the call graph for this function:

◆ TEST_F() [61/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
SetXFAEventFullTextFails  )

Definition at line 1059 of file cfxjse_formcalc_context_embeddertest.cpp.

References CXFA_EventParam::CXFA_EventParam(), CFXJSE_Engine::EventParamScope::EventParamScope(), CFXJSE_Engine::EventParamScope, and XFA_EVENT_Unknown.

Here is the call graph for this function:

◆ TEST_F() [62/80]

◆ TEST_F() [63/80]

Definition at line 820 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [64/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Strings  )

Definition at line 157 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [65/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Stuff  )

Definition at line 840 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [66/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Substr  )

Definition at line 880 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [67/80]

Definition at line 275 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [68/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Term  )

Definition at line 550 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [69/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Time2Num  )

Definition at line 410 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [70/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Time2NumWithTZ  )

Definition at line 424 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [71/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
TimeFmt  )

Definition at line 447 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [72/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
TranslateEmpty  )

Definition at line 109 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [73/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
TranslateNumber  )

Definition at line 118 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [74/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
UnitType  )

Definition at line 624 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [75/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
UnitValue  )

Definition at line 635 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [76/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Upper  )

Definition at line 928 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [77/80]

Definition at line 914 of file cfxjse_formcalc_context_embeddertest.cpp.

References FXSYS_IsHexDigit().

Here is the call graph for this function:

◆ TEST_F() [78/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
Within  )

Definition at line 595 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [79/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
WordNum  )

Definition at line 936 of file cfxjse_formcalc_context_embeddertest.cpp.

◆ TEST_F() [80/80]

TEST_F ( CFXJSEFormCalcContextEmbedderTest ,
XFAEventCancelAction  )

Definition at line 1127 of file cfxjse_formcalc_context_embeddertest.cpp.

References CXFA_EventParam::CXFA_EventParam(), CFXJSE_Engine::EventParamScope::EventParamScope(), CFXJSE_Engine::EventParamScope, CXFA_EventParam::m_bCancelAction, and XFA_EVENT_Unknown.

Here is the call graph for this function: