PHP Класс bandwidthThrottle\tokenBucket\storage\SharedStorageTest

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
Показать файл Открыть проект

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

Метод Описание
provideStorageFactories ( ) : callable[][] Provides shared Storage implementations.
testStoragesDontInterfere ( callable $factory ) Tests two storages with different names don't interfere each other.

Защищенные методы

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

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

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

Provides shared Storage implementations.
public provideStorageFactories ( ) : callable[][]
Результат callable[][] Storage factories.

tearDown() защищенный Метод

protected tearDown ( )

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

Tests two storages with different names don't interfere each other.
public testStoragesDontInterfere ( callable $factory )
$factory callable The storage factory.