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.

Return Value

Type: boolean
true if the test passed; otherwise, false.

See Also

SysTestAssert Class

SysTestCase Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework