PHP 클래스 PHPUnit_Framework_Constraint_StringMatches, qcodo

...
저자: Sebastian Bergmann ([email protected])
상속: extends PHPUnit_Framework_Constraint_PCREMatch
파일 보기 프로젝트 열기: qcodo/qcodo

보호된 프로퍼티들

프로퍼티 타입 설명
$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