PHP Class PHPUnit_Extensions_Database_Constraint_DataSetIsEqual, qcodo

Author: Mike Lively ([email protected])
Inheritance: extends PHPUnit_Framework_Constraint
Afficher le fichier Open project: qcodo/qcodo

Protected Properties

Свойство Type Description
$failure_reason string
$value PHPUnit_Extensions_Database_DataSet_IDataSet

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
customFailureDescription ( $other, $description, $not )

Method Details

__construct() public méthode

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

customFailureDescription() protected méthode

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

evaluate() public méthode

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
Résultat boolean

toString() public méthode

Returns a string representation of the constraint.
public toString ( ) : string
Résultat string

Property Details

$failure_reason protected_oe property

protected string $failure_reason
Résultat string

$value protected_oe property

protected PHPUnit_Extensions_Database_DataSet_IDataSet $value
Résultat PHPUnit_Extensions_Database_DataSet_IDataSet