SysTestResult Class [AX 2012]
The SysTestResult class collects results from all tests that have been executed.
| Method | Description | |
|---|---|---|
| addFailure | Adds a failure to all listeners. |
| addInformation | Adds an informational message to all listeners. |
| addListener | Registers a listener that implements the SysTestListener interface. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| close | Closes all listeners. |
| endSuite | Signals that the given suite is complete. |
| endTest | Signals that the given test is complete. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getFailureCount | Returns the number of detected failures. |
| getLastErrorFromInfolog | |
| getListeners | Returns a list of all registered listeners. |
| getMessages | Returns a list of all messages (failures and information). |
| getRunCount | Returns the number of tests run. |
| getSuccessResult | For internal use only. |
| getSummary | Returns a short summary about test cases. |
| getTickCount | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the SysTestResult 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.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| open | Opens all listeners. |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCodeCoverageEnabled | Gets or sets the CodeCoverageEnabled parameter. |
| parmFilterStrategy | Gets or sets the FilterStrategy parameter. |
| parmFilterStrategyServer | Gets or sets the FilterStrategyServer parameter. |
| parmRecordCount | Gets or sets the RecordCount parameter. |
| parmRecordCountEnabled | Gets or sets the RecordCountEnabled parameter. |
| parmStopWhenFailed | Gets or sets the StopWhenFailed parameter. |
| parmSuiteRecordCount | Gets or sets the SuiteRecordCount parameter. |
| preEndTest | For internal use. |
| preStartSuite | For internal use. |
| registerEndSuite | Registers the end of the suite. |
| registerStartSuite | Registers the start of the suite. |
| registerTest | Register the tests. |
| removeListener | Unregisters a listener. |
| reportUnexpectedFailure | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| startSuite | Signals that the given suite is about to be started. |
| startTest | Signals that the given test is about to be started. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| 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.) |
| ::construct | Initializes a new instance of the SysTestResult class. |
Community Additions
ADD
Show: