PHP Class Phalcon\Test\Annotations\Adapter\AerospikeTest

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 ( )
providerInvalidConstructor ( )
providerKey ( )
providerReadWrite ( )
testHasAerospikeProperty ( )
testHasNamespaceProperty ( )
testHasSetProperty ( )
testShouldCatchExceptionWhenInvalidParamsPassed ( array $options, string $exceptionName, string $exceptionMessage )
testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected )
testShouldGetCacheBackendThroughGetter ( )
testShouldGetCacheBackendThroughReflectionSetter ( )
testShouldPrepareKey ( mixed $key )
testShouldReadAndWriteToAerospikeWithPrefix ( string $key, mixed $data )
testShouldReadAndWriteToAerospikeWithoutPrefix ( string $key, mixed $data )

Méthodes protégées

Méthode Description
_before ( ) executed before each test

Method Details

_before() protected méthode

executed before each test
protected _before ( )

providerConstructor() public méthode

public providerConstructor ( )

providerInvalidConstructor() public méthode

providerKey() public méthode

public providerKey ( )

providerReadWrite() public méthode

public providerReadWrite ( )

testHasAerospikeProperty() public méthode

testHasNamespaceProperty() public méthode

testHasSetProperty() public méthode

public testHasSetProperty ( )

testShouldCatchExceptionWhenInvalidParamsPassed() public méthode

public testShouldCatchExceptionWhenInvalidParamsPassed ( array $options, string $exceptionName, string $exceptionMessage )
$options array
$exceptionName string
$exceptionMessage string

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

testShouldReadAndWriteToAerospikeWithPrefix() public méthode

testShouldReadAndWriteToAerospikeWithoutPrefix() public méthode

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
Résultat UnitTester