class SimpletestUiPrinter
Same name in this branch
- 8.9.x core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/SimpletestUiPrinter.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\SimpletestUiPrinter
Same name in other branches
- 9 core/tests/Drupal/Tests/Listeners/SimpletestUiPrinter.php \Drupal\Tests\Listeners\SimpletestUiPrinter
Defines a class for providing html output links in the Simpletest UI.
Hierarchy
- class \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\HtmlOutputPrinter extends \PHPUnit\TextUI\ResultPrinter uses \Drupal\Tests\Listeners\HtmlOutputPrinterTrait
- class \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\SimpletestUiPrinter extends \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\HtmlOutputPrinter
Expanded class hierarchy of SimpletestUiPrinter
File
-
core/
tests/ Drupal/ TestTools/ PhpUnitCompatibility/ PhpUnit7/ SimpletestUiPrinter.php, line 8
Namespace
Drupal\TestTools\PhpUnitCompatibility\PhpUnit7View source
class SimpletestUiPrinter extends HtmlOutputPrinter {
/**
* {@inheritdoc}
*/
public function write(string $buffer) : void {
$this->simpletestUiWrite($buffer);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
HtmlOutputPrinter::printResult | public | function | |
HtmlOutputPrinterTrait::$browserOutputFile | protected | property | File to write html links to. |
HtmlOutputPrinterTrait::printHtmlOutput | protected | function | Prints the list of HTML output generated during the test. |
HtmlOutputPrinterTrait::setUpHtmlOutput | protected | function | Creates the file to list the HTML output created during the test. |
HtmlOutputPrinterTrait::simpletestUiWrite | public | function | Prints HTML output links for the Simpletest UI. |
HtmlOutputPrinterTrait::__construct | public | function | |
SimpletestUiPrinter::write | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.