class HtmlOutputPrinter in Drupal 9
Defines a class for providing html output results for functional tests.
@internal
Hierarchy
- class \Drupal\Tests\Listeners\HtmlOutputPrinter extends \Drupal\Tests\Listeners\ResultPrinterBase uses HtmlOutputPrinterTrait
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();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HtmlOutputPrinter:: |
public | function | ||
HtmlOutputPrinterTrait:: |
protected | property | File to write html links to. | |
HtmlOutputPrinterTrait:: |
protected | function | Prints the list of HTML output generated during the test. | |
HtmlOutputPrinterTrait:: |
protected | function | Creates the file to list the HTML output created during the test. | |
HtmlOutputPrinterTrait:: |
public | function | Prints HTML output links for the Simpletest UI. | |
HtmlOutputPrinterTrait:: |
public | function |