FileAccessTestCase::testFilePageAccess in modules/file/tests/file.test
Tests page access.
file_add_form_submit in modules/file/file.pages.inc
Submit handler for the add file form.
FileFileTypeClassificationTestCase::testFileTypeClassification in modules/file/tests/file.test
Test that existing files are properly classified by file type.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
FileTestHelper::createTemporaryFile in modules/file/tests/file.test
Creates a temporary file, for a specific user.
file_type_determine in modules/file/file.module
FileUnitTestCase::testFile in modules/file/tests/file.test
Tests basic file entity properties.
FileUnitTestCase::testImageDimensions in modules/file/tests/file.test
Tests storing image height and width as file metadata.