PHP 트레잇 Eris\TestTrait

파일 보기 프로젝트 열기: giorgiosironi/eris

보호된 프로퍼티들

프로퍼티 타입 설명
$seed
$shrinkingTimeLimit

공개 메소드들

메소드 설명
erisSetup ( )
erisSetupBeforeClass ( )
erisTeardown ( )

보호된 메소드들

메소드 설명
forAll ( ) : ForAll forAll($generator1, $generator2, .
limitTo ( $limit ) : self
minimumEvaluationRatio ( $ratio ) : self
sample ( eris\Generator $generator, $times = 10 ) : Sample
sampleShrink ( eris\Generator $generator, $fromValue = null ) : Sample
shrinkingTimeLimit ( $shrinkingTimeLimit ) : self The maximum time to spend trying to shrink the input after a failed test.
withRand ( $randFunction ) : self

비공개 메소드들

메소드 설명
dumpSeedForReproducing ( ) Maybe: we could add --filter options to the command here, since now the original command is printed.
filterOutListenersOfClass ( $className )
seedingRandomNumberGeneration ( )

메소드 상세

erisSetup() 공개 메소드

public erisSetup ( )

erisSetupBeforeClass() 공개 정적인 메소드

public static erisSetupBeforeClass ( )

erisTeardown() 공개 메소드

public erisTeardown ( )

forAll() 보호된 메소드

..)
protected forAll ( ) : ForAll
리턴 Eris\Quantifier\ForAll

limitTo() 보호된 메소드

protected limitTo ( $limit ) : self
리턴 self

minimumEvaluationRatio() 보호된 메소드

protected minimumEvaluationRatio ( $ratio ) : self
리턴 self

sample() 보호된 메소드

protected sample ( eris\Generator $generator, $times = 10 ) : Sample
$generator eris\Generator
리턴 Sample

sampleShrink() 보호된 메소드

protected sampleShrink ( eris\Generator $generator, $fromValue = null ) : Sample
$generator eris\Generator
리턴 Sample

shrinkingTimeLimit() 보호된 메소드

The default is no limit.
protected shrinkingTimeLimit ( $shrinkingTimeLimit ) : self
리턴 self

withRand() 보호된 메소드

protected withRand ( $randFunction ) : self
리턴 self

프로퍼티 상세

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

protected $seed

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

protected $shrinkingTimeLimit