protected function PHPUnit_Framework_TestCase::setUseOutputBufferingFromAnnotation

@since Method available since Release 3.4.0

1 call to PHPUnit_Framework_TestCase::setUseOutputBufferingFromAnnotation()
PHPUnit_Framework_TestCase::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php
Runs the test case and collects the results in a TestResult object. If no TestResult object is passed a new one will be created.

File

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

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

protected function setUseOutputBufferingFromAnnotation() {
  try {
    $useOutputBuffering = PHPUnit_Util_Test::getOutputBufferingSettings(get_class($this), $this->name);
    if ($useOutputBuffering !== NULL) {
      $this
        ->setUseOutputBuffering($useOutputBuffering);
    }
  } catch (ReflectionException $e) {
  }
}