You are here

class TestDiskSpace in Automatic Updates 8

Class TestDiskSpace.

Hierarchy

Expanded class hierarchy of TestDiskSpace

File

tests/src/Kernel/ReadinessChecker/DiskSpaceTest.php, line 49

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker
View source
class TestDiskSpace extends DiskSpace {

  /**
   * Override the default free disk space minimum to an insanely high number.
   */
  const MINIMUM_DISK_SPACE = 1.0E+50;

}

Members

Namesort descending Modifiers Type Description Overrides
DiskSpace::diskSpaceCheck protected function Check if the filesystem has sufficient disk space.
DiskSpace::doCheck protected function Perform checks. Overrides Filesystem::doCheck
DiskSpace::MEGABYTE_DIVISOR constant Megabyte divisor.
Filesystem::$rootPath protected property The root file path.
Filesystem::$vendorPath protected property The vendor file path.
Filesystem::areSameLogicalDisk protected function Determine if the root and vendor file system are the same logical disk. 2
Filesystem::getRootPath protected function Get the root file path.
Filesystem::getVendorPath protected function Get the vendor file path.
Filesystem::run public function Run check. Overrides ReadinessCheckerInterface::run
Filesystem::__construct public function Filesystem constructor. 1
StringTranslationTrait::$stringTranslation protected property The string translation service. 1
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
TestDiskSpace::MINIMUM_DISK_SPACE constant Override the default free disk space minimum to an insanely high number. Overrides DiskSpace::MINIMUM_DISK_SPACE