Testcase.HasError (METH) ¶ METHOD HasError : BOOL InOut: Scope Name Type Return HasError BOOL
Functions ¶ AssignBool (Function) BoolCompareToPWS (Function) CreateAssertionErrorMessageForArrayContent (Function) CreateAssertionErrorMessageForInterface (Function) CreateAssertionErrorMessageForStandardDatatype (Function) CreateAssertionErrorMessageForStandardDatatypeSingleValue (Function) CreateAssertionErrorMessageNonEqualArrayBounds (Function)
AssignBool (FUN) ¶ FUNCTION AssignBool : BOOL The function helps to set a boolean variable by using the enumaration BOOLASSIGN InOut: Scope Name Type Return AssignBool BOOL Input pValue POINTER TO BOOL eAssign BOOLASSIGN
BoolCompareToPWS (FUN) ¶ FUNCTION BoolCompareToPWS : POINTER TO WSTRING InOut: Scope Name Type Return BoolCompareToPWS POINTER TO WSTRING Input eCompareValue BOOLCOMPARE
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 28.09.2023, 12:04:38 companyName string 3S-Smart Software Solutions GmbH libraryFile Test Manager IEC Unit Test.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile Test Manager IEC Unit Test.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 28.09.2023, 12:04:33 LibraryCategories library-category-list Intern|TestManager Author string 3S - Smart Software Solutions GmbH Company Intern CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 Patch 3 DefaultNamespace TM Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder TestManager Project Test Manager IEC Unit Test Title Test Manager IEC Unit Test Version version 5.1.0.0
Assert_ArrayOfLReal_Contains (FUN) ¶ FUNCTION Assert_ArrayOfLReal_Contains : BOOL Assertion function to check that an ARRAY OF LREAL contains a specific value InOut: Scope Name Type Initial Comment Return Assert_ArrayOfLReal_Contains 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 LREAL The value that should be contained actualArray POINTER TO LREAL The array to check precision LREAL 0.0 A value to specify an allowed deviation. Default is 0.0 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 .
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Behaviour Model ¶ Library Identification ¶ Placeholder: CAA Behaviour Model Default Resolution: CAA Behaviour Model, * (CAA Technical Workgroup) Namespace: CBM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Behaviour Model Element Collections ¶ Library Identification ¶ Placeholder: ElementCollections Default Resolution: Element Collections, * (3S - Smart Software Solutions GmbH) Namespace: COL Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: ElementCollections Standard64 ¶ Library Identification ¶ Placeholder: Standard64 Default Resolution: Standard64, * (System) Namespace: Standard64 Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard64 StringUtils ¶ Library Identification ¶ Placeholder: StringUtils Default Resolution: StringUtils, * (System) Namespace: Stu Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: StringUtils
Assert_ArrayOfLReal_ContainsAllOf (FUN) ¶ FUNCTION Assert_ArrayOfLReal_ContainsAllOf : BOOL Assertion function to check that an ARRAY OF LREAL contains all specified values. Important: only unique values are checked, the quantity of values is not considered. InOut: Scope Name Type Initial Comment Return Assert_ArrayOfLReal_ContainsAllOf 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^ . referenceValues POINTER TO LREAL An array with all values that should be contained. actualArray POINTER TO LREAL The array to check precision LREAL 0.0 A value to specify an allowed deviation. Default is 0.0 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 .
Assert_ArrayOfLReal_ContainsNot (FUN) ¶ FUNCTION Assert_ArrayOfLReal_ContainsNot : BOOL Assertion function to check that an ARRAY OF LREAL does not contain a specific value InOut: Scope Name Type Initial Comment Return Assert_ArrayOfLReal_ContainsNot 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 LREAL The value that should not be contained actualArray POINTER TO LREAL The array to check precision LREAL 0.0 A value to specify an allowed deviation. Default is 0.0 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 .
Assert_ArrayOfLReal_ContainsNoneOf (FUN) ¶ FUNCTION Assert_ArrayOfLReal_ContainsNoneOf : BOOL Assertion function to check that an ARRAY OF LREAL contains none of the specified values. InOut: Scope Name Type Initial Comment Return Assert_ArrayOfLReal_ContainsNoneOf 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^ . referenceValues POINTER TO LREAL An array with all values that should not be contained. actualArray POINTER TO LREAL The array to check precision LREAL 0.0 A value to specify an allowed deviation. Default is 0.0 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 .