6 calls to file_copy() in Drupal 7
- FileCopyTest::testExistingError in modules/
simpletest/ tests/ file.test - Test that copying over an existing file fails when FILE_EXISTS_ERROR is specified.
- FileCopyTest::testExistingRename in modules/
simpletest/ tests/ file.test - Test renaming when copying over a file that already exists.
- FileCopyTest::testExistingReplace in modules/
simpletest/ tests/ file.test - Test replacement when copying over a file that already exists.
- FileCopyTest::testNormal in modules/
simpletest/ tests/ file.test - Test file copying in the normal, base case.
- FileTokenReplaceTestCase::testFileTokenReplacement in modules/
file/ tests/ file.test - Creates a file, then tests the tokens generated from it.
- ImageStylesPathAndUrlTestCase::testImageContentTypeHeaders in modules/
image/ image.test - Test that we do not pass an array to drupal_add_http_header.