namespace Drupal\Tests\file\Functional

Same name in other branches
  1. 11.x Drupal\Tests\file\Functional
  2. 9 Drupal\Tests\file\Functional
  3. 8.9.x Drupal\Tests\file\Functional
Object name File name Summary
DownloadTest core/modules/file/tests/src/Functional/DownloadTest.php Tests for download/file transfer functions.
FileAddPermissionsUpdateTest core/modules/file/tests/src/Functional/FileAddPermissionsUpdateTest.php Tests file_post_update_add_permissions_to_roles().
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 file field validation functions.
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 Provides a base class for testing files with the file_test module.
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 Tests file token replacement.
FileUploadJsonBasicAuthTest core/modules/file/tests/src/Functional/FileUploadJsonBasicAuthTest.php @group file
@group #slow
FileUploadJsonCookieTest core/modules/file/tests/src/Functional/FileUploadJsonCookieTest.php @group file
@group #slow
GenericTest core/modules/file/tests/src/Functional/GenericTest.php Generic module test for 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.