Assert_WString_NotEqual (FUN) ¶ FUNCTION Assert_WString_NotEqual : BOOL Assertion function to check unequality of two values of type WSTRING InOut: Scope Name Type Initial Comment Return Assert_WString_NotEqual BOOL TRUE if the assertion passes succesfully, FALSE otherwise Input context IBaseIecUnitTest The instance of the test function block calling this function. This instance can be provided by using THIS^ . referenceValue WSTRING The reference value actualValue WSTRING The value to check wsErrorMsg WSTRING(Constants.WSTRING_LENGTH) “” A custom error message, that is added to the error message of the assertion itself. If this parameter is used, it is recommended to adapt the value of the library parameter Constants.WSTRING_LENGTH .
Constants (PARAMS) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant MAX_INFO_LENGTH INT 255 MAX_STRING_LENGTH INT 255 WSTRING_LENGTH INT 255
Enums ¶ ASSERTION_RESULT (Enum) BOOLASSIGN (Enum) BOOLCOMPARE (Enum) CHECKTYPE (Enum) FAILUREMODE (Enum)
ASSERTION_RESULT (ENUM) ¶ TYPE ASSERTION_RESULT : Attributes: qualified_only InOut: Name Initial OK 0 ASSERTION_FAILED 1
BOOLASSIGN (ENUM) ¶ TYPE BOOLASSIGN : This enum defines the possible boolean assignment values in a test manager check. Attributes: qualified_only InOut: Name Initial Comment SKIP 1 We don’t set the value during this round. We intentionally start the enum values with 1 to catch uninitialized variables. SETTRUE The value is set to true SETFALSE The value is set to false TOGGLE The value is negated.
BaseMultiTest.prvDone (METH) ¶ METHOD PROTECTED prvDone
BaseMultiTest.prvError (METH) ¶ METHOD PROTECTED prvError
BaseMultiTest.prvResetOutputs (METH) ¶ METHOD prvResetOutputs : BOOL InOut: Scope Name Type Return prvResetOutputs BOOL
PrintfOne (FB) ¶ FUNCTION_BLOCK PrintfOne Properties: Text Methods: FB_Init Print SetText Structure: FB_Init (Method) Print (Method) SetText (Method) Text (Property)
PrintfOne.FB_Init (METH) ¶ METHOD FB_Init InOut: Scope Name Type Input bInitRetains BOOL bInCopyCode BOOL