PHP 클래스 spec\GrumPHP\Event\Subscriber\StashUnstagedChangesSubscriberSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: phpro/grumphp

공개 메소드들

메소드 설명
it_is_an_event_subscriber ( )
it_is_initializable ( )
it_should_display_exception_when_pop_fails ( Repository $repository )
it_should_not_run_in_invalid_context ( Repository $repository )
it_should_not_run_when_disabled ( GrumPHP $grumPHP, Repository $repository )
it_should_not_run_when_there_are_no_unstaged_changes ( Repository $repository, Gitonomy\Git\Diff\Diff $unstaged )
it_should_not_try_to_pop_when_stash_saving_failed ( Repository $repository )
it_should_pop_changes ( Repository $repository )
it_should_pop_changes_when_an_error_occurs ( Repository $repository )
it_should_stash_changes ( Repository $repository )
it_should_subscribe_to_events ( )
let ( GrumPHP $grumPHP, Repository $repository, GrumPHP\IO\IOInterface $io, Gitonomy\Git\WorkingCopy $workingCopy, Gitonomy\Git\Diff\Diff $unstaged )

메소드 상세

it_is_an_event_subscriber() 공개 메소드

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_should_display_exception_when_pop_fails() 공개 메소드

public it_should_display_exception_when_pop_fails ( Repository $repository )
$repository Gitonomy\Git\Repository

it_should_not_run_in_invalid_context() 공개 메소드

public it_should_not_run_in_invalid_context ( Repository $repository )
$repository Gitonomy\Git\Repository

it_should_not_run_when_disabled() 공개 메소드

public it_should_not_run_when_disabled ( GrumPHP $grumPHP, Repository $repository )
$grumPHP GrumPHP\Configuration\GrumPHP
$repository Gitonomy\Git\Repository

it_should_not_run_when_there_are_no_unstaged_changes() 공개 메소드

public it_should_not_run_when_there_are_no_unstaged_changes ( Repository $repository, Gitonomy\Git\Diff\Diff $unstaged )
$repository Gitonomy\Git\Repository
$unstaged Gitonomy\Git\Diff\Diff

it_should_not_try_to_pop_when_stash_saving_failed() 공개 메소드

public it_should_not_try_to_pop_when_stash_saving_failed ( Repository $repository )
$repository Gitonomy\Git\Repository

it_should_pop_changes() 공개 메소드

public it_should_pop_changes ( Repository $repository )
$repository Gitonomy\Git\Repository

it_should_pop_changes_when_an_error_occurs() 공개 메소드

public it_should_pop_changes_when_an_error_occurs ( Repository $repository )
$repository Gitonomy\Git\Repository

it_should_stash_changes() 공개 메소드

public it_should_stash_changes ( Repository $repository )
$repository Gitonomy\Git\Repository

it_should_subscribe_to_events() 공개 메소드

let() 공개 메소드

public let ( GrumPHP $grumPHP, Repository $repository, GrumPHP\IO\IOInterface $io, Gitonomy\Git\WorkingCopy $workingCopy, Gitonomy\Git\Diff\Diff $unstaged )
$grumPHP GrumPHP\Configuration\GrumPHP
$repository Gitonomy\Git\Repository
$io GrumPHP\IO\IOInterface
$workingCopy Gitonomy\Git\WorkingCopy
$unstaged Gitonomy\Git\Diff\Diff