File
- modules/
simpletest/ tests/ file.test, line 2689 - 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;