PHP Class ConfigTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostrar archivo Open project: phpbrew/phpbrew Class Usage Examples

Public Methods

Method Description
putEnv ( $key, $value )
resetEnv ( $env )
test ( )
testGetBuildDir ( )
testGetConfigParam ( )
testGetCurrentBuildDir ( )
testGetCurrentPhpBin ( )
testGetCurrentPhpConfigBin ( )
testGetCurrentPhpConfigScanPath ( )
testGetCurrentPhpDir ( )
testGetCurrentPhpName ( )
testGetCurrentPhpizeBin ( )
testGetDistFileDir ( )
testGetInstallPrefix ( )
testGetLookupPrefix ( )
testGetPHPReleaseListPath ( )
testGetPhpbrewHomeWhenHOMEIsDefined ( )
testGetPhpbrewHomeWhenHOMEIsNotDefined ( )
testGetPhpbrewHomeWhenPHPBREW_HOMEIsDefined ( )
testGetPhpbrewRootWhenHOMEIsDefined ( )
testGetPhpbrewRootWhenPHPBREW_ROOTIsDefined ( )
testGetTempFileDir ( )
testGetVariants ( )
testGetVersionBinPath ( )
testGetVersionEtcPath ( )
testGetVersionInstallPrefix ( )
withEnv ( $newEnv, $callback ) PHPBREW_HOME and PHPBREW_ROOT are automatically defined if the function which invokes this method doesn't set them explicitly.

Method Details

putEnv() public method

public putEnv ( $key, $value )

resetEnv() public method

public resetEnv ( $env )

test() public method

public test ( )

testGetBuildDir() public method

public testGetBuildDir ( )

testGetConfigParam() public method

public testGetConfigParam ( )

testGetCurrentBuildDir() public method

testGetCurrentPhpBin() public method

testGetCurrentPhpConfigBin() public method

testGetCurrentPhpConfigScanPath() public method

testGetCurrentPhpDir() public method

testGetCurrentPhpName() public method

testGetCurrentPhpizeBin() public method

testGetDistFileDir() public method

public testGetDistFileDir ( )

testGetInstallPrefix() public method

testGetLookupPrefix() public method

public testGetLookupPrefix ( )

testGetPHPReleaseListPath() public method

testGetPhpbrewHomeWhenHOMEIsDefined() public method

testGetPhpbrewHomeWhenHOMEIsNotDefined() public method

testGetPhpbrewHomeWhenPHPBREW_HOMEIsDefined() public method

testGetPhpbrewRootWhenHOMEIsDefined() public method

testGetPhpbrewRootWhenPHPBREW_ROOTIsDefined() public method

testGetTempFileDir() public method

public testGetTempFileDir ( )

testGetVariants() public method

public testGetVariants ( )

testGetVersionBinPath() public method

testGetVersionEtcPath() public method

testGetVersionInstallPrefix() public method

withEnv() public method

Set PHPBREW_HOME and PHPBREW_ROOT to null when you want to unset them.
public withEnv ( $newEnv, $callback )