namespace Drupal\file\Tests

Classsort descending Location Description
CopyTest drupal/core/modules/file/lib/Drupal/file/Tests/CopyTest.php Copy related tests.
DeleteTest drupal/core/modules/file/lib/Drupal/file/Tests/DeleteTest.php Deletion related tests.
DownloadTest drupal/core/modules/file/lib/Drupal/file/Tests/DownloadTest.php Tests for download/file transfer functions.
FileFieldDisplayTest drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldDisplayTest.php Tests that formatters are working properly.
FileFieldPathTest drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldPathTest.php Tests that files are uploaded to proper locations.
FileFieldRevisionTest drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldRevisionTest.php Tests file handling with node revisions.
FileFieldRSSContentTest drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldRSSContentTest.php Tests that formatters are working properly.
FileFieldTestBase drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php Provides methods specifically for testing File module's field handling.
FileFieldValidateTest drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldValidateTest.php Tests various validations.
FileFieldWidgetTest drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php Tests file field widget.
FileManagedFileElementTest drupal/core/modules/file/lib/Drupal/file/Tests/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedTestBase drupal/core/modules/file/lib/Drupal/file/Tests/FileManagedTestBase.php Base class for file tests that use the file_test module to test uploads and hooks.
FilePrivateTest drupal/core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php Tests file access on private nodes.
FileTokenReplaceTest drupal/core/modules/file/lib/Drupal/file/Tests/FileTokenReplaceTest.php Tests the file token replacement in strings.
LoadTest drupal/core/modules/file/lib/Drupal/file/Tests/LoadTest.php Tests the file_load() function.
MoveTest drupal/core/modules/file/lib/Drupal/file/Tests/MoveTest.php Move related tests
RemoteFileSaveUploadTest drupal/core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php Tests the file_save_upload() function on remote filesystems.
SaveDataTest drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php Tests the file_save_data() function.
SaveTest drupal/core/modules/file/lib/Drupal/file/Tests/SaveTest.php Tests saving files.
SaveUploadTest drupal/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php Test the file_save_upload() function.
SpaceUsedTest drupal/core/modules/file/lib/Drupal/file/Tests/SpaceUsedTest.php This will run tests against the $file_managed->spaceUsed() function.
UsageTest drupal/core/modules/file/lib/Drupal/file/Tests/UsageTest.php Tests file usage functions.
ValidateTest drupal/core/modules/file/lib/Drupal/file/Tests/ValidateTest.php Tests the file_validate() function.
ValidatorTest drupal/core/modules/file/lib/Drupal/file/Tests/ValidatorTest.php This will run tests against the file validation functions (file_validate_*).