function HtmlOutputPrinter::printResult

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

File

core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/HtmlOutputPrinter.php, line 21

Class

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

Namespace

Drupal\TestTools\PhpUnitCompatibility\PhpUnit6

Code

public function printResult(TestResult $result) {
    parent::printResult($result);
    $this->printHtmlOutput();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.