public function PHPUnit_Framework_TestCase::getActualOutput

@since Method available since Release 3.6.0

Return value

string

File

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

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function getActualOutput() {
  if (!$this->outputBufferingActive) {
    return $this->output;
  }
  else {
    return ob_get_contents();
  }
}