BlueSpice MediaWiki master
|
Public Member Functions | |
toString () | |
![]() | |
evaluate ($other, $description= '', $returnResult=false) | |
count () | |
Protected Member Functions | |
matches ($other) | |
failureDescription ($other) | |
![]() | |
matches ($other) | |
fail ($other, $description, SebastianBergmann\Comparator\ComparisonFailure $comparisonFailure=null) | |
additionalFailureDescription ($other) | |
failureDescription ($other) | |
Additional Inherited Members | |
![]() | |
$exporter | |
Constraint that checks if the file(name) that it is evaluated for exists.
The file path to check is passed as $other in evaluate().
|
protected |
Returns the description of the failure
The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.
mixed | $other | Evaluated value or object. |
|
protected |
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
mixed | $other | Value or object to evaluate. |
PHPUnit_Framework_Constraint_FileExists::toString | ( | ) |
Returns a string representation of the constraint.
Implements PHPUnit_Framework_SelfDescribing.