1. 1 core/modules/file/tests/file.test
  2. 1 core/modules/simpletest/tests/file.test

Tests for file.module.

File

core/modules/file/tests/file.test

Classes

Namesort ascending Description
FileUsageTestCase Tests the file usage page.
FileUploadWizardTestCase Tests creating new file entities through the file upload wizard.
FileUnitTestCase Tests basic file entity functionality.
FileTypeTestCase Tests adding support for bundles to the core 'file' entity.
FileTokenReplaceTestCase Tests the file token replacement in strings.
FileTestHelper Provides methods specifically for testing File module's field handling.
FileTaxonomyTermTestCase Tests adding a file to a non-node entity.
FileReplaceTestCase Tests replacing the file associated with a file entity.
FilePrivateTestCase Tests file access on private nodes.
FileManagedFileElementTestCase Tests the 'managed_file' element type.
FileFileTypeClassificationTestCase Tests file type classification functionality.
FileFieldWidgetTestCase Tests file field widget.
FileFieldValidateTestCase Tests various validations.
FileFieldRevisionTestCase Tests file handling with node revisions.
FileFieldPathTestCase Tests that files are uploaded to proper locations.
FileFieldDisplayTestCase Tests that formatters are working properly.
FileFieldAnonymousSubmission Confirm that file field submissions work correctly for anonymous visitors.
FileEditTestCase Tests editing existing file entities.
FileChangeSchemeTestCase Test changing the scheme of a file.
FileAttributeOverrideTestCase Tests overriding file attributes.
FileAdminTestCase Test file administration page functionality.
FileAccessTestCase Tests the file entity access API.
FileAccessFunctionsAlignedTestCase Tests that file_access and File::access are in sync with what they return.