PHP Class Phalcon\Test\Cache\Backend\DatabaseTest

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

Protected Properties

Property Type Description
$data
$key
$tester UnitTester UnitTester Object

Public Methods

Method Description
incorrectDbProvider ( )
testNotPrefixed ( )
testPrefixed ( )
testShouldThrowExceptionIfDbIsMissingOrInvalid ( array $options )

Protected Methods

Method Description
_after ( ) executed after each test
_before ( ) executed before each test
getBackend ( $prefix = '' )
runTests ( Database $backend, $lifetime = null )

Method Details

_after() protected method

executed after each test
protected _after ( )

_before() protected method

executed before each test
protected _before ( )

getBackend() protected method

protected getBackend ( $prefix = '' )

incorrectDbProvider() public method

public incorrectDbProvider ( )

runTests() protected method

protected runTests ( Database $backend, $lifetime = null )
$backend Phalcon\Cache\Backend\Database

testNotPrefixed() public method

public testNotPrefixed ( )

testPrefixed() public method

public testPrefixed ( )

testShouldThrowExceptionIfDbIsMissingOrInvalid() public method

Property Details

$data protected_oe property

protected $data

$key protected_oe property

protected $key

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
return UnitTester