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

Method readFromConfig

kdevplatform/shell/tests/test_sessioncontroller.cpp:178–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void TestSessionController::readFromConfig()
179{
180 ISession* s = Core::self()->activeSession();
181 KConfigGroup grp( s->config(), "TestGroup" );
182 grp.writeEntry( "TestEntry", "Test1" );
183 KConfigGroup grp2( s->config(), "TestGroup" );
184 QCOMPARE(grp.readEntry( "TestEntry", "" ), QStringLiteral( "Test1" ) );
185}
186
187void TestSessionController::temporary()
188{

Callers

nothing calls this directly

Calls 4

writeEntryMethod · 0.80
readEntryMethod · 0.80
activeSessionMethod · 0.45
configMethod · 0.45

Tested by

no test coverage detected