Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal/catch_run_context.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-09-06 22:59:40 +0200
committerMartin Hořeňovský2021-09-07 20:00:22 +0200
commite5938007f7dab5c9886ca561d09106ee4d7f2301 (patch)
tree84d3c00fe319f43248bcd751362a1353057eed36 /src/catch2/internal/catch_run_context.cpp
parentab3fe0053d41ea80be5b0d11e7e9c49852810021 (diff)
downloadcatch3-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/catch_run_context.cpp')
-rw-r--r--src/catch2/internal/catch_run_context.cpp9
1 files changed, 0 insertions, 9 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));
}