function TestRunResultsStorageInterface::buildTestingResultsEnvironment
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php \Drupal\Core\Test\TestRunResultsStorageInterface::buildTestingResultsEnvironment()
- 10 core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php \Drupal\Core\Test\TestRunResultsStorageInterface::buildTestingResultsEnvironment()
Prepares the test run storage.
Parameters
bool $keep_results: If TRUE, any pre-existing storage will be preserved; if FALSE, pre-existing storage will be cleaned up.
2 methods override TestRunResultsStorageInterface::buildTestingResultsEnvironment()
- MemoryTestRunResultsStorage::buildTestingResultsEnvironment in core/
tests/ Drupal/ TestTools/ TestRunner/ MemoryTestRunResultsStorage.php - Prepares the test run storage.
- SimpletestTestRunResultsStorage::buildTestingResultsEnvironment in core/
lib/ Drupal/ Core/ Test/ SimpletestTestRunResultsStorage.php - Prepares the test run storage.
File
-
core/
lib/ Drupal/ Core/ Test/ TestRunResultsStorageInterface.php, line 86
Class
- TestRunResultsStorageInterface
- Interface describing a test run results storage object.
Namespace
Drupal\Core\TestCode
public function buildTestingResultsEnvironment(bool $keep_results) : void;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.