HtmlOutputPrinter.php in Drupal 8
File
core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/HtmlOutputPrinter.php
View source
<?php
namespace Drupal\TestTools\PhpUnitCompatibility\PhpUnit6;
use Drupal\Tests\Listeners\HtmlOutputPrinterTrait;
use PHPUnit\Framework\TestResult;
use PHPUnit\TextUI\ResultPrinter;
class HtmlOutputPrinter extends ResultPrinter {
use HtmlOutputPrinterTrait;
public function printResult(TestResult $result) {
parent::printResult($result);
$this
->printHtmlOutput();
}
}
Classes
Name |
Description |
HtmlOutputPrinter |
Defines a class for providing html output results for functional tests. |