You are here

class TestReadOnlyFileSystem in Automatic Updates 8

Test class to root and vendor directories in different logic disks.

Calls to stat() does not work on \org\bovigo\vfs\vfsStream.

Hierarchy

Expanded class hierarchy of TestReadOnlyFileSystem

File

tests/src/Kernel/ReadinessChecker/ReadOnlyFilesystemTest.php, line 207

Namespace

Drupal\Tests\automatic_updates\Kernel\ReadinessChecker
View source
class TestReadOnlyFileSystem extends ReadOnlyFilesystem {

  /**
   * {@inheritdoc}
   */
  protected function areSameLogicalDisk($root, $vendor) {
    return FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Filesystem::$rootPath protected property The root file path.
Filesystem::$vendorPath protected property The vendor file path.
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
ReadOnlyFilesystem::$fileSystem protected property The file system service.
ReadOnlyFilesystem::$logger protected property The logger.
ReadOnlyFilesystem::doCheck protected function Perform checks. Overrides Filesystem::doCheck
ReadOnlyFilesystem::doReadOnlyCheck protected function Do the read only check.
ReadOnlyFilesystem::readOnlyCheck protected function Check if the filesystem is read only.
ReadOnlyFilesystem::__construct public function ReadOnlyFilesystem constructor. Overrides Filesystem::__construct
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.
TestReadOnlyFileSystem::areSameLogicalDisk protected function Determine if the root and vendor file system are the same logical disk. Overrides Filesystem::areSameLogicalDisk