You are here

public function AbstractProcessTest::responsesCodeProvider 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::responsesCodeProvider()

File

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

Class

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

Namespace

Symfony\Component\Process\Tests

Code

public function responsesCodeProvider() {
  return array(
    //expected output / getter / code to execute

    //array(1,'getExitCode','exit(1);'),

    //array(true,'isSuccessful','exit();'),
    array(
      'output',
      'getOutput',
      'echo \'output\';',
    ),
  );
}