PHP Класс PhpBench\Tests\Unit\Benchmark\RunnerContextTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

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

Метод Описание
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.