You are here

27 calls to FileFieldTestBase::getTestFile() in Drupal 9

FileFieldAnonymousSubmissionTest::doTestNodeWithFileWithoutTitle in core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
Helper method to test file submissions with missing node titles.
FileFieldAnonymousSubmissionTest::testAnonymousNodeWithFile in core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
Tests file submission for an anonymous visitor.
FileFieldAttributesTest::setUp in core/modules/rdf/tests/src/Functional/FileFieldAttributesTest.php
FileFieldDisplayTest::testDefaultFileFieldDisplay in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests default display of File Field.
FileFieldDisplayTest::testDescriptionDefaultFileFieldDisplay in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests description display of File Field.
FileFieldFormatterAccessTest::testFileAccessHandler in core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
Tests the custom access handler is invoked.
FileFieldPathTest::testUploadPath in core/modules/file/tests/src/Functional/FileFieldPathTest.php
Tests the normal formatter display on node display.
FileFieldRevisionTest::testRevisions in core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
Tests creating multiple revisions of a node and managing attached files.
FileFieldRSSContentTest::testFileFieldRSSContent in core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php
Tests RSS enclosure formatter display for RSS feeds.
FileFieldValidateTest::testFileExtension in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests file extension checking.
FileFieldValidateTest::testFileMaxSize in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests the max file size validator.
FileFieldValidateTest::testFileRemoval in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Checks that a file can always be removed if it does not pass validation.
FileFieldValidateTest::testRequired in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests the required property on file fields.
FileFieldWidgetTest::doTestTemporaryFileRemovalExploit in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTest::testMultiValuedWidget in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testPrivateFileComment in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests that download restrictions on private files work on comments.
FileFieldWidgetTest::testPrivateFileSetting in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testSingleValuedWidget in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests upload and remove buttons for a single-valued File field.
FileFieldWidgetTest::testWidgetElement in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests file widget element.
FileFieldWidgetTest::testWidgetValidation in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests validation with the Upload button.
FileListingTest::testFileListingPages in core/modules/file/tests/src/Functional/FileListingTest.php
Tests file overview with different user permissions.
FileManagedFileElementTest::testFileRemovedFromDisk in core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
Ensure a file entity can be saved when the file does not exist on disk.
FileManagedFileElementTest::testManagedFile in core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
Tests the managed_file element type.
FileManagedFileElementTest::testManagedFileRemoved in core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
Ensure that warning is shown if file on the field has been removed.
FileManagedFileElementTest::testUnusedPermanentFileValidation in core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
Verify that unused permanent files can be used.
FilePrivateTest::testPrivateFile in core/modules/file/tests/src/Functional/FilePrivateTest.php
Tests file access for file uploaded to a private node.
FileTokenReplaceTest::testFileTokenReplacement in core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.