namespace Drupal\Tests\file\Kernel

Same name in other branches
  1. 11.x Drupal\Tests\file\Kernel
  2. 9 Drupal\Tests\file\Kernel
  3. 8.9.x Drupal\Tests\file\Kernel
Object name File name Summary
AccessTest core/modules/file/tests/src/Kernel/AccessTest.php Tests for the File access control.
ComputedFileUrlTest core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php @coversDefaultClass \Drupal\file\ComputedFileUrl
CopyTest core/modules/file/tests/src/Kernel/CopyTest.php Tests the file copy function.
DeleteTest core/modules/file/tests/src/Kernel/DeleteTest.php Tests the file delete function.
FileItemTest core/modules/file/tests/src/Kernel/FileItemTest.php Tests using entity fields of the file field type.
FileItemValidationTest core/modules/file/tests/src/Kernel/FileItemValidationTest.php Tests that files referenced in file and image fields are always validated.
FileManagedAccessTest core/modules/file/tests/src/Kernel/FileManagedAccessTest.php Tests access to managed files.
FileManagedUnitTestBase core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Provides a base class for testing file uploads and hook invocations.
FileRepositoryTest core/modules/file/tests/src/Kernel/FileRepositoryTest.php Tests the FileRepository.
FileSaveUploadTest core/modules/file/tests/src/Kernel/FileSaveUploadTest.php Tests file_save_upload().
FileUploadHandlerTest core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php Tests the file upload handler.
FileUriItemTest core/modules/file/tests/src/Kernel/FileUriItemTest.php File URI field item test.
FileUrlTest core/modules/file/tests/src/Kernel/FileUrlTest.php Tests the file URL.
LegacyFileModuleTest core/modules/file/tests/src/Kernel/LegacyFileModuleTest.php Tests file module deprecations.
LegacyFileThemeTest core/modules/file/tests/src/Kernel/LegacyFileThemeTest.php Tests legacy deprecated functions in file.module.
LegacyValidateTest core/modules/file/tests/src/Kernel/LegacyValidateTest.php Tests the file_validate() function.
LegacyValidatorTest core/modules/file/tests/src/Kernel/LegacyValidatorTest.php Tests the functions used to validate uploaded files.
LoadTest core/modules/file/tests/src/Kernel/LoadTest.php Tests \Drupal\file\Entity\File::load().
ManagedFileTest core/modules/file/tests/src/Kernel/ManagedFileTest.php Managed file element test.
MoveTest core/modules/file/tests/src/Kernel/MoveTest.php Tests the file move function.
RequirementsTest core/modules/file/tests/src/Kernel/RequirementsTest.php Tests the file requirements.
SaveTest core/modules/file/tests/src/Kernel/SaveTest.php File saving tests.
SpaceUsedTest core/modules/file/tests/src/Kernel/SpaceUsedTest.php Tests the spaceUsed() function.
UsageTest core/modules/file/tests/src/Kernel/UsageTest.php Tests file usage functions.

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