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

Method addSuite

kdevplatform/shell/tests/test_testcontroller.cpp:112–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void TestTestController::addSuite()
113{
114 FakeTestSuite suite(TestSuiteName, m_project);
115 m_testController->addTestSuite(&suite);
116
117 ITestSuite* found = m_testController->findTestSuite(m_project, TestSuiteName);
118
119 QVERIFY(found);
120 QCOMPARE(found->name(), QString(TestSuiteName));
121 QCOMPARE(found->project(), m_project);
122
123 m_testController->removeTestSuite(&suite);
124}
125
126void TestTestController::removeSuite()
127{

Callers

nothing calls this directly

Calls 6

findTestSuiteMethod · 0.80
QStringClass · 0.50
addTestSuiteMethod · 0.45
nameMethod · 0.45
projectMethod · 0.45
removeTestSuiteMethod · 0.45

Tested by

no test coverage detected