FileFieldRevisionTestCase::testRevisions in core/modules/file/tests/file.test
Tests creating multiple revisions of a node and managing attached files.
FileFieldValidateTestCase::testFileExtension in core/modules/file/tests/file.test
Tests file extension checking.
FileFieldValidateTestCase::testFileMaxSize in core/modules/file/tests/file.test
Tests the max file size validator.
FileFieldValidateTestCase::testRequired in core/modules/file/tests/file.test
Tests the required property on file fields.
FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit in core/modules/file/tests/file.test
Helper for testing exploiting the temporary file removal using fid.
FileFieldWidgetTestCase::testPrivateFileComment in core/modules/file/tests/file.test
Tests that download restrictions on private files work on comments.
FileFieldWidgetTestCase::testPrivateFileSetting in core/modules/file/tests/file.test
Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTestCase::testSingleValuedWidget in core/modules/file/tests/file.test
Tests upload and remove buttons for a single-valued File field.