PHP Class ParagonIE\EasyDB\Tests\EscapeIdentifierTest

Inheritance: extends EasyDBTest
Show file Open project: paragonie/easydb

Public Methods

Method Description
GoodFactoryCreateArgument2EasyDBWithBadIdentifierProvider ( ) : array EasyDB data provider Returns an array of callables that return instances of EasyDB
GoodFactoryCreateArgument2EasyDBWithIdentifierProvider ( ) : array EasyDB data provider Returns an array of callables that return instances of EasyDB
testEscapeIdentifier ( callable $cb, $identifier, array $withAllowSeparators )
testEscapeIdentifierThrowsSomething ( callable $cb, $identifier )

Private Methods

Method Description
getExpectedEscapedIdentifier ( $string, $driver, $quote, boolean $allowSeparators )

Method Details

GoodFactoryCreateArgument2EasyDBWithBadIdentifierProvider() public method

EasyDB data provider Returns an array of callables that return instances of EasyDB
See also: EasyDBTest::GoodFactoryCreateArgument2EasyDBProvider()

GoodFactoryCreateArgument2EasyDBWithIdentifierProvider() public method

EasyDB data provider Returns an array of callables that return instances of EasyDB
See also: EasyDBTest::GoodFactoryCreateArgument2EasyDBProvider()

testEscapeIdentifier() public method

public testEscapeIdentifier ( callable $cb, $identifier, array $withAllowSeparators )
$cb callable
$identifier
$withAllowSeparators array

testEscapeIdentifierThrowsSomething() public method

public testEscapeIdentifierThrowsSomething ( callable $cb, $identifier )
$cb callable
$identifier