Project

General

Profile

Bug #21487 » phpunit-output-buffer.diff

Administrator Admin, 2009-11-06 19:37

View differences:

mod1/class.tx_phpunit_module1.php (working copy)
echo $this->doc->startPage($this->getLL('title'));
echo $this->doc->section('', $this->doc->funcMenu(PHPUnit_Runner_Version::getVersionString(), t3lib_BEfunc::getFuncMenu($this->id, 'SET[function]', $this->MOD_SETTINGS['function'], $this->MOD_MENU['function'])));
// disables output buffering so the result of each test is visible
// immediately
ob_end_flush();
// disables output buffering so the result of each test is visible immediately
t3lib_div::flushOutputBuffers();
// Render content:
switch ($this->MOD_SETTINGS['function']) {
(2-2/3)