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

Breadcrumb

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

function TestRunner::canTimeLimitBeEnforced

1 call to TestRunner::canTimeLimitBeEnforced()
TestRunner::run in vendor/phpunit/phpunit/src/Framework/TestRunner.php

File

vendor/phpunit/phpunit/src/Framework/TestRunner.php, line 384

Class

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

Namespace

PHPUnit\Framework

Code

private function canTimeLimitBeEnforced() : bool {
    if ($this->timeLimitCanBeEnforced !== null) {
        return $this->timeLimitCanBeEnforced;
    }
    $this->timeLimitCanBeEnforced = (new Invoker())->canInvokeWithTimeout();
    return $this->timeLimitCanBeEnforced;
}
RSS feed
Powered by Drupal