PHP Class spec\PhpSpec\Console\ConsoleIOSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: phpspec/phpspec

Public Methods

Method Description
it_defaults_the_block_width ( )
it_has_io_interface ( )
it_indents_and_wraps_long_broken_message ( Symfony\Component\Console\Output\OutputInterface $output )
it_is_code_generation_ready_if_no_input_config_says_otherwise ( )
it_is_not_code_generation_ready_if_command_line_option_is_set ( $input )
it_is_not_code_generation_ready_if_config_option_is_set ( $config )
it_is_not_code_generation_ready_if_input_is_not_interactive ( $input )
it_sets_the_block_width_to_narrower_than_the_terminal_width_when_terminal_is_in_range ( )
it_sets_the_block_width_to_the_maximum_when_terminal_is_very_wide ( )
it_sets_the_block_width_to_the_minimum_when_terminal_is_narrow ( )
it_will_disable_faking_if_command_line_option_and_config_flag_are_not_set ( $input, $config )
it_will_disable_rerunning_if_command_line_option_is_set ( $input, $config )
it_will_disable_rerunning_if_config_option_is_set ( $input, $config )
it_will_enable_faking_if_command_line_option_is_set ( $input, $config )
it_will_enable_faking_if_config_flag_is_set ( $input, $config )
it_will_enable_rerunning_if_command_line_option_is_not_set_and_config_doesnt_disallow ( $input, $config )
it_will_not_stop_on_failure_if_no_input_config_says_otherwise ( )
it_will_report_bootstrap_path_from_cli_when_different_paths_are_specified_in_config_and_cli ( $input, $config )
it_will_report_bootstrap_path_when_one_is_in_the_config_file ( $input, $config )
it_will_report_bootstrap_path_when_one_is_specified_at_the_command_line ( $input, $config )
it_will_report_no_bootstrap_when_there_is_none ( $input, $config )
it_will_stop_on_failure_if_command_line_option_is_set ( $input )
it_will_stop_on_failure_if_config_option_is_set ( $config )
it_wraps_long_broken_message ( Symfony\Component\Console\Output\OutputInterface $output )
it_writes_a_message_about_broken_code ( Symfony\Component\Console\Output\OutputInterface $output )
let ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, PhpSpec\Config\OptionsConfig $config, PhpSpec\Console\Prompter $prompter )

Method Details

it_defaults_the_block_width() public method

it_has_io_interface() public method

public it_has_io_interface ( )

it_indents_and_wraps_long_broken_message() public method

public it_indents_and_wraps_long_broken_message ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_is_code_generation_ready_if_no_input_config_says_otherwise() public method

it_is_not_code_generation_ready_if_command_line_option_is_set() public method

it_is_not_code_generation_ready_if_config_option_is_set() public method

it_is_not_code_generation_ready_if_input_is_not_interactive() public method

it_sets_the_block_width_to_narrower_than_the_terminal_width_when_terminal_is_in_range() public method

it_sets_the_block_width_to_the_maximum_when_terminal_is_very_wide() public method

it_sets_the_block_width_to_the_minimum_when_terminal_is_narrow() public method

it_will_disable_faking_if_command_line_option_and_config_flag_are_not_set() public method

it_will_disable_rerunning_if_command_line_option_is_set() public method

it_will_disable_rerunning_if_config_option_is_set() public method

it_will_enable_faking_if_command_line_option_is_set() public method

it_will_enable_faking_if_config_flag_is_set() public method

public it_will_enable_faking_if_config_flag_is_set ( $input, $config )

it_will_enable_rerunning_if_command_line_option_is_not_set_and_config_doesnt_disallow() public method

it_will_not_stop_on_failure_if_no_input_config_says_otherwise() public method

it_will_report_bootstrap_path_from_cli_when_different_paths_are_specified_in_config_and_cli() public method

it_will_report_bootstrap_path_when_one_is_in_the_config_file() public method

it_will_report_bootstrap_path_when_one_is_specified_at_the_command_line() public method

it_will_report_no_bootstrap_when_there_is_none() public method

it_will_stop_on_failure_if_command_line_option_is_set() public method

it_will_stop_on_failure_if_config_option_is_set() public method

it_wraps_long_broken_message() public method

public it_wraps_long_broken_message ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

it_writes_a_message_about_broken_code() public method

public it_writes_a_message_about_broken_code ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

let() public method

public let ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, PhpSpec\Config\OptionsConfig $config, PhpSpec\Console\Prompter $prompter )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$config PhpSpec\Config\OptionsConfig
$prompter PhpSpec\Console\Prompter