PHP 클래스 PHPUnit_Framework_Constraint_Exception, phpunit

상속: extends PHPUnit_Framework_Constraint
파일 보기 프로젝트 열기: sebastianbergmann/phpunit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$className string

공개 메소드들

메소드 설명
__construct ( string $className )
toString ( ) : string Returns a string representation of the constraint.

보호된 메소드들

메소드 설명
failureDescription ( mixed $other ) : string Returns the description of the failure
matches ( mixed $other ) : boolean Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

메소드 상세

__construct() 공개 메소드

public __construct ( string $className )
$className string

failureDescription() 보호된 메소드

The beginning of failure messages is "Failed asserting that" in most cases. This method should return the second part of that sentence.
protected failureDescription ( mixed $other ) : string
$other mixed Evaluated value or object.
리턴 string

matches() 보호된 메소드

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
protected matches ( mixed $other ) : boolean
$other mixed Value or object to evaluate.
리턴 boolean

toString() 공개 메소드

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

프로퍼티 상세

$className 보호되어 있는 프로퍼티

protected string $className
리턴 string