You are here

HtmlOutputPrinter.php in Drupal 8

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

In order to manage different method signatures between PHPUnit versions, we dynamically load a class dependent on the PHPUnit runner version.

File

core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php
View source
<?php

/**
 * @file
 * Defines a class for providing html output results for functional tests.
 *
 * In order to manage different method signatures between PHPUnit versions, we
 * dynamically load a class dependent on the PHPUnit runner version.
 */
namespace Drupal\Tests\Listeners;

use Drupal\TestTools\PhpUnitCompatibility\RunnerVersion;
class_alias("Drupal\\TestTools\\PhpUnitCompatibility\\PhpUnit" . RunnerVersion::getMajor() . "\\HtmlOutputPrinter", HtmlOutputPrinter::class);