![]() |
TYPO3
7.6
|
Public Member Functions | |
testAskChoice () | |
testAsk () | |
testAskWithAutocomplete () | |
testAskHiddenResponse () | |
testAskConfirmation ($question, $expected, $default=true) | |
getAskConfirmationData () | |
testAskConfirmationWithCustomTrueAnswer () | |
testAskAndValidate () | |
testSelectChoiceFromSimpleChoices ($providedAnswer, $expectedValue) | |
simpleAnswerProvider () | |
testChoiceFromChoicelistWithMixedKeys ($providedAnswer, $expectedValue) | |
mixedKeysChoiceListAnswerProvider () | |
testSelectChoiceFromChoiceList ($providedAnswer, $expectedValue) | |
testAmbiguousChoiceFromChoicelist () | |
answerProvider () | |
testNoInteraction () | |
Protected Member Functions | |
getInputStream ($input) | |
createOutputInterface () | |
createInputInterfaceMock ($interactive=true) | |
Private Member Functions | |
hasSttyAvailable () | |
tty
Definition at line 25 of file QuestionHelperTest.php.
answerProvider | ( | ) |
Definition at line 336 of file QuestionHelperTest.php.
|
protected |
Definition at line 367 of file QuestionHelperTest.php.
Referenced by QuestionHelperTest\testAmbiguousChoiceFromChoicelist(), QuestionHelperTest\testAskAndValidate(), QuestionHelperTest\testAskChoice(), QuestionHelperTest\testChoiceFromChoicelistWithMixedKeys(), QuestionHelperTest\testSelectChoiceFromChoiceList(), and QuestionHelperTest\testSelectChoiceFromSimpleChoices().
|
protected |
Definition at line 362 of file QuestionHelperTest.php.
Referenced by QuestionHelperTest\testAmbiguousChoiceFromChoicelist(), QuestionHelperTest\testAsk(), QuestionHelperTest\testAskAndValidate(), QuestionHelperTest\testAskChoice(), QuestionHelperTest\testAskConfirmation(), QuestionHelperTest\testAskConfirmationWithCustomTrueAnswer(), QuestionHelperTest\testAskHiddenResponse(), QuestionHelperTest\testAskWithAutocomplete(), QuestionHelperTest\testChoiceFromChoicelistWithMixedKeys(), QuestionHelperTest\testNoInteraction(), QuestionHelperTest\testSelectChoiceFromChoiceList(), and QuestionHelperTest\testSelectChoiceFromSimpleChoices().
getAskConfirmationData | ( | ) |
Definition at line 164 of file QuestionHelperTest.php.
|
protected |
Definition at line 353 of file QuestionHelperTest.php.
Referenced by QuestionHelperTest\testAmbiguousChoiceFromChoicelist(), QuestionHelperTest\testAsk(), QuestionHelperTest\testAskAndValidate(), QuestionHelperTest\testAskChoice(), QuestionHelperTest\testAskConfirmation(), QuestionHelperTest\testAskConfirmationWithCustomTrueAnswer(), QuestionHelperTest\testAskHiddenResponse(), QuestionHelperTest\testAskWithAutocomplete(), QuestionHelperTest\testChoiceFromChoicelistWithMixedKeys(), QuestionHelperTest\testSelectChoiceFromChoiceList(), and QuestionHelperTest\testSelectChoiceFromSimpleChoices().
|
private |
Definition at line 377 of file QuestionHelperTest.php.
Referenced by QuestionHelperTest\testAskWithAutocomplete().
mixedKeysChoiceListAnswerProvider | ( | ) |
Definition at line 278 of file QuestionHelperTest.php.
simpleAnswerProvider | ( | ) |
Definition at line 242 of file QuestionHelperTest.php.
testAmbiguousChoiceFromChoicelist | ( | ) |
The provided answer is ambiguous. Value should be one of env_2 or env_3.
Definition at line 317 of file QuestionHelperTest.php.
References QuestionHelperTest\createInputInterfaceMock(), QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAsk | ( | ) |
Definition at line 87 of file QuestionHelperTest.php.
References QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAskAndValidate | ( | ) |
Definition at line 187 of file QuestionHelperTest.php.
References QuestionHelperTest\createInputInterfaceMock(), QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAskChoice | ( | ) |
Definition at line 27 of file QuestionHelperTest.php.
References QuestionHelperTest\createInputInterfaceMock(), QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAskConfirmation | ( | $question, | |
$expected, | |||
$default = true |
|||
) |
getAskConfirmationData
Definition at line 155 of file QuestionHelperTest.php.
References QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAskConfirmationWithCustomTrueAnswer | ( | ) |
Definition at line 176 of file QuestionHelperTest.php.
References QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAskHiddenResponse | ( | ) |
Definition at line 137 of file QuestionHelperTest.php.
References QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testAskWithAutocomplete | ( | ) |
Definition at line 103 of file QuestionHelperTest.php.
References QuestionHelperTest\createOutputInterface(), QuestionHelperTest\getInputStream(), and QuestionHelperTest\hasSttyAvailable().
testChoiceFromChoicelistWithMixedKeys | ( | $providedAnswer, | |
$expectedValue | |||
) |
mixedKeysChoiceListAnswerProvider
Definition at line 257 of file QuestionHelperTest.php.
References QuestionHelperTest\createInputInterfaceMock(), QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testNoInteraction | ( | ) |
Definition at line 346 of file QuestionHelperTest.php.
References QuestionHelperTest\createOutputInterface().
testSelectChoiceFromChoiceList | ( | $providedAnswer, | |
$expectedValue | |||
) |
answerProvider
Definition at line 293 of file QuestionHelperTest.php.
References QuestionHelperTest\createInputInterfaceMock(), QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().
testSelectChoiceFromSimpleChoices | ( | $providedAnswer, | |
$expectedValue | |||
) |
simpleAnswerProvider
Definition at line 222 of file QuestionHelperTest.php.
References QuestionHelperTest\createInputInterfaceMock(), QuestionHelperTest\createOutputInterface(), and QuestionHelperTest\getInputStream().