function HtmlOutputPrinter::printResult

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php \Drupal\Tests\Listeners\HtmlOutputPrinter::printResult()
  2. 8.9.x core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/HtmlOutputPrinter.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit6\HtmlOutputPrinter::printResult()
  3. 8.9.x core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/HtmlOutputPrinter.php \Drupal\TestTools\PhpUnitCompatibility\PhpUnit7\HtmlOutputPrinter::printResult()
  4. 10 core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php \Drupal\Tests\Listeners\HtmlOutputPrinter::printResult()

File

core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php, line 22

Class

HtmlOutputPrinter
Defines a class for providing html output results for functional tests.

Namespace

Drupal\Tests\Listeners

Code

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.