function TestRunResultsStorageInterface::removeResults

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

Removes the results of a test run from the storage.

Parameters

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

Return value

int The number of log entries that were removed from storage.

1 method overrides TestRunResultsStorageInterface::removeResults()
SimpletestTestRunResultsStorage::removeResults in core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php
Removes the results of a test run from the storage.

File

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

Class

TestRunResultsStorageInterface
Interface describing a test run results storage object.

Namespace

Drupal\Core\Test

Code

public function removeResults(TestRun $test_run) : int;

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