MCPcopy Create free account
hub / github.com/KDE/kdevelop / createSession

Method createSession

kdevplatform/shell/tests/test_sessioncontroller.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void TestSessionController::createSession()
85{
86 QFETCH(QString, sessionName);
87 int sessionCount = m_sessionCtrl->sessionNames().count();
88 Session* s = m_sessionCtrl->createSession( sessionName );
89 QVERIFY( m_sessionCtrl->sessionNames().contains( sessionName ) );
90 QCOMPARE( sessionCount+1, m_sessionCtrl->sessionNames().count() );
91 verifySessionDir( s );
92}
93
94void TestSessionController::renameSession()
95{

Callers 5

renameSessionMethod · 0.45
deleteSessionMethod · 0.45
cloneSessionMethod · 0.45
tryLockSessionMethod · 0.45

Calls 4

verifySessionDirFunction · 0.85
sessionNamesMethod · 0.80
countMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected