| 15 | using namespace deskflow::gui; |
| 16 | |
| 17 | void ClientConnectionTests::initTestCase() |
| 18 | { |
| 19 | QDir dir; |
| 20 | QVERIFY(dir.mkpath(m_settingsPath)); |
| 21 | |
| 22 | QFile oldSettings(m_settingsFile); |
| 23 | if (oldSettings.exists()) |
| 24 | oldSettings.remove(); |
| 25 | |
| 26 | Settings::setSettingsFile(m_settingsFile); |
| 27 | Settings::setStateFile(m_stateFile); |
| 28 | } |
| 29 | |
| 30 | void ClientConnectionTests::handleLogLine_alreadyConnected_showError() |
| 31 | { |