3 * This file is part of PHPUnit.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * Prints TestDox documentation in text format.
14 * @since Class available since Release 2.1.0
16 class PHPUnit_Util_TestDox_ResultPrinter_Text extends PHPUnit_Util_TestDox_ResultPrinter
19 * Handler for 'start class' event.
23 protected function startClass($name)
25 $this->write($this->currentTestClassPrettified . "\n");
29 * Handler for 'on test' event.
32 * @param bool $success
34 protected function onTest($name, $success = true)
37 $this->write(' [x] ');
39 $this->write(' [ ] ');
42 $this->write($name . "\n");
46 * Handler for 'end class' event.
50 protected function endClass($name)