PHP Class ConfigFileTest, phpmyadmin

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

Protected Properties

Property Type Description
$object PMA\libraries\config\ConfigFile Object under test

Public Methods

Method Description
testAllowedKeys ( ) : void Test for ConfigFile::setAllowedKeys
testBasicSetUsage ( ) : void Test for ConfigFile::set and ConfigFile::get
testConfigFileSetInSetup ( ) : void Test for ConfigFile::set - in PMA Setup
testConfigFileSetInUserPreferences ( ) : void Test for ConfigFile::set - in user preferences
testConfigReadMapping ( ) : void Test for ConfigFile::setCfgUpdateReadMapping
testGetCanonicalPath ( ) : void Test for ConfigFile::getCanonicalPath
testGetConfigArray ( ) : void Test for ConfigFile::getConfigArray
testGetDbEntry ( ) : void Test for ConfigFile::getDbEntry
testGetFilePath ( ) : void Test for ConfigFile::getFilePath
testGetFlatDefaultConfig ( ) : void Test for ConfigFile::getFlatDefaultConfig
testGetServerCount ( ) : void Test for ConfigFile::getServerCount
testGetServerDSN ( ) : void Test for ConfigFile::getServerDSN
testGetServerName ( ) : void Test for ConfigFile::getServerName
testGetServers ( ) : void Test for ConfigFile::getServers
testNewObjectState ( ) : void Test for new ConfigFile()
testPersistentKeys ( ) : void Test for ConfigFile::setPersistKeys()
testResetConfigData ( ) : void Test for ConfigFile::resetConfigData
testSetConfigData ( ) : void Test for ConfigFile::setConfigData
testUpdateWithGlobalConfig ( ) : void Test for ConfigFile::updateWithGlobalConfig

Protected Methods

Method Description
setUp ( ) : void Setup function for test cases
tearDown ( ) : void TearDown function for test cases

Method Details

setUp() protected method

Setup function for test cases
protected setUp ( ) : void
return void

tearDown() protected method

TearDown function for test cases
protected tearDown ( ) : void
return void

testAllowedKeys() public method

Test for ConfigFile::setAllowedKeys
public testAllowedKeys ( ) : void
return void

testBasicSetUsage() public method

Test for ConfigFile::set and ConfigFile::get
public testBasicSetUsage ( ) : void
return void

testConfigFileSetInSetup() public method

Test for ConfigFile::set - in PMA Setup
public testConfigFileSetInSetup ( ) : void
return void

testConfigFileSetInUserPreferences() public method

Test for ConfigFile::set - in user preferences

testConfigReadMapping() public method

Test for ConfigFile::setCfgUpdateReadMapping
public testConfigReadMapping ( ) : void
return void

testGetCanonicalPath() public method

Test for ConfigFile::getCanonicalPath
public testGetCanonicalPath ( ) : void
return void

testGetConfigArray() public method

Test for ConfigFile::getConfigArray
public testGetConfigArray ( ) : void
return void

testGetDbEntry() public method

Test for ConfigFile::getDbEntry
public testGetDbEntry ( ) : void
return void

testGetFilePath() public method

Test for ConfigFile::getFilePath
public testGetFilePath ( ) : void
return void

testGetFlatDefaultConfig() public method

Test for ConfigFile::getFlatDefaultConfig
public testGetFlatDefaultConfig ( ) : void
return void

testGetServerCount() public method

Test for ConfigFile::getServerCount
public testGetServerCount ( ) : void
return void

testGetServerDSN() public method

Test for ConfigFile::getServerDSN
public testGetServerDSN ( ) : void
return void

testGetServerName() public method

Test for ConfigFile::getServerName
public testGetServerName ( ) : void
return void

testGetServers() public method

Test for ConfigFile::getServers
public testGetServers ( ) : void
return void

testNewObjectState() public method

Test for new ConfigFile()
public testNewObjectState ( ) : void
return void

testPersistentKeys() public method

Test for ConfigFile::setPersistKeys()
public testPersistentKeys ( ) : void
return void

testResetConfigData() public method

Test for ConfigFile::resetConfigData
public testResetConfigData ( ) : void
return void

testSetConfigData() public method

Test for ConfigFile::setConfigData
public testSetConfigData ( ) : void
return void

testUpdateWithGlobalConfig() public method

Test for ConfigFile::updateWithGlobalConfig
public testUpdateWithGlobalConfig ( ) : void
return void

Property Details

$object protected property

Object under test
protected ConfigFile,PMA\libraries\config $object
return PMA\libraries\config\ConfigFile