A unit test of class File in core library
Details
Details
Diff Detail
Diff Detail
- Repository
- R2 GCompris
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
Don't forget to also test the sanitizeUrl method.
tests/core/FileTest.cpp | ||
---|---|---|
47 | I'm not sure the file exists just by settings its name. You should at least write in it before | |
51 | 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 | |
58 | fileContent | |
61 | The file is missing a filename | |
63 | can you also check the content of the error here? |
Comment Actions
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