PHP Class Gush\Tests\Subscriber\GitRepoSubscriberTest

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

Public Methods

Method Description
adds_options_for_git_repo_featured_command ( )
allows_to_overwrite_configured_adapter ( )
allows_to_overwrite_configured_org_and_repo ( )
allows_to_overwrite_configured_org_and_repo_for_issue ( )
detects_and_informs_missing_adapter_information ( )
does_not_inform_repo_info_is_configured ( )
does_not_inform_repo_info_is_provided ( )
does_not_inform_when_adapter_is_configured ( )
does_not_inform_when_adapter_is_provided ( )
throws_error_on_invalid_issue_adapter ( )
throws_error_on_invalid_repo_adapter ( )
throws_error_when_adapter_is_supported_but_not_configured ( )
throws_error_when_no_options_given_and_not_in_git_dir ( )
throws_error_when_not_configured_and_no_remote_is_set_for_auto_detection ( )

Protected Methods

Method Description
getGitConfigHelper ( $hasRemote = true )

Private Methods

Method Description
runCommandTest ( Gush\Command\BaseCommand $command, array $input = [], array $localConfig = [], Closure | null $helperSetManipulator = null ) : Symfony\Component\Console\Tester\CommandTester

Method Details

allows_to_overwrite_configured_adapter() public method

allows_to_overwrite_configured_org_and_repo() public method

allows_to_overwrite_configured_org_and_repo_for_issue() public method

detects_and_informs_missing_adapter_information() public method

does_not_inform_repo_info_is_configured() public method

does_not_inform_repo_info_is_provided() public method

does_not_inform_when_adapter_is_configured() public method

does_not_inform_when_adapter_is_provided() public method

getGitConfigHelper() protected method

protected getGitConfigHelper ( $hasRemote = true )

throws_error_on_invalid_issue_adapter() public method

throws_error_on_invalid_repo_adapter() public method

throws_error_when_adapter_is_supported_but_not_configured() public method

throws_error_when_no_options_given_and_not_in_git_dir() public method

throws_error_when_not_configured_and_no_remote_is_set_for_auto_detection() public method