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