CreateAssertionErrorMessageForArrayContent (FUN)¶
FUNCTION CreateAssertionErrorMessageForArrayContent : WSTRING(Constants.WSTRING_LENGTH)
wsErrorMsg
is used, it is recommended to change the value of the library parameter Constants.WSTRING_LENGTH
.- InOut:
Scope
Name
Type
Comment
Return
CreateAssertionErrorMessageForArrayContent
WSTRING(Constants.WSTRING_LENGTH)
a
WSTRING
similar to “Assertion failed: ‘<wsActualValue>’ <wsAssertOperator ‘<wsReferenceValue>’. [Additional information: <wsErrorMsg>]”Input
wsAssertOperator
WSTRING(Constants.WSTRING_LENGTH)
The assert operator e.g. “=” or “CONTAINS SEQUENCE”
wsErrorMsg
WSTRING(Constants.WSTRING_LENGTH)
A custom error message that should be appended. If no message is provided the “Additional information” part will not be added to the returned error.
wsActualValues
WSTRING(Constants.WSTRING_LENGTH)
The values of the actual array as
WSTRING
wsReferenceValues
WSTRING(Constants.WSTRING_LENGTH)
The values of the actual array as
WSTRING