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

Method initTestCase

src/unittests/gui/core/ServerConnectionTests.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34};
35
36void 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
49void ServerConnectionTests::handleLogLine_newClient_shouldShowPrompt()
50{

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected