private function PHPUnit_Framework_TestCase::startOutputBuffering in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::startOutputBuffering()
@since Method available since Release 4.2.0
1 call to PHPUnit_Framework_TestCase::startOutputBuffering()
- PHPUnit_Framework_TestCase::runBare in vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php - Runs the bare test sequence.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php, line 1899
Class
- PHPUnit_Framework_TestCase
- A TestCase defines the fixture to run multiple tests.
Code
private function startOutputBuffering() {
while (!defined('PHPUNIT_TESTSUITE') && ob_get_level() > 0) {
ob_end_clean();
}
ob_start();
$this->outputBufferingActive = true;
$this->outputBufferingLevel = ob_get_level();
}