SysTestAssert::assert Method [AX 2012]
For internal use.
Syntax
client server public static boolean assert(boolean _assertion, [SysTestLogMessage _logMessage])
Run On
Called
Parameters
- _assertion
Type: boolean
A Boolean value indicating whether a test passed.
- _logMessage
Type: SysTestLogMessage Extended Data Type
A failure message; optional.
Return Value
Type: boolean
true if the test passed; otherwise, false.