PHP Class Redaxscript\Tests\ConfigTest

Since: 2.2.0
Author: Henry Ruhs
Inheritance: extends TestCaseAbstract
Show file Open project: redaxmedia/redaxscript

Protected Properties

Property Type Description
$_config object instance of the config class
$_configArray array array to restore config

Public Methods

Method Description
providerParse ( ) : array providerParse
setUp ( ) setUp
setUpBeforeClass ( ) setUpBeforeClass
tearDown ( ) tearDown
testGetAll ( ) testGetAll
testGetAndSet ( ) testGetAndSet
testInit ( ) testInit
testParse ( string $dbUrl = null, array $configArray = [] ) testParse
testWrite ( ) testWrite

Method Details

providerParse() public method

providerParse
Since: 3.0.0
public providerParse ( ) : array
return array

setUp() public method

setUp
Since: 3.0.0
public setUp ( )

setUpBeforeClass() public static method

setUpBeforeClass
Since: 3.0.0
public static setUpBeforeClass ( )

tearDown() public method

tearDown
Since: 3.0.0
public tearDown ( )

testGetAll() public method

testGetAll
Since: 2.2.0
public testGetAll ( )

testGetAndSet() public method

testGetAndSet
Since: 2.2.0
public testGetAndSet ( )

testInit() public method

testInit
Since: 2.4.0
public testInit ( )

testParse() public method

testParse
Since: 3.0.0
public testParse ( string $dbUrl = null, array $configArray = [] )
$dbUrl string
$configArray array

testWrite() public method

testWrite
Since: 2.4.0
public testWrite ( )

Property Details

$_config protected property

instance of the config class
protected object $_config
return object

$_configArray protected property

array to restore config
protected array $_configArray
return array