6 Commits (6ede9f2c7ce40859275fead6882f49679932d7a8)

Author SHA1 Message Date
Adriaan de Groot 6ede9f2c7c [libcalamares] Test QFileInfo::dir() for completeness 6 years ago
Adriaan de Groot e65969d587 [libcalamares] Re-do createTargetDirs()
- Drop the basedirs idea, replace return with just bool
 - Use QDir::mkpath, with some extra validation
 - Test it a bit
6 years ago
Adriaan de Groot 8b8ecf7b7b [libcalamars] Improve test init and cleanup
- Test createTargetFile and removeTargetFile
 - Clean up afterwards
 - Ensure /tmp is the RMP for each test
6 years ago
Adriaan de Groot 394eee3954 [libcalamares] Test more targetPath() scenario's 6 years ago
Adriaan de Groot 8d23e665ea [libcalamares] Fix targetPath() tests
- there is less simplification done than you might think
6 years ago
Adriaan de Groot daa5b804b3 [libcalamares] Split paths-tests into own test executable
- Since these tests all want a system object, and a GS
   with a sensible setup, give them one with its own initTestCase().

This could have been done with one executable, running tests from
multiple classes, but there's not much overall benefit there.
6 years ago