PHP 클래스 PhpBench\Tests\Unit\Benchmark\RunnerContextTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
testDefaults ( ) Default should be used if no explict value set in the context.
testGetParameterSets ( ) The overridden parameter sets should be nested in an array of an array.
testGetters ( ) It should throw an exception if iterations is not numeric.
testIterationsNotNumeric ( ) It should throw an exception if the iterations is not numeric.
testNullPath ( ) It should throw an exception if the path is null.
testOverride ( ) Defaults should be ignored if explicit values are set in the context.
testRetryLessThanZetro ( ) It should throw an exception if the retry threshold is less than zero.
testRetryNotNumeric ( ) It should throw an exception if the retry threshold is not numeric.
testRevolutionsNotNumeric ( ) It should throw an exception if the revolutions are not numeric.
testUnknownOptions ( ) It should throw an exception if unrecognized options are given.
testWarmupNotNumeric ( ) It should throw an exception if the warmup is not numeric.

메소드 상세

testDefaults() 공개 메소드

Default should be used if no explict value set in the context.
public testDefaults ( )

testGetParameterSets() 공개 메소드

The overridden parameter sets should be nested in an array of an array.

testGetters() 공개 메소드

It should throw an exception if iterations is not numeric.
public testGetters ( )

testIterationsNotNumeric() 공개 메소드

It should throw an exception if the iterations is not numeric.

testNullPath() 공개 메소드

It should throw an exception if the path is null.
public testNullPath ( )

testOverride() 공개 메소드

Defaults should be ignored if explicit values are set in the context.
public testOverride ( )

testRetryLessThanZetro() 공개 메소드

It should throw an exception if the retry threshold is less than zero.

testRetryNotNumeric() 공개 메소드

It should throw an exception if the retry threshold is not numeric.
public testRetryNotNumeric ( )

testRevolutionsNotNumeric() 공개 메소드

It should throw an exception if the revolutions are not numeric.

testUnknownOptions() 공개 메소드

It should throw an exception if unrecognized options are given.
public testUnknownOptions ( )

testWarmupNotNumeric() 공개 메소드

It should throw an exception if the warmup is not numeric.