PHP Class Phalcon\Test\Acl\Adapter\DatabaseTest

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
incorrectDbProvider ( )
incorrectOptionsProvider ( )
testShouldCreateAdapterInstance ( )
testShouldThrowExceptionIfDbIsMissingOrInvalid ( array $options )
testShouldThrowExceptionWhenOptionsIsInvalid ( string $expected, array $options )

Méthodes protégées

Méthode Description
_after ( ) executed after each test
_before ( ) executed before each test
assertProtectedPropertyEquals ( $propertyName, $tableName, Phalcon\Db\AdapterInterface $connection, Database $adapter )
getConnection ( )

Method Details

_after() protected méthode

executed after each test
protected _after ( )

_before() protected méthode

executed before each test
protected _before ( )

assertProtectedPropertyEquals() protected méthode

protected assertProtectedPropertyEquals ( $propertyName, $tableName, Phalcon\Db\AdapterInterface $connection, Database $adapter )
$connection Phalcon\Db\AdapterInterface
$adapter Phalcon\Acl\Adapter\Database

getConnection() protected méthode

protected getConnection ( )

incorrectDbProvider() public méthode

public incorrectDbProvider ( )

incorrectOptionsProvider() public méthode

testShouldCreateAdapterInstance() public méthode

testShouldThrowExceptionIfDbIsMissingOrInvalid() public méthode

testShouldThrowExceptionWhenOptionsIsInvalid() public méthode

public testShouldThrowExceptionWhenOptionsIsInvalid ( string $expected, array $options )
$expected string
$options array

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
Résultat UnitTester