class TestRunnerFinishedSubscriber

Event subscriber notifying end of test runner execution to HTML logging.

@internal

Hierarchy

  • class \Drupal\TestTools\Extension\HtmlLogging\SubscriberBase
    • class \Drupal\TestTools\Extension\HtmlLogging\TestRunnerFinishedSubscriber extends \Drupal\TestTools\Extension\HtmlLogging\SubscriberBase implements \PHPUnit\Event\TestRunner\FinishedSubscriber

Expanded class hierarchy of TestRunnerFinishedSubscriber

File

core/tests/Drupal/TestTools/Extension/HtmlLogging/TestRunnerFinishedSubscriber.php, line 15

Namespace

Drupal\TestTools\Extension\HtmlLogging
View source
final class TestRunnerFinishedSubscriber extends SubscriberBase implements FinishedSubscriber {
    public function notify(Finished $event) : void {
        $this->logger()
            ->testRunnerFinished($event);
    }

}

Members

Title Sort descending Modifiers Object type Summary
SubscriberBase::logger protected function
SubscriberBase::__construct public function
TestRunnerFinishedSubscriber::notify public function

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