namespace Drupal\KernelTests\Core\File

Same name in other branches
  1. 8.9.x Drupal\KernelTests\Core\File
  2. 10 Drupal\KernelTests\Core\File
  3. 11.x Drupal\KernelTests\Core\File
Object name File name Summary
DirectoryTest core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Tests operations dealing with directories.
FileCopyTest core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Tests the unmanaged file copy function.
FileDeleteRecursiveTest core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Tests the unmanaged file delete recursive function.
FileDeleteTest core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Tests the unmanaged file delete function.
FileMoveTest core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php Tests the unmanaged file move function.
FileSaveDataTest core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Tests the file_unmanaged_save_data() function.
FileSystemDeprecationTest core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php Tests deprecations in file.inc.
FileSystemRequirementsTest core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php @group File
FileSystemTempDirectoryTest core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests for getTempDirectory on FileSystem.
FileSystemTest core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @coversDefaultClass \Drupal\Core\File\FileSystem
@group File
FileTestBase core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Provides file-specific assertions and helper functions.
FileUrlGeneratorTest core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php @coversDefaultClass \Drupal\Core\File\FileUrlGenerator
HtaccessTest core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php Tests .htaccess file saving.
MimeTypeTest core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php Tests filename mimetype detection.
NameMungingTest core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php Tests filename munging and unmunging.
PharWrapperTest core/tests/Drupal/KernelTests/Core/File/PharWrapperTest.php Tests that the phar stream wrapper works.
ReadOnlyStreamWrapperTest core/tests/Drupal/KernelTests/Core/File/ReadOnlyStreamWrapperTest.php Tests the read-only stream wrapper write functions.
RemoteFileDeleteRecursiveTest core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteRecursiveTest.php Tests the unmanaged file delete recursive function.
RemoteFileDeleteTest core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteTest.php Tests the unmanaged file delete function.
RemoteFileDirectoryTest core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php Tests operations dealing with directories.
RemoteFileMoveTest core/tests/Drupal/KernelTests/Core/File/RemoteFileMoveTest.php Tests the unmanaged file move function.
RemoteFileSaveDataTest core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php Tests the unmanaged file save data function.
RemoteFileScanDirectoryTest core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php Tests \Drupal\Core\File\FileSystemInterface::scanDirectory().
RemoteFileUnmanagedCopyTest core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php Tests the unmanaged file copy function.
ScanDirectoryTest core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Tests \Drupal\Core\File\FileSystem::scanDirectory.
StreamWrapperTest core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php Tests stream wrapper functions.
UrlTransformRelativeTest core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php Tests URL transform to relative.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.