From 3d402f1c16c8ad5d97f5e5eb03ebb0e000d74e1b Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Tue, 7 Apr 2020 14:35:24 +0300 Subject: 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 --- tests/auto/installer/installer.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/auto/installer/installer.pro') diff --git a/tests/auto/installer/installer.pro b/tests/auto/installer/installer.pro index faa908f01..766e8814e 100644 --- a/tests/auto/installer/installer.pro +++ b/tests/auto/installer/installer.pro @@ -39,7 +39,9 @@ win32 { } linux-g++* { - SUBDIRS += createdesktopentryoperation + SUBDIRS += \ + createdesktopentryoperation \ + installiconsoperation } scriptengine.depends += unicodeexecutable -- cgit v1.2.3