Assert_String_StrCmpStartA (FUN) ¶ FUNCTION Assert_String_StrCmpStartA : BOOL Assertion function to check that a value of type STRING starts with the given string InOut: Scope Name Type Initial Comment Return Assert_String_StrCmpStartA 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^ . expectedPrefix STRING(Constants.MAX_STRING_LENGTH) The expected prefix actualValue STRING(Constants.MAX_STRING_LENGTH) 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 .
BaseMultiTest.SetErrorVars (METH) ¶ METHOD PUBLIC SetErrorVars InOut: Scope Name Type Input eError UT_ERROR wsError WSTRING(Constants.WSTRING_LENGTH) eFailureMode FAILUREMODE
BaseMultiTest.prvAbort (METH) ¶ METHOD prvAbort : BOOL InOut: Scope Name Type Return prvAbort BOOL
BaseMultiTest.prvDone (METH) ¶ METHOD PROTECTED prvDone
BaseMultiTest.prvError (METH) ¶ METHOD PROTECTED prvError
PrintfOne (FB) ¶ FUNCTION_BLOCK PrintfOne Properties: Text Methods: FB_Init Print SetText Structure: FB_Init (Method) Print (Method) SetText (Method) Text (Property)
BaseMultiTest.prvResetOutputs (METH) ¶ METHOD prvResetOutputs : BOOL InOut: Scope Name Type Return prvResetOutputs BOOL
PrintfOne.FB_Init (METH) ¶ METHOD FB_Init InOut: Scope Name Type Input bInitRetains BOOL bInCopyCode BOOL
PrintfOne.Print (METH) ¶ METHOD Print : WSTRING InOut: Scope Name Type Return Print WSTRING Input pValue POINTER TO BYTE typeClass __SYSTEM.TYPE_CLASS
PrintfOne.SetText (METH) ¶ METHOD SetText InOut: Scope Name Type Input sText STRING(Constants.WSTRING_LENGTH)