- CronRunTestCase::testTempFileCleanup in modules/
system/ tests/ system.test - Ensure that temporary files are removed.
- FileSaveDataTest::testExistingError in modules/
simpletest/ tests/ file.test - Test that file_save_data() fails overwriting an existing file.
- FileSaveDataTest::testExistingRename in modules/
simpletest/ tests/ file.test - Test file_save_data() when renaming around an existing file.
- FileSaveDataTest::testExistingReplace in modules/
simpletest/ tests/ file.test - Test file_save_data() when replacing an existing file.
- FileSaveDataTest::testWithFilename in modules/
simpletest/ tests/ file.test - Test the file_save_data() function when a filename is provided.
- FileSaveDataTest::testWithoutFilename in modules/
simpletest/ tests/ file.test - Test the file_save_data() function when no filename is provided.
- FileTestHelper::createTemporaryFile in modules/
file/ tests/ file.test - Creates a temporary file, for a specific user.
- system_retrieve_file in modules/
system/ system.module - Attempts to get a file using backdrop_http_request and to store it locally.