\PHPUnit_Framework_Constraint_Composite

  • Author: Bernhard Schussek <bschussek@2bepublished.at>
  • Copyright: 2001-2014 Sebastian Bergmann <sebastian@phpunit.de>
  • License: http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License

Synopsis

class PHPUnit_Framework_Constraint_Composite extends PHPUnit_Framework_Constraint {
  • // Inherited members from PHPUnit_Framework_Constraint
  • protected $exporter;
}

Hierarchy

Violations

Checkstyle

Line Column Severity Message
86 123 warning Line exceeds 120 characters; contains 122 characters

Members

protected

Methods

public

Inherited from PHPUnit_Framework_Constraint

protected

  • additionalFailureDescription() — Return additional failure description where needed
  • fail() — Throws an exception for the given compared value and test description
  • failureDescription() — Returns the description of the failure
  • matches() — Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

public

  • count() — Counts the number of constraint elements.
  • evaluate() — Evaluates the constraint for parameter $other

History