namespace Drupal\Tests\file\Kernel

Same name in other branches
  1. 11.x Drupal\Tests\file\Kernel
  2. 8.9.x Drupal\Tests\file\Kernel
  3. 10 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.
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.
LegacyFileTest core/modules/file/tests/src/Kernel/LegacyFileTest.php Tests deprecated file functions.
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.
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.
ValidateTest core/modules/file/tests/src/Kernel/ValidateTest.php Tests the file_validate() function.
ValidatorTest core/modules/file/tests/src/Kernel/ValidatorTest.php Tests the functions used to validate uploaded files.

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