PHP 클래스 PhpSpec\Runner\ExampleRunner

파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Formatter\Presenter\Presenter $presenter )
registerMaintainer ( PhpSpec\Runner\Maintainer\Maintainer $maintainer )
run ( ExampleNode $example ) : integer

보호된 메소드들

메소드 설명
executeExample ( PhpSpec\Specification $context, ExampleNode $example )

비공개 메소드들

메소드 설명
runMaintainersTeardown ( array $maintainers, ExampleNode $example, PhpSpec\Specification $context, MatcherManager $matchers, CollaboratorManager $collaborators )
searchExceptionMaintainers ( array $maintainers ) : PhpSpec\Runner\Maintainer\Maintainer[]

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Formatter\Presenter\Presenter $presenter )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$presenter PhpSpec\Formatter\Presenter\Presenter

executeExample() 보호된 메소드

protected executeExample ( PhpSpec\Specification $context, ExampleNode $example )
$context PhpSpec\Specification
$example PhpSpec\Loader\Node\ExampleNode

registerMaintainer() 공개 메소드

public registerMaintainer ( PhpSpec\Runner\Maintainer\Maintainer $maintainer )
$maintainer PhpSpec\Runner\Maintainer\Maintainer

run() 공개 메소드

public run ( ExampleNode $example ) : integer
$example PhpSpec\Loader\Node\ExampleNode
리턴 integer