SysTestAssert.comparisonFail Method [AX 2012]

Converts two values to strings to provide a message when a comparison fails.

private void comparisonFail(
    anytype _expected, 
    anytype _actual, 
   [str _message])

Run On

Called

Parameters

_expected
Type: anytype
The expected value.
_actual
Type: anytype
The actual value.
_message
Type: str
An error message logged to the Infolog when the assertion test fails; optional.

This is a private method that is used when a comparison fails.

Community Additions

ADD
Show: