Strings (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant LEFT WSTRING “’ “ RIGHT WSTRING “ ‘” LEFT_DOT WSTRING “’.” DOT WSTRING “.” KOMMA_LEFT WSTRING “, “ TUPLE_END WSTRING “): ‘” ASSERTION_FAILED WSTRING “Assertion failed: ‘” ASSERTION_FAILED_VALUE_INDEX WSTRING “Assertion failed for value at index (” ASSERTION_FAILED_VALUE_MISMATCH_CONDITION WSTRING “Assertion failed: The given value(s) is/are not matching the condition ‘” ADDITIONAL_INFORMATION WSTRING “ Additional information: “ UNEQUAL WSTRING “<>” EQUAL WSTRING “=” GREATER_THEN WSTRING “>” LESS_THEN WSTRING “<” GREATER_EQUAL WSTRING “>=” LESS_EQUAL WSTRING “<=” CONTAINS WSTRING “CONTAINS” CONTAINS_NOT WSTRING “CONTAINS NOT” IS_FALSE WSTRING “IS FALSE” IS_TRUE WSTRING “IS TRUE” ENDS_WITH WSTRING “ENDS WITH” STARTS_WITH WSTRING “STARTS WITH” LOWER WSTRING “Lower” UPPER WSTRING “Upper”
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
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_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 .
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_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 .
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_ContainsOneOf (FUN) ¶ FUNCTION Assert_ArrayOfLReal_ContainsOneOf : BOOL Assertion function to check that an ARRAY OF LREAL contains at least one of the specified values. InOut: Scope Name Type Initial Comment Return Assert_ArrayOfLReal_ContainsOneOf 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 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 .
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.