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

Method findTestSuite

kdevplatform/shell/testcontroller.cpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75ITestSuite* TestController::findTestSuite(IProject* project, const QString& name) const
76{
77 const auto suites = testSuitesForProject(project);
78 auto it = std::find_if(suites.begin(), suites.end(), [&](ITestSuite* suite) {
79 return (suite->name() == name);
80 });
81
82 return (it != suites.end()) ? *it : nullptr;
83}
84
85
86QList< ITestSuite* > TestController::testSuitesForProject(IProject* project) const

Callers 6

addSuiteMethod · 0.80
removeSuiteMethod · 0.80
replaceSuiteMethod · 0.80
runSelectedTestsMethod · 0.80
showSourceMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected