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

Method initTestCase

kdevplatform/shell/tests/test_problemstore.cpp:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43void TestProblemStore::initTestCase()
44{
45 AutoTestShell::init();
46 TestCore::initialize(Core::NoUi);
47
48 m_store.reset(new ProblemStore());
49 m_store->setScope(CurrentDocument);
50 QVERIFY(m_store->scope() == CurrentDocument);
51
52 generateProblems();
53}
54
55void TestProblemStore::cleanupTestCase()
56{

Callers

nothing calls this directly

Calls 5

initializeFunction · 0.85
initFunction · 0.50
resetMethod · 0.45
setScopeMethod · 0.45
scopeMethod · 0.45

Tested by

no test coverage detected