SysTestResult Class [AX 2012]

The SysTestResult class collects results from all tests that have been executed.

Syntax

class SysTestResult

Run On

Called

Methods

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

Top

Inheritance Hierarchy

Object Class
  SysTestResult Class

See Also

SysTestCase Class

SysTestSuite Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework