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

Method testScope

kdevplatform/shell/tests/test_problemstore.cpp:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void TestProblemStore::testScope()
124{
125 QSignalSpy spy(m_store.data(), &ProblemStore::changed);
126 ProblemScope scope = AllProjects;
127
128 m_store->setScope(scope);
129 QVERIFY(m_store->scope() == scope);
130 QCOMPARE(spy.count(), 1);
131}
132
133void TestProblemStore::generateProblems()
134{

Callers

nothing calls this directly

Calls 4

dataMethod · 0.45
setScopeMethod · 0.45
scopeMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected