SysTest::hasMethod Method [AX 2012]

Checks whether the test case has a test method.

Syntax

client server public static boolean hasMethod(Object _object, IdentifierName _methodName)

Run On

Called

Parameters

  • _object
    Type: Object Class
    The test case in which to test.

Return Value

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

See Also

SysTest Class

SysTestCase Class

SysTestSuite Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework