Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ConfigTest Class Reference
Inheritance diagram for ConfigTest:
PKPTestCase

Public Member Functions

 testGetDefaultConfigFileName ()
 
 testGetVar ()
 
 testGetVarFromOtherConfig ()
 
 testReloadDataAndGetData ()
 
 testReloadDataWithNonExistentConfigFile ()
 
 testSetConfigFileName ()
 
- Public Member Functions inherited from PKPTestCase
 getActualOutput ()
 

Additional Inherited Members

- Protected Member Functions inherited from PKPTestCase
 getMockedDAOs ()
 
 getMockedRegistryKeys ()
 
 setTestConfiguration ($config, $configPath= 'config')
 
 setUp ()
 
 tearDown ()
 

Detailed Description

Tests for the Config class.

See Also
Config

Definition at line 20 of file ConfigTest.php.

Member Function Documentation

ConfigTest::testGetDefaultConfigFileName ( )

Config::getConfigFileName

Definition at line 24 of file ConfigTest.php.

References Config\getConfigFileName().

ConfigTest::testGetVar ( )

testReloadDataAndGetData Config::getVar Config::getData

Definition at line 83 of file ConfigTest.php.

References Config\getVar().

ConfigTest::testGetVarFromOtherConfig ( )

testGetVar Config::getVar Config::getData

Definition at line 94 of file ConfigTest.php.

References Config\getVar(), and Config\setConfigFileName().

ConfigTest::testReloadDataAndGetData ( )

testSetConfigFileName Config::reloadData

Definition at line 52 of file ConfigTest.php.

References Config\getData(), Config\reloadData(), and Config\setConfigFileName().

ConfigTest::testReloadDataWithNonExistentConfigFile ( )

testSetConfigFileName PHPUnit_Framework_Error Config::reloadData

Definition at line 42 of file ConfigTest.php.

References Config\reloadData(), and Config\setConfigFileName().

ConfigTest::testSetConfigFileName ( )

The documentation for this class was generated from the following file: