File
- drupal/modules/simpletest/tests/file.test, line 364
- This provides SimpleTests for the core file handling functionality.
These include FileValidateTest and FileSaveTest.
Class
- FileValidatorTest
- This will run tests against the file validation functions (file_validate_*).
Code
public static function getInfo() {
return array(
'name' => 'File validator tests',
'description' => 'Tests the functions used to validate uploaded files.',
'group' => 'File API',
);
}