class TestDiskSpaceNonSameDisk in Automatic Updates 8
Class TestDiskSpaceNonSameDisk.
Hierarchy
- class \Drupal\automatic_updates\ReadinessChecker\Filesystem implements ReadinessCheckerInterface uses StringTranslationTrait
- class \Drupal\automatic_updates\ReadinessChecker\DiskSpace
- class \Drupal\Tests\automatic_updates\Kernel\ReadinessChecker\TestDiskSpace
- class \Drupal\Tests\automatic_updates\Kernel\ReadinessChecker\TestDiskSpaceNonSameDisk
- class \Drupal\Tests\automatic_updates\Kernel\ReadinessChecker\TestDiskSpace
- class \Drupal\automatic_updates\ReadinessChecker\DiskSpace
Expanded class hierarchy of TestDiskSpaceNonSameDisk
File
- tests/
src/ Kernel/ ReadinessChecker/ DiskSpaceTest.php, line 61
Namespace
Drupal\Tests\automatic_updates\Kernel\ReadinessCheckerView source
class TestDiskSpaceNonSameDisk extends TestDiskSpace {
/**
* {@inheritdoc}
*/
protected function areSameLogicalDisk($root, $vendor) {
return FALSE;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiskSpace:: |
protected | function | Check if the filesystem has sufficient disk space. | |
DiskSpace:: |
protected | function |
Perform checks. Overrides Filesystem:: |
|
DiskSpace:: |
constant | Megabyte divisor. | ||
Filesystem:: |
protected | property | The root file path. | |
Filesystem:: |
protected | property | The vendor file path. | |
Filesystem:: |
protected | function | Get the root file path. | |
Filesystem:: |
protected | function | Get the vendor file path. | |
Filesystem:: |
public | function |
Run check. Overrides ReadinessCheckerInterface:: |
|
Filesystem:: |
public | function | Filesystem constructor. | 1 |
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
TestDiskSpace:: |
constant |
Override the default free disk space minimum to an insanely high number. Overrides DiskSpace:: |
||
TestDiskSpaceNonSameDisk:: |
protected | function |
Determine if the root and vendor file system are the same logical disk. Overrides Filesystem:: |