Documentation

SymfonyQuestionHelperTest extends AbstractQuestionHelperTest
in package

Tags
group

tty

Table of Contents

testAskChoice()  : mixed
testAskChoiceWithChoiceValueAsDefault()  : mixed
testAskEscapeAndFormatLabel()  : mixed
testAskEscapeDefaultValue()  : mixed
testAskReturnsNullIfValidatorAllowsIt()  : mixed
testAskThrowsExceptionOnMissingInput()  : mixed
testChoiceQuestionCustomPrompt()  : mixed
testChoiceQuestionPadding()  : mixed
testLabelTrailingBackslash()  : mixed
createInputInterfaceMock()  : mixed
createOutputInterface()  : mixed
createStreamableInputInterfaceMock()  : mixed
getInputStream()  : mixed
assertOutputContains()  : mixed

Methods

testAskChoiceWithChoiceValueAsDefault()

public testAskChoiceWithChoiceValueAsDefault() : mixed
Return values
mixed

testAskReturnsNullIfValidatorAllowsIt()

public testAskReturnsNullIfValidatorAllowsIt() : mixed
Return values
mixed

testAskThrowsExceptionOnMissingInput()

public testAskThrowsExceptionOnMissingInput() : mixed
Return values
mixed

createInputInterfaceMock()

protected createInputInterfaceMock([mixed $interactive = true ]) : mixed
Parameters
$interactive : mixed = true
Return values
mixed

createStreamableInputInterfaceMock()

protected createStreamableInputInterfaceMock([mixed $stream = null ][, mixed $interactive = true ]) : mixed
Parameters
$stream : mixed = null
$interactive : mixed = true
Return values
mixed

getInputStream()

protected getInputStream(mixed $input) : mixed
Parameters
$input : mixed
Return values
mixed

assertOutputContains()

private assertOutputContains(mixed $expected, StreamOutput $output[, mixed $normalize = false ]) : mixed
Parameters
$expected : mixed
$output : StreamOutput
$normalize : mixed = false
Return values
mixed

Search results