class SimpletestUiPrinter in Drupal 9
Defines a class for providing html output links in the Simpletest UI.
Hierarchy
- class \Drupal\Tests\Listeners\HtmlOutputPrinter extends \Drupal\Tests\Listeners\ResultPrinterBase uses HtmlOutputPrinterTrait
- class \Drupal\Tests\Listeners\SimpletestUiPrinter
Expanded class hierarchy of SimpletestUiPrinter
1 file declares its use of SimpletestUiPrinter
- PhpUnitTestRunner.php in core/
lib/ Drupal/ Core/ Test/ PhpUnitTestRunner.php
File
- core/
tests/ Drupal/ Tests/ Listeners/ SimpletestUiPrinter.php, line 8
Namespace
Drupal\Tests\ListenersView source
class SimpletestUiPrinter extends HtmlOutputPrinter {
/**
* {@inheritdoc}
*/
public function write(string $buffer) : void {
$this
->simpletestUiWrite($buffer);
}
}
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 | ||
SimpletestUiPrinter:: |
public | function |