| 34 | }; |
| 35 | |
| 36 | void ServerConnectionTests::initTestCase() |
| 37 | { |
| 38 | QDir dir; |
| 39 | QVERIFY(dir.mkpath(m_settingsPath)); |
| 40 | |
| 41 | QFile oldSettings(m_settingsFile); |
| 42 | if (oldSettings.exists()) |
| 43 | oldSettings.remove(); |
| 44 | |
| 45 | Settings::setSettingsFile(m_settingsFile); |
| 46 | Settings::setStateFile(m_stateFile); |
| 47 | } |
| 48 | |
| 49 | void ServerConnectionTests::handleLogLine_newClient_shouldShowPrompt() |
| 50 | { |