class HtmlOutputPrinter
Defines a class for providing html output results for functional tests.
@internal
Hierarchy
- class \Drupal\Tests\Listeners\HtmlOutputPrinter uses \Drupal\Tests\Listeners\HtmlOutputPrinterTrait implements \Drupal\Tests\Listeners\ResultPrinterBase
Expanded class hierarchy of HtmlOutputPrinter
File
-
core/
tests/ Drupal/ Tests/ Listeners/ HtmlOutputPrinter.php, line 25
Namespace
Drupal\Tests\ListenersView source
class HtmlOutputPrinter extends ResultPrinterBase {
use HtmlOutputPrinterTrait;
/**
* {@inheritdoc}
*/
public function printResult(TestResult $result) : void {
parent::printResult($result);
$this->printHtmlOutput();
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.