PHP Class Phalcon\Test\Annotations\Adapter\MemcachedTest

Author: Ilya Gusev ([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 ( )
testHasDefaultPort ( )
testHasDefaultWeight ( )
testHasMemcached ( )
testShouldCatchExceptionWhenNoHostGivenInOptions ( )
testShouldCreateMemcachedAdapterInstanceAndSetOptions ( array $options, array $expected )
testShouldGetCacheBackendThroughGetter ( )
testShouldGetCacheBackendThroughReflectionSetter ( )
testShouldPrepareKey ( mixed $key )
testShouldReadAndWriteToMemcachedWithPrefix ( string $key, mixed $data )
testShouldReadAndWriteToMemcachedWithoutPrefix ( string $key, mixed $data )

Protected Methods

Method Description
_before ( ) executed before each test

Method Details

_before() protected method

executed before each test
protected _before ( )

providerConstructor() public method

public providerConstructor ( )

providerKey() public method

public providerKey ( )

providerReadWrite() public method

public providerReadWrite ( )

testHasDefaultPort() public method

public testHasDefaultPort ( )

testHasDefaultWeight() public method

testHasMemcached() public method

public testHasMemcached ( )

testShouldCatchExceptionWhenNoHostGivenInOptions() public method

testShouldCreateMemcachedAdapterInstanceAndSetOptions() public method

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

testShouldGetCacheBackendThroughGetter() public method

testShouldGetCacheBackendThroughReflectionSetter() public method

testShouldPrepareKey() public method

public testShouldPrepareKey ( mixed $key )
$key mixed

testShouldReadAndWriteToMemcachedWithPrefix() public method

testShouldReadAndWriteToMemcachedWithoutPrefix() public method

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
return UnitTester