Method |
Description |
|
__construct ( PHPUnit_Framework_Test $failedTest, Exception $thrownException ) |
Constructs a TestFailure with the given test and exception. |
|
exceptionMessage ( ) : string |
Returns the exception's message. |
|
exceptionToString ( Exception $e ) : string |
Returns a description for an exception. |
|
failedTest ( ) : PHPUnit_Framework_Test | null |
Returns the failing test. |
|
getExceptionAsString ( ) : string |
Returns a description for the thrown exception. |
|
getTestName ( ) : string |
Returns the name of the failing test (including data set, if any). |
|
isFailure ( ) : boolean |
Returns true if the thrown exception
is of type AssertionFailedError. |
|
thrownException ( ) : Exception |
Gets the thrown exception. |
|
toString ( ) : string |
Returns a short description of the failure. |
|