function EnvironmentCleanerInterface::cleanResults

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

Clears test results from the results storage.

Parameters

\Drupal\Core\Test\TestRun $test_run: The test run object to remove results for, or NULL to remove all results.

Return value

int The number of results that were removed.

1 method overrides EnvironmentCleanerInterface::cleanResults()
EnvironmentCleaner::cleanResults in core/lib/Drupal/Core/Test/EnvironmentCleaner.php
Clears test results from the results storage.

File

core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php, line 54

Class

EnvironmentCleanerInterface
Defines an interface for cleaning up test results and fixtures.

Namespace

Drupal\Core\Test

Code

public function cleanResults(?TestRun $test_run = NULL) : int;

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