A TestFailure collects a failed test together with the caught exception.
@package PHPUnit @subpackage Framework @author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link http://www.phpunit.de/ @since Class available since Release 2.0.0
Expanded class hierarchy of PHPUnit_Framework_TestFailure
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PHPUnit_Framework_TestFailure:: |
protected | property | ||
PHPUnit_Framework_TestFailure:: |
protected | property | ||
PHPUnit_Framework_TestFailure:: |
public | function | Returns the exception's message. | |
PHPUnit_Framework_TestFailure:: |
public static | function | Returns a description for an exception. | |
PHPUnit_Framework_TestFailure:: |
public | function | Gets the failed test. | |
PHPUnit_Framework_TestFailure:: |
public | function | Returns a description for the thrown exception. | |
PHPUnit_Framework_TestFailure:: |
public | function | Returns TRUE if the thrown exception is of type AssertionFailedError. | |
PHPUnit_Framework_TestFailure:: |
public | function | Gets the thrown exception. | |
PHPUnit_Framework_TestFailure:: |
public | function | Returns a short description of the failure. | |
PHPUnit_Framework_TestFailure:: |
public | function | Constructs a TestFailure with the given test and exception. |