| 1 | | I want to write these tests for the functions get_available_name, generate_filename, get_valid_name, and validate_file_name: |
| 2 | | |
| 3 | | 1- Where there is double dots in filename-> "../file.ext" |
| 4 | | 2_ If there is an unusual character in the filename, include one of the following characters: ^ @ # $ % & * ( ) + = { } | \ / : ; ' " < > ? for exapmle -> |
| 5 | | "file@name.ext" |
| 6 | | |
| 7 | | 3_ Where there is long filename -> "a_very_very_very_long_filename_that_exceeds_the_usual_limits_of_a_filesystem.ext" |
| 8 | | 4_ Where there is filename without extension -> "filename" |
| 9 | | 5_ Where there is filename with hidden extension -> "filename." |
| 10 | | |
| 11 | | Is this ok? @nessita |