PHP Class 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
See also: Storage
Author: Markus Malkusch ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: bandwidth-throttle/token-bucket

Méthodes publiques

Méthode Description
provideStorageFactories ( ) : callable[][] Provides shared Storage implementations.
testStoragesDontInterfere ( callable $factory ) Tests two storages with different names don't interfere each other.

Méthodes protégées

Méthode Description
tearDown ( )

Method Details

provideStorageFactories() public méthode

Provides shared Storage implementations.
public provideStorageFactories ( ) : callable[][]
Résultat callable[][] Storage factories.

tearDown() protected méthode

protected tearDown ( )

testStoragesDontInterfere() public méthode

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