| 84 | |
| 85 | |
| 86 | QList< ITestSuite* > TestController::testSuitesForProject(IProject* project) const |
| 87 | { |
| 88 | Q_D(const TestController); |
| 89 | |
| 90 | QList<ITestSuite*> suites; |
| 91 | for (ITestSuite* suite : std::as_const(d->suites)) { |
| 92 | if (suite->project() == project) |
| 93 | { |
| 94 | suites << suite; |
| 95 | } |
| 96 | } |
| 97 | return suites; |
| 98 | } |
| 99 | |
| 100 | void TestController::notifyTestRunFinished(ITestSuite* suite, const TestResult& result) |
| 101 | { |
no test coverage detected