| Package | asunit.framework |
| Class | public class TestFailure |
TestFailure collects a failed test together with
the caught exception.
See also
| Property | Defined by | ||
|---|---|---|---|
| fFailedTest : Test | TestFailure | ||
| fFailedTestMethod : String | TestFailure | ||
| fThrownException : Error | TestFailure | ||
| Method | Defined by | ||
|---|---|---|---|
|
TestFailure(failedTest:Test, thrownException:Error)
Constructs a TestFailure with the given test and exception.
| TestFailure | ||
|
exceptionMessage():String
| TestFailure | ||
|
failedFeature():String
| TestFailure | ||
|
failedMethod():String
| TestFailure | ||
|
Gets the failed test case.
| TestFailure | ||
|
isFailure():Boolean
| TestFailure | ||
|
thrownException():Error
Gets the thrown exception.
| TestFailure | ||
|
toString():String
Returns a short description of the failure.
| TestFailure | ||
| fFailedTest | property |
protected var fFailedTest:Test
| fFailedTestMethod | property |
protected var fFailedTestMethod:String
| fThrownException | property |
protected var fThrownException:Error
| TestFailure | () | constructor |
public function TestFailure(failedTest:Test, thrownException:Error)Constructs a TestFailure with the given test and exception.
ParametersfailedTest:Test |
|
thrownException:Error |
| exceptionMessage | () | method |
public function exceptionMessage():String
Returns
String |
| failedFeature | () | method |
public function failedFeature():String
Returns
String |
| failedMethod | () | method |
public function failedMethod():String
Returns
String |
| failedTest | () | method |
| isFailure | () | method |
public function isFailure():Boolean
Returns
Boolean |
| thrownException | () | method |
public function thrownException():ErrorGets the thrown exception.
ReturnsError |
| toString | () | method |
public function toString():StringReturns a short description of the failure.
ReturnsString |