diff options
| author | Martin Hořeňovský | 2021-09-06 22:59:40 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-09-07 20:00:22 +0200 |
| commit | e5938007f7dab5c9886ca561d09106ee4d7f2301 (patch) | |
| tree | 84d3c00fe319f43248bcd751362a1353057eed36 /src/catch2/internal | |
| parent | ab3fe0053d41ea80be5b0d11e7e9c49852810021 (diff) | |
| download | catch3-e5938007f7dab5c9886ca561d09106ee4d7f2301.tar.gz | |
Completely remove the testGroup events
This was done because they were 1:1 mapping to testRun events, and
I could not think of a reasonable way to make them their own thing.
Diffstat (limited to 'src/catch2/internal')
| -rw-r--r-- | src/catch2/internal/catch_run_context.cpp | 9 | ||||
| -rw-r--r-- | src/catch2/internal/catch_run_context.hpp | 3 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp index b3fb8b11..222ee932 100644 --- a/src/catch2/internal/catch_run_context.cpp +++ b/src/catch2/internal/catch_run_context.cpp @@ -175,14 +175,6 @@ namespace Catch { m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); } - void RunContext::testGroupStarting(std::string const& testSpec, std::size_t groupIndex, std::size_t groupsCount) { - m_reporter->testGroupStarting(GroupInfo(testSpec, groupIndex, groupsCount)); - } - - void RunContext::testGroupEnded(std::string const& testSpec, Totals const& totals, std::size_t groupIndex, std::size_t groupsCount) { - m_reporter->testGroupEnded(TestGroupStats(GroupInfo(testSpec, groupIndex, groupsCount), totals, aborting())); - } - Totals RunContext::runTest(TestCaseHandle const& testCase) { Totals prevTotals = m_totals; @@ -389,7 +381,6 @@ namespace Catch { std::string(), false)); m_totals.testCases.failed++; - testGroupEnded(std::string(), m_totals, 1, 1); m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, false)); } diff --git a/src/catch2/internal/catch_run_context.hpp b/src/catch2/internal/catch_run_context.hpp index 0a20866e..7c315e9a 100644 --- a/src/catch2/internal/catch_run_context.hpp +++ b/src/catch2/internal/catch_run_context.hpp @@ -40,9 +40,6 @@ namespace Catch { ~RunContext() override; - void testGroupStarting( std::string const& testSpec, std::size_t groupIndex, std::size_t groupsCount ); - void testGroupEnded( std::string const& testSpec, Totals const& totals, std::size_t groupIndex, std::size_t groupsCount ); - Totals runTest(TestCaseHandle const& testCase); public: // IResultCapture |