class StubEnvironmentCleanerService in Drupal 8
Mock environment_cleaner service that does not perform any cleaning.
Hierarchy
- class \Drupal\Tests\simpletest\Kernel\StubEnvironmentCleanerService implements EnvironmentCleanerInterface
Expanded class hierarchy of StubEnvironmentCleanerService
File
- core/
modules/ simpletest/ tests/ src/ Kernel/ DeprecatedCleanupTest.php, line 47
Namespace
Drupal\Tests\simpletest\KernelView source
class StubEnvironmentCleanerService implements EnvironmentCleanerInterface {
public function cleanDatabase() {
}
public function cleanEnvironment($clear_results = TRUE, $clear_temp_directories = TRUE, $clear_database = TRUE) {
}
public function cleanResultsTable($test_id = NULL) {
}
public function cleanTemporaryDirectories() {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StubEnvironmentCleanerService:: |
public | function |
Remove database entries left over in the fixture database. Overrides EnvironmentCleanerInterface:: |
|
StubEnvironmentCleanerService:: |
public | function |
Removes all test-related database tables and directories. Overrides EnvironmentCleanerInterface:: |
|
StubEnvironmentCleanerService:: |
public | function |
Clears test result tables from the results database. Overrides EnvironmentCleanerInterface:: |
|
StubEnvironmentCleanerService:: |
public | function |
Finds all leftover fixture site directories and removes them. Overrides EnvironmentCleanerInterface:: |