9 calls to file_save_data() in Drupal 7
- CronRunTestCase::testTempFileCleanup in modules/
system/ system.test - Ensure that temporary files are removed.
- FileFieldTestCase::createTemporaryFile in modules/
file/ tests/ file.test - Creates a temporary file, for a specific user.
- 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.
- RegistryParseFilesTestCase::setUp in modules/
simpletest/ tests/ registry.test - Sets up a Drupal site for running functional and integration tests.
- system_retrieve_file in modules/
system/ system.module - Attempts to get a file using drupal_http_request and to store it locally.