namespace Drupal\Tests\file\Kernel

Same name in other branches
  1. 11.x Drupal\Tests\file\Kernel
  2. 9 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.
FileLegacyTest core/modules/file/tests/src/Kernel/FileLegacyTest.php Tests file deprecations.
FileManagedAccessTest core/modules/file/tests/src/Kernel/FileManagedAccessTest.php Tests access to managed files.
FileManagedUnitTestBase core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php Base class for file unit tests that use the file_test module to test uploads and
hooks.
FileModuleTest core/modules/file/tests/src/Kernel/FileModuleTest.php Tests file.module methods.
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.
LoadTest core/modules/file/tests/src/Kernel/LoadTest.php Tests \Drupal\file\Entity\File::load().
MoveTest core/modules/file/tests/src/Kernel/MoveTest.php Tests the file move function.
SaveDataTest core/modules/file/tests/src/Kernel/SaveDataTest.php Tests the file_save_data() 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.