function HtmlOutputLogger::__construct

Throws

\PHPUnit\Event\EventFacadeIsSealedException

\PHPUnit\Util\Exception

\PHPUnit\Event\UnknownSubscriberTypeException

\RuntimeException

File

core/tests/Drupal/TestTools/Extension/HtmlLogging/HtmlOutputLogger.php, line 34

Class

HtmlOutputLogger
Drupal's extension for providing HTML output results for functional tests.

Namespace

Drupal\TestTools\Extension\HtmlLogging

Code

private function __construct(string $outputDirectory, bool $outputVerbose, Facade $facade) {
    $this->facade
        ->registerSubscriber(new TestRunnerStartedSubscriber($this));
    $this->facade
        ->registerSubscriber(new TestRunnerFinishedSubscriber($this));
}

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