PHP Class spec\PhpSpec\Listener\ClassNotFoundListenerSpec

Inheritance: extends PhpSpec\ObjectBehavior
ファイルを表示 Open project: phpspec/phpspec

Public Methods

Method Description
it_does_not_prompt_for_class_generation_if_input_is_not_interactive ( $exampleEvent, $suiteEvent, $io, PhpspecClassException $exception )
it_does_not_prompt_for_class_generation_if_no_exception_was_thrown ( $exampleEvent, $suiteEvent, $io )
it_does_not_prompt_for_class_generation_if_non_class_exception_was_thrown ( $exampleEvent, $suiteEvent, $io, InvalidArgumentException $exception )
it_prompts_for_class_generation_if_prophecy_classnotfoundexception_was_thrown_and_input_is_interactive ( $exampleEvent, $suiteEvent, $io, Prophecy\Exception\Doubler\ClassNotFoundException $exception )
it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive ( $exampleEvent, $suiteEvent, $io, PhpspecClassException $exception )
let ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resourceManager, GeneratorManager $generatorManager, SuiteEvent $suiteEvent, ExampleEvent $exampleEvent )

Method Details

it_does_not_prompt_for_class_generation_if_input_is_not_interactive() public method

public it_does_not_prompt_for_class_generation_if_input_is_not_interactive ( $exampleEvent, $suiteEvent, $io, PhpspecClassException $exception )
$exception PhpspecClassException

it_does_not_prompt_for_class_generation_if_no_exception_was_thrown() public method

public it_does_not_prompt_for_class_generation_if_no_exception_was_thrown ( $exampleEvent, $suiteEvent, $io )

it_does_not_prompt_for_class_generation_if_non_class_exception_was_thrown() public method

public it_does_not_prompt_for_class_generation_if_non_class_exception_was_thrown ( $exampleEvent, $suiteEvent, $io, InvalidArgumentException $exception )
$exception InvalidArgumentException

it_prompts_for_class_generation_if_prophecy_classnotfoundexception_was_thrown_and_input_is_interactive() public method

public it_prompts_for_class_generation_if_prophecy_classnotfoundexception_was_thrown_and_input_is_interactive ( $exampleEvent, $suiteEvent, $io, Prophecy\Exception\Doubler\ClassNotFoundException $exception )
$exception Prophecy\Exception\Doubler\ClassNotFoundException

it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive() public method

public it_prompts_for_method_generation_if_phpspec_classnotfoundexception_was_thrown_and_input_is_interactive ( $exampleEvent, $suiteEvent, $io, PhpspecClassException $exception )
$exception PhpspecClassException

let() public method

public let ( ConsoleIO $io, PhpSpec\Locator\ResourceManager $resourceManager, GeneratorManager $generatorManager, SuiteEvent $suiteEvent, ExampleEvent $exampleEvent )
$io PhpSpec\Console\ConsoleIO
$resourceManager PhpSpec\Locator\ResourceManager
$generatorManager PhpSpec\CodeGenerator\GeneratorManager
$suiteEvent PhpSpec\Event\SuiteEvent
$exampleEvent PhpSpec\Event\ExampleEvent