Search for test
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
|
FileSaveUploadTest | class | modules/ |
Test the file_save_upload() function. |
FileSaveUploadTest::$image | property | modules/ |
An image file path for uploading. |
FileSaveUploadTest::$image_extension | property | modules/ |
An image extension. |
FileSaveUploadTest::$maxFidBefore | property | modules/ |
The largest file id when the test starts. |
FileSaveUploadTest::$phpfile | property | modules/ |
A PHP file path for upload security testing. |
FileSaveUploadTest::getInfo | function | modules/ |
|
FileSaveUploadTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileSaveUploadTest::testExistingError | function | modules/ |
Test for failure when uploading over a file that already exists. |
FileSaveUploadTest::testExistingRename | function | modules/ |
Test renaming when uploading over a file that already exists. |
FileSaveUploadTest::testExistingReplace | function | modules/ |
Test replacement when uploading over a file that already exists. |
FileSaveUploadTest::testHandleDangerousFile | function | modules/ |
Test dangerous file handling. |
FileSaveUploadTest::testHandleExtension | function | modules/ |
Test extension handling. |
FileSaveUploadTest::testHandleFileMunge | function | modules/ |
Test file munge handling. |
FileSaveUploadTest::testNormal | function | modules/ |
Test the file_save_upload() function. |
FileSaveUploadTest::testNoUpload | function | modules/ |
Test for no failures when not uploading a file. |
FileScanDirectory::testNoMask | function | modules/ |
Tests file_scan_directory() obeys 'file_scan_ignore_directories' setting. If nomask is not passed as argument, it should use the default settings. If nomask is passed as argument, it should obey this rule. |
FileScanDirectoryTest | class | modules/ |
Tests the file_scan_directory() function. |
FileScanDirectoryTest::$path | property | modules/ |
|
FileScanDirectoryTest::getInfo | function | modules/ |
|
FileScanDirectoryTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileScanDirectoryTest::testOptionCallback | function | modules/ |
Check that the callback function is called correctly. |
FileScanDirectoryTest::testOptionKey | function | modules/ |
Check that key parameter sets the return value's key. |
FileScanDirectoryTest::testOptionMinDepth | function | modules/ |
Check that the min_depth options lets us ignore files in the starting directory. |
FileScanDirectoryTest::testOptionNoMask | function | modules/ |
Check that the no-mask parameter is honored. |
FileScanDirectoryTest::testOptionRecurse | function | modules/ |
Check that the recurse option decends into subdirectories. |
FileScanDirectoryTest::testReturn | function | modules/ |
Check the format of the returned values. |
FileSpaceUsedTest | class | modules/ |
This will run tests against the file_space_used() function. |
FileSpaceUsedTest::getInfo | function | modules/ |
|
FileSpaceUsedTest::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileSpaceUsedTest::testFileSpaceUsed | function | modules/ |
Test different users with the default status. |
FileTaxonomyTermTestCase | class | modules/ |
Tests adding a file to a non-node entity. |
FileTaxonomyTermTestCase::$admin_user | property | modules/ |
|
FileTaxonomyTermTestCase::createAttachFileField | function | modules/ |
Creates a file field and attaches it to the "Tags" taxonomy vocabulary. |
FileTaxonomyTermTestCase::getInfo | function | modules/ |
|
FileTaxonomyTermTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
FileTaxonomyTermTestCase::testTermFilePrivate | function | modules/ |
Tests that a private file can be attached to a taxonomy term. |
FileTaxonomyTermTestCase::testTermFilePublic | function | modules/ |
Tests that a public file can be attached to a taxonomy term. |
FileTaxonomyTermTestCase::_testTermFile | function | modules/ |
Runs tests for attaching a file field to a taxonomy term. |
FileTestCase | class | modules/ |
Base class for file tests that adds some additional file specific assertions and helper functions. |
FileTestCase::assertDifferentFile | function | modules/ |
Check that two files are not the same by comparing the fid and filepath. |
FileTestCase::assertDirectoryPermissions | function | modules/ |
Helper function to test the permissions of a directory. |
Pagination
- Previous page
- Page 38
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.