Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DispatchingEmitter.php

function DispatchingEmitter::testErrored

Throws

InvalidArgumentException

UnknownEventTypeException

Overrides Emitter::testErrored

File

vendor/phpunit/phpunit/src/Event/Emitter/DispatchingEmitter.php, line 679

Class

DispatchingEmitter
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Event

Code

public function testErrored(Code\Test $test, Throwable $throwable) : void {
    $this->dispatcher
        ->dispatch(new Test\Errored($this->telemetryInfo(), $test, $throwable));
}
RSS feed
Powered by Drupal