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

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

공개 프로퍼티들

프로퍼티 타입 설명
$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