public function PHPUnit_Framework_TestCase::expectOutputString

@since Method available since Release 3.6.0

Parameters

string $expectedString:

8 calls to PHPUnit_Framework_TestCase::expectOutputString()

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 428

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function expectOutputString($expectedString) {
  if ($this->outputExpectedRegex !== NULL) {
    throw new PHPUnit_Framework_Exception();
  }
  if (is_string($expectedString) || is_null($expectedString)) {
    $this->outputExpectedString = $expectedString;
  }
}