PHP Class PhpBrew\Testing\CommandTestCase

Inheritance: extends CLIFramework\Testing\CommandTestCase
显示文件 Open project: phpbrew/phpbrew Class Usage Examples

Public Properties

Property Type Description
$primaryVersion

Protected Properties

Property Type Description
$debug

Public Methods

Method Description
assertCommandSuccess ( $args )
getPrimaryVersion ( )
runCommand ( $args )
runCommandWithStdout ( $args )
setUp ( )
setupApplication ( )
tearDown ( ) * we don't have to restore it back. the parent environment variables won't change if the they are changed inside a process.

Method Details

assertCommandSuccess() public method

public assertCommandSuccess ( $args )

getPrimaryVersion() public method

public getPrimaryVersion ( )

runCommand() public method

public runCommand ( $args )

runCommandWithStdout() public method

public runCommandWithStdout ( $args )

setUp() public method

public setUp ( )

setupApplication() public method

public setupApplication ( )

tearDown() public method

but we might want to change it back if there is a test changed the environment variable.
public tearDown ( )

Property Details

$debug protected_oe property

protected $debug

$primaryVersion public_oe property

public $primaryVersion