PHP Class Phalcon\Test\Annotations\Adapter\RedisTest

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

Protected Properties

Property Type Description
$tester UnitTester UnitTester Object

Public Methods

Method 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 )

Protected Methods

Method Description
_after ( ) executed after each test
_before ( ) executed before each test

Method Details

_after() protected method

executed after each test
protected _after ( )

_before() protected method

executed before each test
protected _before ( )

providerConstructor() public method

public providerConstructor ( )

providerKey() public method

public providerKey ( )

providerReadWrite() public method

public providerReadWrite ( )

testHasRedis() public method

public testHasRedis ( )

testShouldCreateRedisAdapterInstanceAndSetOptions() public method

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

testShouldGetCacheBackendThroughGetter() public method

testShouldGetCacheBackendThroughReflectionSetter() public method

testShouldPrepareKey() public method

public testShouldPrepareKey ( mixed $key )
$key mixed

testShouldReadAndWriteToRedisWithPrefix() public method

testShouldReadAndWriteToRedisWithoutPrefix() public method

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
return UnitTester