PHP Class Zephir\Test\ConfigTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: phalcon/zephir

Public Methods

Method Description
setUp ( )
tearDown ( ) Restore current directory, and clean config.json.
testConstructWithBadConfigFile ( ) Test when we have a bad config.json file.
testGetWithNamespace ( )
testGetWithoutNamespace ( )
testSaveOnExit ( ) Test saveOnExit method.
testSetWithNamespace ( )
testSetWithoutNamespace ( )

Private Methods

Method Description
cleanTmpConfigFile ( ) Clean config.json file into tmp dir.

Method Details

setUp() public method

public setUp ( )

tearDown() public method

Restore current directory, and clean config.json.
public tearDown ( )

testConstructWithBadConfigFile() public method

Test when we have a bad config.json file.

testGetWithNamespace() public method

testGetWithoutNamespace() public method

testSaveOnExit() public method

Test saveOnExit method.
public testSaveOnExit ( )

testSetWithNamespace() public method

testSetWithoutNamespace() public method