public function AbstractProcessTest::testTTYInWindowsEnvironment in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::testTTYInWindowsEnvironment()
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 493
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function testTTYInWindowsEnvironment() {
if ('\\' !== DIRECTORY_SEPARATOR) {
$this
->markTestSkipped('This test is for Windows platform only');
}
$process = $this
->getProcess('echo "foo" >> /dev/null');
$process
->setTty(false);
$this
->setExpectedException('Symfony\\Component\\Process\\Exception\\RuntimeException', 'TTY mode is not supported on Windows platform.');
$process
->setTty(true);
}