protected function PHPUnit_Framework_Constraint::matches

Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.

This method can be overridden to implement the evaluation algorithm.

Parameters

mixed $other Value or object to evaluate.:

Return value

bool

1 call to PHPUnit_Framework_Constraint::matches()
PHPUnit_Framework_Constraint::evaluate in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint.php
Evaluates the constraint for parameter $other
23 methods override PHPUnit_Framework_Constraint::matches()
PHPUnit_Framework_Constraint_ArrayHasKey::matches in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/ArrayHasKey.php
Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
PHPUnit_Framework_Constraint_Callback::matches in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/Callback.php
Evaluates the constraint for parameter $value. Returns TRUE if the constraint is met, FALSE otherwise.
PHPUnit_Framework_Constraint_ClassHasAttribute::matches in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/ClassHasAttribute.php
Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
PHPUnit_Framework_Constraint_Count::matches in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/Count.php
Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
PHPUnit_Framework_Constraint_Exception::matches in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/Exception.php
Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.

... See full list

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint.php, line 104

Class

PHPUnit_Framework_Constraint
Abstract base class for constraints. which are placed upon any value.

Code

protected function matches($other) {
  return FALSE;
}