PHP Класс Codeception\Module\WPCLITest

Наследование: extends Codeception\Test\Unit
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$backupGlobals
$config array
$executor tad\WPBrowser\Environment\Executor
$moduleContainer Codeception\Lib\ModuleContainer
$root org\bovigo\vfs\vfsStreamDirectory
$tester UnitTester

Открытые методы

Метод Описание
cliReturnValues ( )
it_should_allow_defining_a_split_callback_function ( )
it_should_allow_overriding_options_with_inline_command ( $option, $optionValue )
it_should_allow_setting_additional_wp_cli_options_in_the_config_file ( $option, $optionValue )
it_should_be_instantiatable ( )
it_should_call_the_executor_with_proper_parameters ( )
it_should_call_the_split_callback_even_if_the_output_is_an_array ( )
it_should_cast_wp_cli_errors_to_exceptions_if_specified_in_config ( )
it_should_handle_the_case_where_the_command_output_is_an_empty_array ( )
it_should_handle_the_case_where_the_command_output_is_not_a_string ( )
it_should_handle_the_case_where_the_command_output_is_null ( )
it_should_not_cast_output_to_any_format ( $raw, $expected )
it_should_not_throw_any_exception_if_specified_in_config ( )
it_should_skip_some_options_by_default ( $option )
it_should_throw_if_path_is_not_folder ( )
it_should_throw_if_split_callback_function_does_not_return_an_array ( )
optionalOptionsWithArguments ( )
skippedOptions ( )

Защищенные методы

Метод Описание
_before ( )

Приватные методы

Метод Описание
make_instance ( ) : WPCLI

Описание методов

_before() защищенный Метод

protected _before ( )

cliReturnValues() публичный Метод

public cliReturnValues ( )

it_should_allow_defining_a_split_callback_function() публичный Метод

it_should_allow_overriding_options_with_inline_command() публичный Метод

it_should_allow_setting_additional_wp_cli_options_in_the_config_file() публичный Метод

it_should_be_instantiatable() публичный Метод

it_should_call_the_executor_with_proper_parameters() публичный Метод

it_should_call_the_split_callback_even_if_the_output_is_an_array() публичный Метод

it_should_cast_wp_cli_errors_to_exceptions_if_specified_in_config() публичный Метод

it_should_handle_the_case_where_the_command_output_is_an_empty_array() публичный Метод

it_should_handle_the_case_where_the_command_output_is_not_a_string() публичный Метод

it_should_handle_the_case_where_the_command_output_is_null() публичный Метод

it_should_not_cast_output_to_any_format() публичный Метод

public it_should_not_cast_output_to_any_format ( $raw, $expected )

it_should_not_throw_any_exception_if_specified_in_config() публичный Метод

it_should_skip_some_options_by_default() публичный Метод

it_should_throw_if_path_is_not_folder() публичный Метод

it_should_throw_if_split_callback_function_does_not_return_an_array() публичный Метод

optionalOptionsWithArguments() публичный Метод

skippedOptions() публичный Метод

public skippedOptions ( )

Описание свойств

$backupGlobals защищенное свойство

protected $backupGlobals

$config защищенное свойство

protected array $config
Результат array

$executor защищенное свойство

protected Executor,tad\WPBrowser\Environment $executor
Результат tad\WPBrowser\Environment\Executor

$moduleContainer защищенное свойство

protected ModuleContainer,Codeception\Lib $moduleContainer
Результат Codeception\Lib\ModuleContainer

$root защищенное свойство

protected vfsStreamDirectory,org\bovigo\vfs $root
Результат org\bovigo\vfs\vfsStreamDirectory

$tester защищенное свойство

protected UnitTester $tester
Результат UnitTester