PHP Class DatabaseInterfaceTest, phpmyadmin

Inheritance: extends PMATestCase
Show file Open project: phpmyadmin/phpmyadmin

Public Methods

Method Description
connectionParams ( ) : array Data provider for getConnectionParams test
setup ( ) : void Configures test parameters.
testGetConnectionParams ( array $server_cfg, integer $mode, array | null $server, array $expected ) : void Test for getConnectionParams
testGetDbCollation ( ) : void Test for getDbCollation
testGetServerCollation ( ) : void Test for getServerCollation
testGetSystemDatabase ( ) : void Tests for DBI::getSystemDatabase() method.
testPMAGetColumnMap ( ) : void Tests for DBI::getColumnMapFromSql() method.

Method Details

connectionParams() public method

Data provider for getConnectionParams test
public connectionParams ( ) : array
return array

setup() public method

Configures test parameters.
public setup ( ) : void
return void

testGetConnectionParams() public method

Test for getConnectionParams
public testGetConnectionParams ( array $server_cfg, integer $mode, array | null $server, array $expected ) : void
$server_cfg array Server configuration
$mode integer Mode to test
$server array | null Server array to test
$expected array Expected result
return void

testGetDbCollation() public method

Test for getDbCollation
public testGetDbCollation ( ) : void
return void

testGetServerCollation() public method

Test for getServerCollation
public testGetServerCollation ( ) : void
return void

testGetSystemDatabase() public method

Tests for DBI::getSystemDatabase() method.
public testGetSystemDatabase ( ) : void
return void

testPMAGetColumnMap() public method

Tests for DBI::getColumnMapFromSql() method.
public testPMAGetColumnMap ( ) : void
return void