Search for test
Title | Object type | File name | Summary |
---|---|---|---|
FileLoadTest::testLoadMissingFid | function | modules/ |
Try to load a non-existent file by fid. |
FileLoadTest::testLoadMissingFilepath | function | modules/ |
Try to load a non-existent file by URI. |
FileLoadTest::testMultiple | function | modules/ |
This will test loading file data from the database. |
FileLoadTest::testSingleValues | function | modules/ |
Load a single file and ensure that the correct values are returned. |
FileManagedFileElementTestCase | class | modules/ |
Tests the 'managed_file' element type. |
FileManagedFileElementTestCase::$originalDisplayErrorsValue | property | modules/ |
|
FileManagedFileElementTestCase::getInfo | function | modules/ |
|
FileManagedFileElementTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileManagedFileElementTestCase::tearDown | function | modules/ |
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix. |
FileManagedFileElementTestCase::testManagedFile | function | modules/ |
Tests the managed_file element type. |
FileManagedFileElementTestCase::testManagedFileExceedMaximumFileSize | function | modules/ |
Tests uploading a file that exceeds the maximum file size. |
FileManagedFileElementTestCase::_postMaxSizeToInteger | function | modules/ |
Converts php.ini post_max_size value to integer. |
FileMimeTypeTest | class | modules/ |
Tests for file_get_mimetype(). |
FileMimeTypeTest::getInfo | function | modules/ |
|
FileMimeTypeTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileMimeTypeTest::testFileMimeTypeDetection | function | modules/ |
Test mapping of mimetypes from filenames. |
FileMoveTest | class | modules/ |
Move related tests |
FileMoveTest::getInfo | function | modules/ |
|
FileMoveTest::testExistingError | function | modules/ |
Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified. |
FileMoveTest::testExistingRename | function | modules/ |
Test renaming when moving onto a file that already exists. |
FileMoveTest::testExistingReplace | function | modules/ |
Test replacement when moving onto a file that already exists. |
FileMoveTest::testExistingReplaceSelf | function | modules/ |
Test replacement when moving onto itself. |
FileMoveTest::testNormal | function | modules/ |
Move a normal file. |
FileNameMungingTest | class | modules/ |
Tests for file_munge_filename() and file_unmunge_filename(). |
FileNameMungingTest::$bad_extension | property | modules/ |
|
FileNameMungingTest::$name | property | modules/ |
|
FileNameMungingTest::$name_with_uc_ext | property | modules/ |
|
FileNameMungingTest::getInfo | function | modules/ |
|
FileNameMungingTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileNameMungingTest::testMungeIgnoreInsecure | function | modules/ |
If the allow_insecure_uploads variable evaluates to true, the file should come out untouched, no matter how evil the filename. |
FileNameMungingTest::testMungeIgnoreWhitelisted | function | modules/ |
White listed extensions are ignored by file_munge_filename(). |
FileNameMungingTest::testMungeNullByte | function | modules/ |
Tests munging with a null byte in the filename. |
FileNameMungingTest::testMungeUnsafe | function | modules/ |
Tests unsafe extensions are munged by file_munge_filename(). |
FileNameMungingTest::testMunging | function | modules/ |
Create a file and munge/unmunge the name. |
FileNameMungingTest::testUnMunge | function | modules/ |
Ensure that unmunge gets your name back. |
FilePrivateTestCase | class | modules/ |
Tests file access on private nodes. |
FilePrivateTestCase::getInfo | function | modules/ |
|
FilePrivateTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FilePrivateTestCase::testPrivateFile | function | modules/ |
Tests file access for file uploaded to a private node. |
FilePrivateTestCase::testPrivateFileDownloadAccessGranted | function | modules/ |
Tests file access for private nodes when file download access is granted. |
FileSaveDataTest | class | modules/ |
Tests the file_save_data() function. |
FileSaveDataTest::getInfo | function | modules/ |
|
FileSaveDataTest::testExistingError | function | modules/ |
Test that file_save_data() fails overwriting an existing file. |
FileSaveDataTest::testExistingRename | function | modules/ |
Test file_save_data() when renaming around an existing file. |
FileSaveDataTest::testExistingReplace | function | modules/ |
Test file_save_data() when replacing an existing file. |
FileSaveDataTest::testWithFilename | function | modules/ |
Test the file_save_data() function when a filename is provided. |
FileSaveDataTest::testWithoutFilename | function | modules/ |
Test the file_save_data() function when no filename is provided. |
FileSaveTest | class | modules/ |
Tests the file_save() function. |
FileSaveTest::getInfo | function | modules/ |
|
FileSaveTest::testFileSave | function | modules/ |
Pagination
- Previous page
- Page 36
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.