PHP 클래스 Phalcon\Test\Annotations\Adapter\MemcachedTest

저자: Ilya Gusev ([email protected])
상속: extends Codeception\TestCase\Test
파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$tester UnitTester UnitTester Object

공개 메소드들

메소드 설명
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 )

보호된 메소드들

메소드 설명
_before ( ) executed before each test

메소드 상세

_before() 보호된 메소드

executed before each test
protected _before ( )

providerConstructor() 공개 메소드

public providerConstructor ( )

providerKey() 공개 메소드

public providerKey ( )

providerReadWrite() 공개 메소드

public providerReadWrite ( )

testHasDefaultPort() 공개 메소드

public testHasDefaultPort ( )

testHasDefaultWeight() 공개 메소드

testHasMemcached() 공개 메소드

public testHasMemcached ( )

testShouldCatchExceptionWhenNoHostGivenInOptions() 공개 메소드

testShouldCreateMemcachedAdapterInstanceAndSetOptions() 공개 메소드

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

testShouldGetCacheBackendThroughGetter() 공개 메소드

testShouldGetCacheBackendThroughReflectionSetter() 공개 메소드

testShouldPrepareKey() 공개 메소드

public testShouldPrepareKey ( mixed $key )
$key mixed

testShouldReadAndWriteToMemcachedWithPrefix() 공개 메소드

testShouldReadAndWriteToMemcachedWithoutPrefix() 공개 메소드

프로퍼티 상세

$tester 보호되어 있는 프로퍼티

UnitTester Object
protected UnitTester $tester
리턴 UnitTester