commontk/CTK — Issue #128: Widget tests create multiple config directories
Author: saschazelzer
Created: 2011-12-22 00:02:33+00:00
State: open
Labels: Style, Widgets

I am not sure if this is intended, but certain tests in the Widgets library create different directories in the user's configuration directory (~/.config/ under Linux). The created directories are

~/.config/CommonToolkit
~/.config/CommonToolKit
~/.config/Common ToolKit

I think the tests should write to temporary .ini files using QSettings objects with specific file names (maybe derived by using QTemporaryFile) and the INI format. This would prevent polluting the users home directory. If that is not feasible, at least the directory names should be merged and maybe renamed to CommonToolkitTesting (or similar).