namespace Drupal\Tests\file\Functional

Same name in other branches
  1. 11.x Drupal\Tests\file\Functional
  2. 9 Drupal\Tests\file\Functional
  3. 10 Drupal\Tests\file\Functional
Object name File name Summary
DownloadTest core/modules/file/tests/src/Functional/DownloadTest.php Tests for download/file transfer functions.
FileFieldAnonymousSubmissionTest core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php Confirm that file field submissions work correctly for anonymous visitors.
FileFieldCreationTrait core/modules/file/tests/src/Functional/FileFieldCreationTrait.php Provides methods for creating file fields.
FileFieldDisplayTest core/modules/file/tests/src/Functional/FileFieldDisplayTest.php Tests the display of file fields in node and views.
FileFieldFormatterAccessTest core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php Tests file formatter access.
@group file
FileFieldPathTest core/modules/file/tests/src/Functional/FileFieldPathTest.php Tests that files are uploaded to proper locations.
FileFieldRevisionTest core/modules/file/tests/src/Functional/FileFieldRevisionTest.php Tests creating and deleting revisions with files attached.
FileFieldRSSContentTest core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php Ensure that files added to nodes appear correctly in RSS feeds.
FileFieldTestBase core/modules/file/tests/src/Functional/FileFieldTestBase.php Provides methods specifically for testing File module's field handling.
FileFieldValidateTest core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests validation functions such as file type, max file size, max size per
node, and required.
FileFieldWidgetTest core/modules/file/tests/src/Functional/FileFieldWidgetTest.php Tests the file field widget with public and private files.
FileListingTest core/modules/file/tests/src/Functional/FileListingTest.php Tests file listing page functionality.
FileManagedFileElementTest core/modules/file/tests/src/Functional/FileManagedFileElementTest.php Tests the 'managed_file' element type.
FileManagedTestBase core/modules/file/tests/src/Functional/FileManagedTestBase.php Base class for file tests that use the file_test module to test uploads and
hooks.
FileOnTranslatedEntityTest core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php Uploads files to translated nodes.
FilePrivateTest core/modules/file/tests/src/Functional/FilePrivateTest.php Uploads a test to a private node and checks access.
FileTokenReplaceTest core/modules/file/tests/src/Functional/FileTokenReplaceTest.php Generates text using placeholders for dummy content to check file token
replacement.
FileUploadJsonBasicAuthTest core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php @group file
FileUploadJsonCookieTest core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php @group file
MultipleFileUploadTest core/modules/file/tests/src/Functional/MultipleFileUploadTest.php Tests multiple file upload.
PrivateFileOnTranslatedEntityTest core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php Uploads private files to translated node and checks access.
RemoteFileSaveUploadTest core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php Tests the file uploading functions.
SaveUploadFormTest core/modules/file/tests/src/Functional/SaveUploadFormTest.php Tests the _file_save_upload_from_form() function.
SaveUploadTest core/modules/file/tests/src/Functional/SaveUploadTest.php Tests the file_save_upload() function.

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