| 12713 | } |
| 12714 | |
| 12715 | Totals execute() { |
| 12716 | Totals totals; |
| 12717 | m_context.testGroupStarting(m_config->name(), 1, 1); |
| 12718 | for (auto const& testCase : m_tests) { |
| 12719 | if (!m_context.aborting()) |
| 12720 | totals += m_context.runTest(*testCase); |
| 12721 | else |
| 12722 | m_context.reporter().skipTest(*testCase); |
| 12723 | } |
| 12724 | |
| 12725 | for (auto const& match : m_matches) { |
| 12726 | if (match.tests.empty()) { |
| 12727 | m_context.reporter().noMatchingTestCases(match.name); |
| 12728 | totals.error = -1; |
| 12729 | } |
| 12730 | } |
| 12731 | m_context.testGroupEnded(m_config->name(), totals, 1, 1); |
| 12732 | return totals; |
| 12733 | } |
| 12734 | |
| 12735 | private: |
| 12736 | using Tests = std::set<TestCase const*>; |
no test coverage detected