catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Stop overloading virtualise defined at multiple levels
- Commit
ef950202393f981a74a2178e859b275d78dc7c59- Author
- Phil Nash ·
- Parents
de49ec4d7c09
Changes
include/reporters/catch_reporter_bases.hpp | 4 ++-- include/reporters/catch_reporter_junit.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp index a109d860..451b5a75 100644 --- a/include/reporters/catch_reporter_bases.hpp +++ b/include/reporters/catch_reporter_bases.hpp @@ -168,9 +168,9 @@ namespace Catch { Ptr<TestRunNode> node = new TestRunNode( testRunStats ); node->children.swap( m_testGroups ); m_testRuns.push_back( node ); - testRunEnded(); + testRunEndedCumulative(); } - virtual void testRunEnded() = 0; + virtual void testRunEndedCumulative() = 0; Ptr<IConfig> m_config; std::ostream& stream; diff --git a/include/reporters/catch_reporter_junit.hpp b/include/reporters/catch_reporter_junit.hpp index db12635b..57395930 100644 --- a/include/reporters/catch_reporter_junit.hpp +++ b/include/reporters/catch_reporter_junit.hpp @@ -70,7 +70,7 @@ namespace Catch { writeGroup( *m_testGroups.back(), suiteTime ); } - virtual void testRunEnded() { + virtual void testRunEndedCumulative() { xml.endElement(); }