PHP Class Symfony\Component\Console\Tests\Helper\SymfonyQuestionHelperTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: symfony/symfony

Public Methods

Method Description
testAskChoice ( )
testAskEscapeAndFormatLabel ( )
testAskEscapeDefaultValue ( )
testAskReturnsNullIfValidatorAllowsIt ( )
testAskThrowsExceptionOnMissingInput ( )
testLabelTrailingBackslash ( )

Protected Methods

Method Description
createInputInterfaceMock ( $interactive = true )
createOutputInterface ( )
getInputStream ( $input )

Private Methods

Method Description
assertOutputContains ( $expected, Symfony\Component\Console\Output\StreamOutput $output )

Method Details

createInputInterfaceMock() protected method

protected createInputInterfaceMock ( $interactive = true )

createOutputInterface() protected method

protected createOutputInterface ( )

getInputStream() protected method

protected getInputStream ( $input )

testAskChoice() public method

public testAskChoice ( )

testAskEscapeAndFormatLabel() public method

testAskEscapeDefaultValue() public method

testAskReturnsNullIfValidatorAllowsIt() public method

testAskThrowsExceptionOnMissingInput() public method

testLabelTrailingBackslash() public method