PHP Class PHPUnit_Framework_ExpectationFailedException, qcodo
The exception contains the error message and optionally a
PHPUnit_Framework_ComparisonFailure which is used to
generate diff output of the failed expectations.
Mostra file
Open project: qcodo/qcodo
Class Usage Examples
Protected Properties
Public Methods
Method Details
__construct()
public method
public __construct ( $description, PHPUnit_Framework_ComparisonFailure $comparisonFailure = NULL, $message = '' ) |
$comparisonFailure |
PHPUnit_Framework_ComparisonFailure |
|
getComparisonFailure()
public method
public getComparisonFailure ( ) : PHPUnit_Framework_ComparisonFailure |
return |
PHPUnit_Framework_ComparisonFailure |
|
getCustomMessage()
public method
getDescription()
public method
setCustomMessage()
public method
Property Details
$comparisonFailure protected_oe property
protected PHPUnit_Framework_ComparisonFailure $comparisonFailure |
return |
PHPUnit_Framework_ComparisonFailure |
|
$customMessage protected_oe property
protected string $customMessage |
return |
string |
|
$description protected_oe property
protected string $description |
return |
string |
|