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

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

Открытые свойства

Свойство Тип Описание
$callCount

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

Метод Описание
baselineExample ( $revs )
setUp ( )
testCallable ( ) It should measure the mean time taken to execute a callable.
testCallableNotCallable ( ) It should throw an exception if the callable is not callable (string).
testCallableNotCallableObject ( ) It should throw an exception if the callable is not callable (object).
testRegisterTwice ( ) It should throw an exception if a baseline callable name already exists.

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

baselineExample() публичный статический Метод

public static baselineExample ( $revs )

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

public setUp ( )

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

@\PhpBench\Benchmark\Metadata\Annotations\Subject() @\PhpBench\Benchmark\Metadata\Annotations\Iterations(100)
public testCallable ( )

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

It should throw an exception if the callable is not callable (string).

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

It should throw an exception if the callable is not callable (object).

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

It should throw an exception if a baseline callable name already exists.
public testRegisterTwice ( )

Описание свойств

$callCount публичное статическое свойство

public static $callCount