3 namespace Drupal\Tests\Listeners\Legacy;
5 use Drupal\Tests\Listeners\HtmlOutputPrinterTrait;
8 * Defines a class for providing html output results for functional tests.
12 class HtmlOutputPrinter extends \PHPUnit_TextUI_ResultPrinter {
13 use HtmlOutputPrinterTrait;
18 public function __construct($out, $verbose, $colors, $debug, $numberOfColumns) {
19 parent::__construct($out, $verbose, $colors, $debug, $numberOfColumns);
21 $this->setUpHtmlOutput();
27 public function printResult(\PHPUnit_Framework_TestResult $result) {
28 parent::printResult($result);
30 $this->printHtmlOutput();