File
- core/
modules/ simpletest/ tests/ file.test, line 2683 - This provides SimpleTests for the core file handling functionality. These include FileValidateTest and FileSaveTest.
Class
- FileNameMungingTest
- Tests for file_munge_filename() and file_unmunge_filename().
Code
protected $bad_extension;