PHP Class Gush\Tests\Command\PullRequest\PullRequestMergeCommandTest

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

Public Methods

Method Description
testMergePullRequest ( )
testMergePullRequestInteractiveTypeAsk ( )
testMergePullRequestTypeIsAsked ( )
testMergePullRequestWithCustomType ( )
testMergePullRequestWithFastForward ( )
testMergePullRequestWithForceSquashOption ( )
testMergePullRequestWithNoComments ( )
testMergePullRequestWithOptionPat ( )
testMergePullRequestWithOptionPatNone ( )
testMergePullRequestWithSquashOption ( )
testMergePullRequestWithSwitchBase ( )
testMergeTypeByArgumentIsValidatedWhenTypeRestrictionIsConfigured ( )

Protected Methods

Method Description
getGitConfigHelper ( $notes = true )

Private Methods

Method Description
getLocalGitHelper ( $message = null, $squash = false, $forceSquash = false, $switch = null, $withComments = true, $fastForward = false )

Method Details

getGitConfigHelper() protected method

protected getGitConfigHelper ( $notes = true )

testMergePullRequest() public method

testMergePullRequestInteractiveTypeAsk() public method

testMergePullRequestTypeIsAsked() public method

testMergePullRequestWithCustomType() public method

testMergePullRequestWithFastForward() public method

testMergePullRequestWithForceSquashOption() public method

testMergePullRequestWithNoComments() public method

testMergePullRequestWithOptionPat() public method

testMergePullRequestWithOptionPatNone() public method

testMergePullRequestWithSquashOption() public method

testMergePullRequestWithSwitchBase() public method

testMergeTypeByArgumentIsValidatedWhenTypeRestrictionIsConfigured() public method