PHP 클래스 bandwidthThrottle\tokenBucket\storage\StorageTest

If you want to run vendor specific tests you should provide these environment variables: - MYSQL_DSN, MYSQL_USER - PGSQL_DSN, PGSQL_USER - MEMCACHE_HOST - REDIS_URI
또한 보기: Storage
저자: Markus Malkusch ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: bandwidth-throttle/token-bucket

공개 메소드들

메소드 설명
provideStorageFactories ( ) : callable[][] Provides uninitialized Storage implementations.
testBootstrap ( callable $storageFactory ) Tests isBootstrapped().
testIsBootstrapped ( callable $storageFactory ) Tests isBootstrapped().
testRemove ( callable $storageFactory ) Tests remove().
testSetAndGetMicrotime ( callable $storageFactory ) Tests setMicrotime() and getMicrotime().

보호된 메소드들

메소드 설명
tearDown ( )

메소드 상세

provideStorageFactories() 공개 메소드

Provides uninitialized Storage implementations.
public provideStorageFactories ( ) : callable[][]
리턴 callable[][] Storage factories.

tearDown() 보호된 메소드

protected tearDown ( )

testBootstrap() 공개 메소드

Tests isBootstrapped().
public testBootstrap ( callable $storageFactory )
$storageFactory callable Returns a storage.

testIsBootstrapped() 공개 메소드

Tests isBootstrapped().
public testIsBootstrapped ( callable $storageFactory )
$storageFactory callable Returns a storage.

testRemove() 공개 메소드

Tests remove().
public testRemove ( callable $storageFactory )
$storageFactory callable Returns a storage.

testSetAndGetMicrotime() 공개 메소드

Tests setMicrotime() and getMicrotime().
public testSetAndGetMicrotime ( callable $storageFactory )
$storageFactory callable Returns a storage.