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

Breadcrumb

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

function ResultCacheHandler::testSkipped

Throws

\PHPUnit\Event\InvalidArgumentException

InvalidArgumentException

File

vendor/phpunit/phpunit/src/Runner/ResultCache/ResultCacheHandler.php, line 105

Class

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

Namespace

PHPUnit\Runner\ResultCache

Code

public function testSkipped(Skipped $event) : void {
    $this->cache
        ->setStatus($event->test()
        ->id(), TestStatus::skipped($event->message()));
    $this->cache
        ->setTime($event->test()
        ->id(), $this->duration($event));
}
RSS feed
Powered by Drupal