function TestRunResultsStorageInterface::getCurrentTestRunState

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

Get state information about a test run, from storage.

Parameters

\Drupal\Core\Test\TestRun $test_run: The test run object.

Return value

array Array of state information, for example 'last_prefix' and 'test_class'.

1 method overrides TestRunResultsStorageInterface::getCurrentTestRunState()
SimpletestTestRunResultsStorage::getCurrentTestRunState in core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php
Get state information about a test run, from storage.

File

core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php, line 77

Class

TestRunResultsStorageInterface
Interface describing a test run results storage object.

Namespace

Drupal\Core\Test

Code

public function getCurrentTestRunState(TestRun $test_run) : array;

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