SysTestSuite Class [AX 2012]

A test suite is a set of tests and suites.


class SysTestSuite implements SysTestExecutable

Run On



  Method Description
Gg966233.pubmethod(en-us,AX.60).gif add Adds a test case or a test suite to the suite.
Gg966233.pubmethod(en-us,AX.60).gif addAsSuite Wraps a test case inside a new suite and adds it to this suite.
Gg966233.pubmethod(en-us,AX.60).gif addTest Adds a test to the suite.
Gg966233.pubmethod(en-us,AX.60).gif addTestable Adds a test case to the suite.
Gg966233.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg966233.protmethod(en-us,AX.60).gif checkTTSLevelViolation
Gg966233.protmethod(en-us,AX.60).gif cleanupData
Gg966233.pubmethod(en-us,AX.60).gif createTestCompany Creates dedicated company accounts to be used for testing.
Gg966233.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg966233.protmethod(en-us,AX.60).gif firstTestable Finds the first SysTestable class inside the suite.
Gg966233.pubmethod(en-us,AX.60).gif getName Gets the name of the suite.
Gg966233.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg966233.privmethod(en-us,AX.60).gif internalRegister Registers the suite.
Gg966233.pubmethod(en-us,AX.60).gif internalRun Runs the suite.
Gg966233.protmethod(en-us,AX.60).gif internalRunExecutable Runs a SysTestExecutable class.
Gg966233.protmethod(en-us,AX.60).gif internalRunSuite Runs each test in the suite.
Gg966233.pubmethod(en-us,AX.60).gif new Initializes a new instance of the SysTestSuite class.
Gg966233.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif numberOfTests Counts the number of tests in the suite.
Gg966233.pubmethod(en-us,AX.60).gif numberOfValidTests Counts the number of valid tests in the suite.
Gg966233.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif parmFirstTestable Gets or sets the FirstTestable parameter.
Gg966233.pubmethod(en-us,AX.60).gif parmTests Gets or sets the Tests parameter.
Gg966233.pubmethod(en-us,AX.60).gif register Registers the test suite.
Gg966233.pubmethod(en-us,AX.60).gif run Runs the test suite.
Gg966233.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif setUp Sets up the suite.
Gg966233.pubmethod(en-us,AX.60).gif tearDown Tears down the suite.
Gg966233.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg966233.protmethod(en-us,AX.60).gif traceData
Gg966233.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg966233.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)



A test suite provides isolation levels for your test cases. You can override the createSuite method on the test case to specify the suite the test case should use.

Inheritance Hierarchy

Object Class
  SysTestSuite Class
    SysTestSuiteCompanyIsolateClass Class
    SysTestSuiteCompanyIsolateMethod Class
    SysTestSuiteNoCleanup Class
    SysTestSuiteTTS Class

See Also

SysTestCase Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework