TestRunnerFinishedSubscriber.php

Same filename in this branch
  1. 11.x core/tests/Drupal/TestTools/Extension/HtmlLogging/TestRunnerFinishedSubscriber.php

Namespace

Drupal\TestTools\Extension\Dump

File

core/tests/Drupal/TestTools/Extension/Dump/TestRunnerFinishedSubscriber.php

View source
<?php

declare (strict_types=1);
namespace Drupal\TestTools\Extension\Dump;

use PHPUnit\Event\TestRunner\Finished;
use PHPUnit\Event\TestRunner\FinishedSubscriber;

/**
 * Event subscriber notifying end of test runner execution to HTML logging.
 *
 * @internal
 */
final class TestRunnerFinishedSubscriber implements FinishedSubscriber {
    public function __construct(DebugDump $dump) {
    }
    public function notify(Finished $event) : void {
        $this->dump
            ->testRunnerFinished($event);
    }

}

Classes

Title Deprecated Summary
TestRunnerFinishedSubscriber Event subscriber notifying end of test runner execution to HTML logging.

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