Package | org.flexunit.runner |
Class | public class Result |
Inheritance | Result ![]() |
Result
collects and summarizes information from running multiple
tests. Since tests are expected to run correctly, successful tests are only noted in
the count of tests that ran.
Property | Defined By | ||
---|---|---|---|
failureCount : int [read-only]
Returns the number of tests that failed over the course of the run. | Result | ||
failures : Array [read-only]
Returns the Failures describing tests that failed and the problems they encountered. | Result | ||
ignoreCount : int [read-only]
Returns the number of tests ignored over the course of the run. | Result | ||
runCount : int [read-only]
Returns the number of tests that have run. | Result | ||
runTime : Number [read-only]
Returns the number of milliseconds it took to run the entire set of tests. | Result | ||
successful : Boolean [read-only]
Returns a Boolean value of true if all tests succeeded. | Result |
Method | Defined By | ||
---|---|---|---|
Result()
Constructor. | Result | ||
Internal use only. | Result |
_ignoreCount | property |
classInternal var _ignoreCount:int = 0
The number of tests ignored.
_runCount | property |
classInternal var _runCount:int = 0
The number of tests run.
_runTime | property |
classInternal var _runTime:Number = 0
The number of milliseconds it took to run the entire set of tests.
_startTime | property |
classInternal var _startTime:Number
The time when the test run started.
failureCount | property |
failureCount:int
[read-only] Returns the number of tests that failed over the course of the run.
public function get failureCount():int
failures | property |
failures:Array
[read-only]
Returns the Failure
s describing tests that failed and the problems they encountered.
public function get failures():Array
ignoreCount | property |
ignoreCount:int
[read-only] Returns the number of tests ignored over the course of the run.
public function get ignoreCount():int
runCount | property |
runCount:int
[read-only] Returns the number of tests that have run.
public function get runCount():int
runTime | property |
runTime:Number
[read-only] Returns the number of milliseconds it took to run the entire set of tests.
public function get runTime():Number
successful | property |
successful:Boolean
[read-only]
Returns a Boolean value of true
if all tests succeeded.
public function get successful():Boolean
Result | () | Constructor |
public function Result()
Constructor.
createListener | () | method |