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