flexunit.framework

Class TestFailure




public class TestFailure

A TestFailure collects a failed test together with the caught Error. see TestResult




Constructor Summary
TestFailure(test:Test, error:Error)


Method Summary
exceptionMessage() : String
failedTest() : Test
isFailure() : Boolean                                        
thrownException() : Error
toString() : String                                        


Constructor Detail

TestFailure Constructor

public function TestFailure(test:Test, error:Error)

Parameters
test:Test
error:Error


Method Detail

exceptionMessage Method

public function exceptionMessage() : String

Returns
String

failedTest Method

public function failedTest() : Test

Returns
Test

isFailure Method

public function isFailure() : Boolean

Returns
Boolean

thrownException Method

public function thrownException() : Error

Returns
Error

toString Method

public function toString() : String

Returns
String