PHP Class Gush\Tests\Command\Core\CoreInitCommandTest

Inheritance: extends Gush\Tests\Command\CommandTestCase
Show file Open project: gushphp/gush

Public Methods

Method Description
provideEmptyValues ( )
testGivesErrorWhenNotInGitDirectory ( )
testLocalAutoConfiguringInNonInteractive ( )
testLocalConfiguringWithAllOptionsInNonInteractive ( )
testLocalConfiguringWithRequiredOptionsInNonInteractive ( )
testRunCommandWithAutoDetectedOptionsFromGitRemote ( )
testRunCommandWithEmptyValuesAreProhibited ( $expected, $input )
testRunCommandWithNoConfiguredAdapter ( )
testRunCommandWithoutExistingLocalConfigAndNoRemote ( )

Protected Methods

Method Description
getGitConfigHelper ( $hasRemote = true )
requiresRealConfigDir ( )

Method Details

getGitConfigHelper() protected method

protected getGitConfigHelper ( $hasRemote = true )

provideEmptyValues() public method

public provideEmptyValues ( )

requiresRealConfigDir() protected method

protected requiresRealConfigDir ( )

testGivesErrorWhenNotInGitDirectory() public method

testLocalAutoConfiguringInNonInteractive() public method

testLocalConfiguringWithAllOptionsInNonInteractive() public method

testLocalConfiguringWithRequiredOptionsInNonInteractive() public method

testRunCommandWithAutoDetectedOptionsFromGitRemote() public method

testRunCommandWithEmptyValuesAreProhibited() public method

public testRunCommandWithEmptyValuesAreProhibited ( $expected, $input )
$expected
$input

testRunCommandWithNoConfiguredAdapter() public method

testRunCommandWithoutExistingLocalConfigAndNoRemote() public method