PHP Класс PHPUnit_Framework_Constraint_StringMatches, qcodo

...
Автор: Sebastian Bergmann ([email protected])
Наследование: extends PHPUnit_Framework_Constraint_PCREMatch
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$string string

Открытые методы

Метод Описание
__construct ( string $string )
fail ( mixed $other, string $description, boolean $not = FALSE ) Creates the appropriate exception for the constraint which can be caught by the unit test system. This can be called if a call to evaluate() fails.

Описание методов

__construct() публичный Метод

public __construct ( string $string )
$string string

fail() публичный Метод

Creates the appropriate exception for the constraint which can be caught by the unit test system. This can be called if a call to evaluate() fails.
public fail ( mixed $other, string $description, boolean $not = FALSE )
$other mixed The value passed to evaluate() which failed the constraint check.
$description string A string with extra description of what was going on while the evaluation failed.
$not boolean Flag to indicate negation.

Описание свойств

$string защищенное свойство

protected string $string
Результат string