PHP Class Zephir\Test\ConfigTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phalcon/zephir

Méthodes publiques

Méthode 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

Méthode Description
cleanTmpConfigFile ( ) Clean config.json file into tmp dir.

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

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

testConstructWithBadConfigFile() public méthode

Test when we have a bad config.json file.

testGetWithNamespace() public méthode

testGetWithoutNamespace() public méthode

testSaveOnExit() public méthode

Test saveOnExit method.
public testSaveOnExit ( )

testSetWithNamespace() public méthode

testSetWithoutNamespace() public méthode