public function PHPUnit_Framework_TestCase::expectOutputString

@since Method available since Release 3.6.0

Parameters

string $expectedString:

8 calls to PHPUnit_Framework_TestCase::expectOutputString()
Issue433Test::testNotMatchingOutput in drupal/core/vendor/phpunit/phpunit/Tests/Regression/GitHub/433/Issue433Test.php
Issue433Test::testOutputWithExpectationAfter in drupal/core/vendor/phpunit/phpunit/Tests/Regression/GitHub/433/Issue433Test.php
Issue433Test::testOutputWithExpectationBefore in drupal/core/vendor/phpunit/phpunit/Tests/Regression/GitHub/433/Issue433Test.php
Issue445Test::testNotMatchingOutput in drupal/core/vendor/phpunit/phpunit/Tests/Regression/GitHub/445/Issue445Test.php
Issue445Test::testOutputWithExpectationAfter in drupal/core/vendor/phpunit/phpunit/Tests/Regression/GitHub/445/Issue445Test.php

... See full list

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;
  }
}