A unit test of class File in core library
Don't forget to also test the sanitizeUrl method.
I'm not sure the file exists just by settings its name. You should at least write in it before
you should remove the created files at the end of the test, to be sure it does not impact the next tests and each are independant
The file is missing a filename
can you also check the content of the error here?
The test has been fixed, improved and merged in master:
original version: https://cgit.kde.org/gcompris.git/commit/?id=abba21ecf498380b244b0f58fdc50e95515548bd
fixed version: https://cgit.kde.org/gcompris.git/commit/?id=a459d7cfed8b73022880320bc314ce3c36d2f62b