Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| FileFieldTestCase::assertFileNotExists | function | modules/ |
Asserts that a file does not exist on disk. |
| FileFieldTestCase::attachFileField | function | modules/ |
Attaches a file field to an entity. |
| FileFieldTestCase::createFileField | function | modules/ |
Creates a new file field. |
| FileFieldTestCase::createTemporaryFile | function | modules/ |
Creates a temporary file, for a specific user. |
| FileFieldTestCase::getLastFileId | function | modules/ |
Retrieves the fid of the last inserted file. |
| FileFieldTestCase::getTestFile | function | modules/ |
Retrieves a sample file of the specified type. |
| FileFieldTestCase::removeNodeFile | function | modules/ |
Removes a file from a node. |
| FileFieldTestCase::replaceNodeFile | function | modules/ |
Replaces a file within a node. |
| FileFieldTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| FileFieldTestCase::updateFileField | function | modules/ |
Updates an existing file field with new settings. |
| FileFieldTestCase::uploadNodeFile | function | modules/ |
Uploads a file to a node. |
| FileFieldValidateTestCase | class | modules/ |
Tests various validations. |
| FileFieldValidateTestCase::$field | property | modules/ |
|
| FileFieldValidateTestCase::$node_type | property | modules/ |
|
| FileFieldValidateTestCase::getInfo | function | modules/ |
|
| FileFieldValidateTestCase::testFileExtension | function | modules/ |
Tests file extension checking. |
| FileFieldValidateTestCase::testFileMaxSize | function | modules/ |
Tests the max file size validator. |
| FileFieldValidateTestCase::testRequired | function | modules/ |
Tests the required property on file fields. |
| FileFieldWidgetTestCase | class | modules/ |
Tests file field widget. |
| FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit | function | modules/ |
Helper for testing exploiting the temporary file removal using fid. |
| FileFieldWidgetTestCase::getInfo | function | modules/ |
|
| FileFieldWidgetTestCase::testMultiValuedWidget | function | modules/ |
Tests upload and remove buttons for multiple multi-valued File fields. |
| FileFieldWidgetTestCase::testPrivateFileComment | function | modules/ |
Tests that download restrictions on private files work on comments. |
| FileFieldWidgetTestCase::testPrivateFileSetting | function | modules/ |
Tests a file field with a "Private files" upload destination setting. |
| FileFieldWidgetTestCase::testSingleValuedWidget | function | modules/ |
Tests upload and remove buttons for a single-valued File field. |
| FileFieldWidgetTestCase::testTemporaryFileRemovalExploit | function | modules/ |
Tests exploiting the temporary file removal of another user using fid. |
| FileFieldWidgetTestCase::testTemporaryFileRemovalExploitAnonymous | function | modules/ |
Tests exploiting the temporary file removal for anonymous users using fid. |
| FileFieldWidgetTestCase::testWidgetValidation | function | modules/ |
Tests validation with the Upload button. |
| FileHookTestCase | class | modules/ |
Base class for file tests that use the file_test module to test uploads and hooks. |
| FileHookTestCase::assertFileHookCalled | function | modules/ |
Assert that a hook_file_* hook was called a certain number of times. |
| FileHookTestCase::assertFileHooksCalled | function | modules/ |
Assert that all of the specified hook_file_* hooks were called once, other values result in failure. |
| FileHookTestCase::setUp | function | modules/ |
Sets up a Drupal site for running functional and integration tests. |
| FileLoadTest | class | modules/ |
Tests the file_load() function. |
| FileLoadTest::getInfo | function | modules/ |
|
| FileLoadTest::testLoadInvalidStatus | function | modules/ |
Try to load a non-existent file by status. |
| 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. |
Pagination
- Previous page
- Page 80
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.