SymfonyQuestionHelperTest
extends AbstractQuestionHelperTest
in package
Tags
Table of Contents
Methods
- testAskChoice() : mixed
- testAskEscapeAndFormatLabel() : mixed
- testAskEscapeDefaultValue() : mixed
- testAskReturnsNullIfValidatorAllowsIt() : mixed
- testAskThrowsExceptionOnMissingInput() : mixed
- testLabelTrailingBackslash() : mixed
- createInputInterfaceMock() : mixed
- createOutputInterface() : mixed
- createStreamableInputInterfaceMock() : mixed
- getInputStream() : mixed
- assertOutputContains() : mixed
Methods
testAskChoice()
public
testAskChoice() : mixed
testAskEscapeAndFormatLabel()
public
testAskEscapeAndFormatLabel() : mixed
testAskEscapeDefaultValue()
public
testAskEscapeDefaultValue() : mixed
testAskReturnsNullIfValidatorAllowsIt()
public
testAskReturnsNullIfValidatorAllowsIt() : mixed
testAskThrowsExceptionOnMissingInput()
public
testAskThrowsExceptionOnMissingInput() : mixed
Tags
testLabelTrailingBackslash()
public
testLabelTrailingBackslash() : mixed
createInputInterfaceMock()
protected
createInputInterfaceMock([mixed $interactive = true ]) : mixed
Parameters
- $interactive : mixed = true
createOutputInterface()
protected
createOutputInterface() : mixed
createStreamableInputInterfaceMock()
protected
createStreamableInputInterfaceMock([mixed $stream = null ][, mixed $interactive = true ]) : mixed
Parameters
- $stream : mixed = null
- $interactive : mixed = true
getInputStream()
protected
getInputStream(mixed $input) : mixed
Parameters
- $input : mixed
assertOutputContains()
private
assertOutputContains(mixed $expected, StreamOutput $output) : mixed
Parameters
- $expected : mixed
- $output : StreamOutput