CreateAssertionErrorMessageForArrayContent (FUN)¶
FUNCTION CreateAssertionErrorMessageForArrayContent
Helper function to create an error message for assertions that failed because of the content of an array.
Hint: for longer arrays or if
wsErrorMsg is used, it is recommended to change the value of the library parameter Constants.WSTRING_LENGTH.- InOut:
Scope
Name
Type
Comment
Inout
wsAssertErrorWSTRING(Constants.WSTRING_LENGTH)Inout Const
wsAssertOperatorWSTRING(Constants.WSTRING_LENGTH)The assert operator e.g. Strings.EQUAL or “CONTAINS SEQUENCE”
wsErrorMsgWSTRING(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.
wsActualValuesWSTRING(Constants.WSTRING_LENGTH)The values of the actual array as
WSTRINGwsReferenceValuesWSTRING(Constants.WSTRING_LENGTH)The values of the actual array as
WSTRING