MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / execute

Method execute

extlibs/catch/include/catch/catch.hpp:12715–12733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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*>;

Callers 1

runInternalMethod · 0.45

Calls 8

abortingMethod · 0.80
runTestMethod · 0.80
testGroupStartingMethod · 0.45
nameMethod · 0.45
skipTestMethod · 0.45
emptyMethod · 0.45
noMatchingTestCasesMethod · 0.45
testGroupEndedMethod · 0.45

Tested by

no test coverage detected