Свойство | Тип | Описание | |
---|---|---|---|
$failedTest | PHPUnit_Framework_Test | null | ||
$thrownException | Exception |
Метод | Описание | |
---|---|---|
__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. |
public __construct ( PHPUnit_Framework_Test $failedTest, Exception $thrownException ) | ||
$failedTest | PHPUnit_Framework_Test | |
$thrownException | Exception |
public exceptionMessage ( ) : string | ||
Результат | string |
public static exceptionToString ( Exception $e ) : string | ||
$e | Exception | |
Результат | string |
public failedTest ( ) : PHPUnit_Framework_Test | null | ||
Результат | PHPUnit_Framework_Test | null |
public getExceptionAsString ( ) : string | ||
Результат | string |
public getTestName ( ) : string | ||
Результат | string |
public thrownException ( ) : Exception | ||
Результат | Exception |
protected PHPUnit_Framework_Test|null $failedTest | ||
Результат | PHPUnit_Framework_Test | null |