PHP Class PHPUnit_Extensions_Database_Constraint_DataSetIsEqual, qcodo

Author: Mike Lively ([email protected])
Inheritance: extends PHPUnit_Framework_Constraint
Show file Open project: qcodo/qcodo

Protected Properties

Property Type Description
$failure_reason string
$value PHPUnit_Extensions_Database_DataSet_IDataSet

Public Methods

Method Description
__construct ( PHPUnit_Extensions_Database_DataSet_IDataSet $value ) Creates a new constraint.
evaluate ( PHPUnit_Extensions_Database_DataSet_IDataSet $other ) : boolean Determines whether or not the given dataset matches the dataset used to create this constraint.
toString ( ) : string Returns a string representation of the constraint.

Protected Methods

Method Description
customFailureDescription ( $other, $description, $not )

Method Details

__construct() public method

Creates a new constraint.
public __construct ( PHPUnit_Extensions_Database_DataSet_IDataSet $value )
$value PHPUnit_Extensions_Database_DataSet_IDataSet

customFailureDescription() protected method

protected customFailureDescription ( $other, $description, $not )

evaluate() public method

Determines whether or not the given dataset matches the dataset used to create this constraint.
public evaluate ( PHPUnit_Extensions_Database_DataSet_IDataSet $other ) : boolean
$other PHPUnit_Extensions_Database_DataSet_IDataSet
return boolean

toString() public method

Returns a string representation of the constraint.
public toString ( ) : string
return string

Property Details

$failure_reason protected property

protected string $failure_reason
return string

$value protected property

protected PHPUnit_Extensions_Database_DataSet_IDataSet $value
return PHPUnit_Extensions_Database_DataSet_IDataSet