PHP Класс PhpBench\Tests\Unit\Benchmark\Executor\MicrotimeExecutorTest

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

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

Метод Описание
setUp ( )
tearDown ( )
testExecute ( ) It should create a script which benchmarks the code and returns the time taken and the memory used.
testExecuteAfter ( ) It should execute methods after the benchmark subject.
testExecuteBefore ( ) It should execute methods before the benchmark subject.
testExecuteMethods ( ) It should execute arbitrary methods on the benchmark class.
testParameters ( ) It should pass parameters to the benchmark method.
testParametersBeforeSubject ( ) It should pass parameters to the before metadata and after metadata methods.
testRepressOutput ( ) It should prevent output from the benchmarking class.

Приватные методы

Метод Описание
removeTemporaryFiles ( )

Описание методов

setUp() публичный Метод

public setUp ( )

tearDown() публичный Метод

public tearDown ( )

testExecute() публичный Метод

It should create a script which benchmarks the code and returns the time taken and the memory used.
public testExecute ( )

testExecuteAfter() публичный Метод

It should execute methods after the benchmark subject.
public testExecuteAfter ( )

testExecuteBefore() публичный Метод

It should execute methods before the benchmark subject.
public testExecuteBefore ( )

testExecuteMethods() публичный Метод

It should execute arbitrary methods on the benchmark class.
public testExecuteMethods ( )

testParameters() публичный Метод

It should pass parameters to the benchmark method.
public testParameters ( )

testParametersBeforeSubject() публичный Метод

It should pass parameters to the before metadata and after metadata methods.

testRepressOutput() публичный Метод

It should prevent output from the benchmarking class.
public testRepressOutput ( )