MCPcopy Create free account
hub / github.com/deskflow/deskflow / initTestCase

Method initTestCase

src/unittests/gui/core/ClientConnectionTests.cpp:17–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15using namespace deskflow::gui;
16
17void 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
30void ClientConnectionTests::handleLogLine_alreadyConnected_showError()
31{

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected