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

Method emitTestResult

kdevplatform/shell/tests/test_testcontroller.cpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void TestTestController::emitTestResult(ITestSuite* suite, TestResult::TestCaseResult caseResult)
83{
84 TestResult result;
85 result.suiteResult = caseResult;
86 const auto testCases = suite->cases();
87 for (const QString& testCase : testCases) {
88 result.testCaseResults.insert(testCase, caseResult);
89 }
90
91 m_testController->notifyTestRunFinished(suite, result);
92}
93
94void TestTestController::initTestCase()
95{

Callers

nothing calls this directly

Calls 3

notifyTestRunFinishedMethod · 0.80
casesMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected