You are here

public function AbstractProcessTest::chainedCommandsOutputProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::chainedCommandsOutputProvider()

File

vendor/symfony/process/Tests/AbstractProcessTest.php, line 265

Class

AbstractProcessTest
@author Robert Schönthal <seroscho@googlemail.com>

Namespace

Symfony\Component\Process\Tests

Code

public function chainedCommandsOutputProvider() {
  if ('\\' === DIRECTORY_SEPARATOR) {
    return array(
      array(
        "2 \r\n2\r\n",
        '&&',
        '2',
      ),
    );
  }
  return array(
    array(
      "1\n1\n",
      ';',
      '1',
    ),
    array(
      "2\n2\n",
      '&&',
      '2',
    ),
  );
}