protected function QuestionHelperTest::getInputStream in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/QuestionHelperTest.php \Symfony\Component\Console\Tests\Helper\QuestionHelperTest::getInputStream()
11 calls to QuestionHelperTest::getInputStream()
- QuestionHelperTest::testAmbiguousChoiceFromChoicelist in vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php - @expectedException \InvalidArgumentException @expectedExceptionMessage The provided answer is ambiguous. Value should be one of env_2 or env_3.
- QuestionHelperTest::testAsk in vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php - QuestionHelperTest::testAskAndValidate in vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php - QuestionHelperTest::testAskChoice in vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php - QuestionHelperTest::testAskConfirmation in vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php - @dataProvider getAskConfirmationData
File
- vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php, line 353
Class
- QuestionHelperTest
- @group tty
Namespace
Symfony\Component\Console\Tests\HelperCode
protected function getInputStream($input) {
$stream = fopen('php://memory', 'r+', false);
fwrite($stream, $input);
rewind($stream);
return $stream;
}