class HtmlOutputPrinter in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/HtmlOutputPrinter.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\HtmlOutputPrinter
- 8 core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/HtmlOutputPrinter.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\HtmlOutputPrinter
Defines a class for providing html output results for functional tests.
@internal
Hierarchy
- class \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\HtmlOutputPrinter extends \PHPUnit\TextUI\ResultPrinter uses HtmlOutputPrinterTrait
Expanded class hierarchy of HtmlOutputPrinter
File
- core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit6/ HtmlOutputPrinter.php, line 14
Namespace
Drupal\TestTools\PhpUnitCompatibility\PhpUnit6View source
class HtmlOutputPrinter extends ResultPrinter {
use HtmlOutputPrinterTrait;
/**
* {@inheritdoc}
*/
public function printResult(TestResult $result) {
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 |