FileFieldWidgetTestCase::testWidgetValidation |
core/modules/file/tests/file.test |
Tests validation with the Upload button. |
FileFileTypeClassificationTestCase::getFileType |
core/modules/file/tests/file.test |
Get the file type of a given file. |
FileFileTypeClassificationTestCase::setUp |
core/modules/file/tests/file.test |
Sets up a Backdrop site for running functional and integration tests. |
FileFileTypeClassificationTestCase::testFileTypeClassification |
core/modules/file/tests/file.test |
Test that existing files are properly classified by file type. |
FileHookTestCase::assertFileHookCalled |
core/modules/simpletest/tests/file.test |
Assert that a hook_file_* hook was called a certain number of times. |
FileHookTestCase::assertFileHooksCalled |
core/modules/simpletest/tests/file.test |
Assert that all of the specified hook_file_* hooks were called once, other
values result in failure. |
FileHookTestCase::setUp |
core/modules/simpletest/tests/file.test |
|
FileLoadTest::testLoadInvalidStatus |
core/modules/simpletest/tests/file.test |
Try to load a non-existent file by status. |
FileLoadTest::testLoadMissingFid |
core/modules/simpletest/tests/file.test |
Try to load a non-existent file by fid. |
FileLoadTest::testLoadMissingFilepath |
core/modules/simpletest/tests/file.test |
Try to load a non-existent file by URI. |
FileLoadTest::testMultiple |
core/modules/simpletest/tests/file.test |
This will test loading file data from the database. |
FileLoadTest::testSingleValues |
core/modules/simpletest/tests/file.test |
Load a single file and ensure that the correct values are returned. |
FileManagedFileElementTestCase::setUp |
core/modules/file/tests/file.test |
Sets up a Backdrop site for running functional and integration tests. |
FileManagedFileElementTestCase::tearDown |
core/modules/file/tests/file.test |
Delete created files and temporary files directory, delete the tables
created by setUp(), and reset the database prefix. |
FileManagedFileElementTestCase::testManagedFile |
core/modules/file/tests/file.test |
Tests the managed_file element type. |
FileManagedFileElementTestCase::testManagedFileExceedMaximumFileSize |
core/modules/file/tests/file.test |
Tests uploading a file that exceeds the maximum file size. |
FileManagedFileElementTestCase::testManagedFileParentsHash |
core/modules/file/tests/file.test |
Tests file_ajax_upload() parents_hash. |
FileManagedFileElementTestCase::_postMaxSizeToInteger |
core/modules/file/tests/file.test |
Converts php.ini post_max_size value to integer. |
FileMimeTypeTest::setUp |
core/modules/simpletest/tests/file.test |
|
FileMimeTypeTest::testFileMimeTypeDetection |
core/modules/simpletest/tests/file.test |
Test mapping of mimetypes from filenames. |
FileMoveTest::testExistingError |
core/modules/simpletest/tests/file.test |
Test that moving onto an existing file fails when FILE_EXISTS_ERROR is
specified. |
FileMoveTest::testExistingRename |
core/modules/simpletest/tests/file.test |
Test renaming when moving onto a file that already exists. |
FileMoveTest::testExistingReplace |
core/modules/simpletest/tests/file.test |
Test replacement when moving onto a file that already exists. |
FileMoveTest::testExistingReplaceSelf |
core/modules/simpletest/tests/file.test |
Test replacement when moving onto itself. |
FileMoveTest::testNormal |
core/modules/simpletest/tests/file.test |
Move a normal file. |
FileNameMungingTest::setUp |
core/modules/simpletest/tests/file.test |
|
FileNameMungingTest::testMungeIgnoreAllowed |
core/modules/simpletest/tests/file.test |
Allowed extensions are ignored by file_munge_filename(). |
FileNameMungingTest::testMungeIgnoreInsecure |
core/modules/simpletest/tests/file.test |
If the allow_insecure_uploads variable evaluates to true, the file should
come out untouched, no matter how evil the filename. |
FileNameMungingTest::testMungeNullByte |
core/modules/simpletest/tests/file.test |
Tests munging with a null byte in the filename. |
FileNameMungingTest::testMungeUnsafe |
core/modules/simpletest/tests/file.test |
Tests unsafe extensions are munged by file_munge_filename(). |
FileNameMungingTest::testMunging |
core/modules/simpletest/tests/file.test |
Create a file and munge/unmunge the name. |
FileNameMungingTest::testUnMunge |
core/modules/simpletest/tests/file.test |
Ensure that unmunge gets your name back. |
FilePrivateTestCase::setUp |
core/modules/file/tests/file.test |
Sets up a Backdrop site for running functional and integration tests. |
FilePrivateTestCase::testPrivateFile |
core/modules/file/tests/file.test |
Tests file access for file uploaded to a private node. |
FilePrivateTestCase::testPrivateFileDownloadAccessGranted |
core/modules/file/tests/file.test |
Tests file access for private nodes when file download access is granted. |
FileReplaceTestCase::setUp |
core/modules/file/tests/file.test |
Sets up a Backdrop site for running functional and integration tests. |
FileReplaceTestCase::testReplaceFile |
core/modules/file/tests/file.test |
@todo Test image dimensions for an image field are reset when a file is replaced.
@todo Test image styles are cleared when an image is updated. |
FileSaveDataTest::testExistingError |
core/modules/simpletest/tests/file.test |
Test that file_save_data() fails overwriting an existing file. |
FileSaveDataTest::testExistingRename |
core/modules/simpletest/tests/file.test |
Test file_save_data() when renaming around an existing file. |
FileSaveDataTest::testExistingReplace |
core/modules/simpletest/tests/file.test |
Test file_save_data() when replacing an existing file. |
FileSaveDataTest::testWithFilename |
core/modules/simpletest/tests/file.test |
Test the file_save_data() function when a filename is provided. |
FileSaveDataTest::testWithoutFilename |
core/modules/simpletest/tests/file.test |
Test the file_save_data() function when no filename is provided. |
FileSaveTest::testFileSave |
core/modules/simpletest/tests/file.test |
|
FileSaveUploadTest::setUp |
core/modules/simpletest/tests/file.test |
|
FileSaveUploadTest::testErrors |
core/modules/simpletest/tests/file.test |
Test for failure when uploading over a file that already exists. |
FileSaveUploadTest::testExistingRename |
core/modules/simpletest/tests/file.test |
Test renaming when uploading over a file that already exists. |
FileSaveUploadTest::testExistingReplace |
core/modules/simpletest/tests/file.test |
Test replacement when uploading over a file that already exists. |
FileSaveUploadTest::testHandleDangerousFile |
core/modules/simpletest/tests/file.test |
Test dangerous file handling. |
FileSaveUploadTest::testHandleExtension |
core/modules/simpletest/tests/file.test |
Test extension handling. |
FileSaveUploadTest::testHandleFileMunge |
core/modules/simpletest/tests/file.test |
Test file munge handling. |