diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-04-07 14:35:24 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2020-04-08 15:17:54 +0300 |
commit | 3d402f1c16c8ad5d97f5e5eb03ebb0e000d74e1b (patch) | |
tree | 00e34c78c51a119628caa56e8896df3c38f499d3 /tests/tests.pro | |
parent | 39fc2b00fa981d3f67b8c142d59f69e2dddfa1e3 (diff) |
Fix bugs in InstallIconsOperation and add unit tests
- Fix conflicting naming and reference of operation value in
InstallIconsOperation::targetDirectory().
- Fix bug related to appending of "icons" suffix to paths in
XDG_DATA_HOME, the logic was glued to old default values which have
been since changed.
- Remove unused variable in class destructor and remove unneeded
default implementation.
Also add unit and CLI tests for InstallIconsOperation and move
addToFileMap() to common functions so it can be used in multiple tests.
Task-number: QTIFW-1715
Task-number: QTIFW-1465
Change-Id: I5281ca7a5dec1453f49fbe2cb2852d6467bf0c97
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'tests/tests.pro')
0 files changed, 0 insertions, 0 deletions