class PluginDevelopEntityFromYamlTest extends AbstractCommandTest

Constants

LOOP_MAX_LIMIT

Properties

protected Command $command from AbstractCommandTest
protected CommandTester $tester from AbstractCommandTest
protected int $contentCnt $contentCnt from AbstractCommandTest
protected string $content $content from AbstractCommandTest
protected int $loopCnt $loopCnt from AbstractCommandTest
protected int $loopCheckSum $loopCheckSum from AbstractCommandTest

Methods

initCommand(Command $PluginCommand)

$PluginCommand

executeTester(array $callback, array $commandArg)

executeTester

string
getLastContent()

getLastContent

addCommand(Command $command)

addCommand

mockQuestionHelper(Command $cmd, callable $mockHandler)

mockQuestionHelper

string
getQuestionMark(int $no)

getQuestionMark

createApplication()

No description

setUp()

No description

testFirst()

No description

checkQuestion($text, Question $question)

No description

assertInOutput($output, $msg)

No description

setTestCase($testCase)

No description

removePluginDir($pluginPath)

No description

createPluginDir($codePath, $code)

No description

checkFileAndFolder($ff)

No description

Details

in AbstractCommandTest at line 57
protected initCommand(Command $PluginCommand)

$PluginCommand

Parameters

Command $PluginCommand

in AbstractCommandTest at line 68
protected executeTester(array $callback, array $commandArg)

executeTester

Parameters

array $callback
array $commandArg

in AbstractCommandTest at line 83
protected string getLastContent()

getLastContent

Return Value

string

Exceptions

Exception

in AbstractCommandTest at line 109
protected addCommand(Command $command)

addCommand

Parameters

Command $command

in AbstractCommandTest at line 122
protected mockQuestionHelper(Command $cmd, callable $mockHandler)

mockQuestionHelper

Parameters

Command $cmd
callable $mockHandler

in AbstractCommandTest at line 134
protected string getQuestionMark(int $no)

getQuestionMark

Parameters

int $no

Return Value

string

in AbstractCommandTest at line 139
createApplication()

at line 16
setUp()

at line 22
testFirst()

at line 130
checkQuestion($text, Question $question)

Parameters

$text
Question $question

at line 168
protected assertInOutput($output, $msg)

Parameters

$output
$msg

at line 179
protected setTestCase($testCase)

Parameters

$testCase

at line 184
protected removePluginDir($pluginPath)

Parameters

$pluginPath

at line 192
protected createPluginDir($codePath, $code)

Parameters

$codePath
$code

at line 216
protected checkFileAndFolder($ff)

Parameters

$ff