QuestionHelperTest
extends AbstractQuestionHelperTest
in package
Tags
Table of Contents
Methods
- answerProvider() : mixed
- getAskConfirmationData() : mixed
- mixedKeysChoiceListAnswerProvider() : mixed
- simpleAnswerProvider() : mixed
- specialCharacterInMultipleChoice() : mixed
- testAmbiguousChoiceFromChoicelist() : mixed
- testAsk() : mixed
- testAskAndValidate() : mixed
- testAskChoice() : mixed
- testAskConfirmation() : mixed
- testAskConfirmationWithCustomTrueAnswer() : mixed
- testAskHiddenResponse() : mixed
- testAskThrowsExceptionOnMissingInput() : mixed
- testAskThrowsExceptionOnMissingInputWithValidator() : mixed
- testAskWithAutocomplete() : mixed
- testAskWithAutocompleteWithNonSequentialKeys() : mixed
- testChoiceFromChoicelistWithMixedKeys() : mixed
- testChoiceOutputFormattingQuestionForUtf8Keys() : mixed
- testEmptyChoices() : mixed
- testLegacyAmbiguousChoiceFromChoicelist() : mixed
- testLegacyAsk() : mixed
- testLegacyAskAndValidate() : mixed
- testLegacyAskChoice() : mixed
- testLegacyAskConfirmation() : mixed
- testLegacyAskConfirmationWithCustomTrueAnswer() : mixed
- testLegacyAskHiddenResponse() : mixed
- testLegacyAskWithAutocomplete() : mixed
- testLegacyAskWithAutocompleteWithNonSequentialKeys() : mixed
- testLegacyChoiceFromChoicelistWithMixedKeys() : mixed
- testLegacyChoiceOutputFormattingQuestionForUtf8Keys() : mixed
- testLegacySelectChoiceFromChoiceList() : mixed
- testLegacySelectChoiceFromSimpleChoices() : mixed
- testNoInteraction() : mixed
- testSelectChoiceFromChoiceList() : mixed
- testSelectChoiceFromSimpleChoices() : mixed
- testSpecialCharacterChoiceFromMultipleChoiceList() : mixed
- createInputInterfaceMock() : mixed
- createOutputInterface() : mixed
- createStreamableInputInterfaceMock() : mixed
- getInputStream() : mixed
- hasSttyAvailable() : mixed
Methods
answerProvider()
public
answerProvider() : mixed
getAskConfirmationData()
public
getAskConfirmationData() : mixed
mixedKeysChoiceListAnswerProvider()
public
mixedKeysChoiceListAnswerProvider() : mixed
simpleAnswerProvider()
public
simpleAnswerProvider() : mixed
specialCharacterInMultipleChoice()
public
specialCharacterInMultipleChoice() : mixed
testAmbiguousChoiceFromChoicelist()
public
testAmbiguousChoiceFromChoicelist() : mixed
Tags
testAsk()
public
testAsk() : mixed
testAskAndValidate()
public
testAskAndValidate() : mixed
testAskChoice()
public
testAskChoice() : mixed
testAskConfirmation()
public
testAskConfirmation(mixed $question, mixed $expected[, mixed $default = true ]) : mixed
Parameters
- $question : mixed
- $expected : mixed
- $default : mixed = true
Tags
testAskConfirmationWithCustomTrueAnswer()
public
testAskConfirmationWithCustomTrueAnswer() : mixed
testAskHiddenResponse()
public
testAskHiddenResponse() : mixed
testAskThrowsExceptionOnMissingInput()
public
testAskThrowsExceptionOnMissingInput() : mixed
Tags
testAskThrowsExceptionOnMissingInputWithValidator()
public
testAskThrowsExceptionOnMissingInputWithValidator() : mixed
Tags
testAskWithAutocomplete()
public
testAskWithAutocomplete() : mixed
testAskWithAutocompleteWithNonSequentialKeys()
public
testAskWithAutocompleteWithNonSequentialKeys() : mixed
testChoiceFromChoicelistWithMixedKeys()
public
testChoiceFromChoicelistWithMixedKeys(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
testChoiceOutputFormattingQuestionForUtf8Keys()
public
testChoiceOutputFormattingQuestionForUtf8Keys() : mixed
Tags
testEmptyChoices()
public
testEmptyChoices() : mixed
Tags
testLegacyAmbiguousChoiceFromChoicelist()
public
testLegacyAmbiguousChoiceFromChoicelist() : mixed
Tags
testLegacyAsk()
public
testLegacyAsk() : mixed
Tags
testLegacyAskAndValidate()
public
testLegacyAskAndValidate() : mixed
Tags
testLegacyAskChoice()
public
testLegacyAskChoice() : mixed
Tags
testLegacyAskConfirmation()
public
testLegacyAskConfirmation(mixed $question, mixed $expected[, mixed $default = true ]) : mixed
Parameters
- $question : mixed
- $expected : mixed
- $default : mixed = true
Tags
testLegacyAskConfirmationWithCustomTrueAnswer()
public
testLegacyAskConfirmationWithCustomTrueAnswer() : mixed
Tags
testLegacyAskHiddenResponse()
public
testLegacyAskHiddenResponse() : mixed
Tags
testLegacyAskWithAutocomplete()
public
testLegacyAskWithAutocomplete() : mixed
Tags
testLegacyAskWithAutocompleteWithNonSequentialKeys()
public
testLegacyAskWithAutocompleteWithNonSequentialKeys() : mixed
Tags
testLegacyChoiceFromChoicelistWithMixedKeys()
public
testLegacyChoiceFromChoicelistWithMixedKeys(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
testLegacyChoiceOutputFormattingQuestionForUtf8Keys()
public
testLegacyChoiceOutputFormattingQuestionForUtf8Keys() : mixed
Tags
testLegacySelectChoiceFromChoiceList()
public
testLegacySelectChoiceFromChoiceList(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
testLegacySelectChoiceFromSimpleChoices()
public
testLegacySelectChoiceFromSimpleChoices(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
testNoInteraction()
public
testNoInteraction() : mixed
testSelectChoiceFromChoiceList()
public
testSelectChoiceFromChoiceList(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
testSelectChoiceFromSimpleChoices()
public
testSelectChoiceFromSimpleChoices(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
testSpecialCharacterChoiceFromMultipleChoiceList()
public
testSpecialCharacterChoiceFromMultipleChoiceList(mixed $providedAnswer, mixed $expectedValue) : mixed
Parameters
- $providedAnswer : mixed
- $expectedValue : mixed
Tags
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
hasSttyAvailable()
private
hasSttyAvailable() : mixed