function TestRun::__construct

Same name in other branches
  1. 10 core/lib/Drupal/Core/Test/TestRun.php \Drupal\Core\Test\TestRun::__construct()

TestRun constructor.

Parameters

\Drupal\Core\Test\TestRunResultsStorageInterface $testRunResultsStorage: The test run results storage.

int|string $testId: A unique test run id.

File

core/lib/Drupal/Core/Test/TestRun.php, line 34

Class

TestRun
Implements an object that tracks execution of a test run.

Namespace

Drupal\Core\Test

Code

public function __construct(TestRunResultsStorageInterface $testRunResultsStorage, int|string $testId) {
}

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