PHP Class Phalcon\Test\Annotations\Adapter\RedisTest

Author: Serghei Iakovlev ([email protected])
Inheritance: extends Codeception\TestCase\Test
Afficher le fichier Open project: phalcon/incubator

Protected Properties

Свойство Type Description
$tester UnitTester UnitTester Object

Méthodes publiques

Méthode Description
providerConstructor ( )
providerKey ( )
providerReadWrite ( )
testHasRedis ( )
testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected )
testShouldGetCacheBackendThroughGetter ( )
testShouldGetCacheBackendThroughReflectionSetter ( )
testShouldPrepareKey ( mixed $key )
testShouldReadAndWriteToRedisWithPrefix ( string $key, mixed $data )
testShouldReadAndWriteToRedisWithoutPrefix ( string $key, mixed $data )

Méthodes protégées

Méthode Description
_after ( ) executed after each test
_before ( ) executed before each test

Method Details

_after() protected méthode

executed after each test
protected _after ( )

_before() protected méthode

executed before each test
protected _before ( )

providerConstructor() public méthode

public providerConstructor ( )

providerKey() public méthode

public providerKey ( )

providerReadWrite() public méthode

public providerReadWrite ( )

testHasRedis() public méthode

public testHasRedis ( )

testShouldCreateRedisAdapterInstanceAndSetOptions() public méthode

public testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected )
$options array
$expected array

testShouldGetCacheBackendThroughGetter() public méthode

testShouldGetCacheBackendThroughReflectionSetter() public méthode

testShouldPrepareKey() public méthode

public testShouldPrepareKey ( mixed $key )
$key mixed

testShouldReadAndWriteToRedisWithPrefix() public méthode

testShouldReadAndWriteToRedisWithoutPrefix() public méthode

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
Résultat UnitTester