Remove empty implementations of assertionStarting from reporters

This commit is contained in:
Martin Hořeňovský 2025-07-17 12:47:46 +02:00
parent 0e8112a762
commit ae33e5b99a
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
6 changed files with 0 additions and 10 deletions

View File

@ -416,8 +416,6 @@ void ConsoleReporter::reportInvalidTestSpec( StringRef arg ) {
m_stream << "Invalid Filter: " << arg << '\n'; m_stream << "Invalid Filter: " << arg << '\n';
} }
void ConsoleReporter::assertionStarting(AssertionInfo const&) {}
void ConsoleReporter::assertionEnded(AssertionStats const& _assertionStats) { void ConsoleReporter::assertionEnded(AssertionStats const& _assertionStats) {
AssertionResult const& result = _assertionStats.assertionResult; AssertionResult const& result = _assertionStats.assertionResult;

View File

@ -26,8 +26,6 @@ namespace Catch {
void noMatchingTestCases( StringRef unmatchedSpec ) override; void noMatchingTestCases( StringRef unmatchedSpec ) override;
void reportInvalidTestSpec( StringRef arg ) override; void reportInvalidTestSpec( StringRef arg ) override;
void assertionStarting(AssertionInfo const&) override;
void assertionEnded(AssertionStats const& _assertionStats) override; void assertionEnded(AssertionStats const& _assertionStats) override;
void sectionStarting(SectionInfo const& _sectionInfo) override; void sectionStarting(SectionInfo const& _sectionInfo) override;

View File

@ -280,7 +280,6 @@ namespace Catch {
endObject(); endObject();
} }
void JsonReporter::assertionStarting( AssertionInfo const& /*assertionInfo*/ ) {}
void JsonReporter::assertionEnded( AssertionStats const& assertionStats ) { void JsonReporter::assertionEnded( AssertionStats const& assertionStats ) {
// TODO: There is lot of different things to handle here, but // TODO: There is lot of different things to handle here, but
// we can fill it in later, after we show that the basic // we can fill it in later, after we show that the basic

View File

@ -39,7 +39,6 @@ namespace Catch {
void sectionStarting( SectionInfo const& sectionInfo ) override; void sectionStarting( SectionInfo const& sectionInfo ) override;
void sectionEnded( SectionStats const& sectionStats ) override; void sectionEnded( SectionStats const& sectionStats ) override;
void assertionStarting( AssertionInfo const& assertionInfo ) override;
void assertionEnded( AssertionStats const& assertionStats ) override; void assertionEnded( AssertionStats const& assertionStats ) override;
//void testRunEndedCumulative() override; //void testRunEndedCumulative() override;

View File

@ -86,8 +86,6 @@ namespace Catch {
} }
} }
void XmlReporter::assertionStarting( AssertionInfo const& ) { }
void XmlReporter::assertionEnded( AssertionStats const& assertionStats ) { void XmlReporter::assertionEnded( AssertionStats const& assertionStats ) {
AssertionResult const& result = assertionStats.assertionResult; AssertionResult const& result = assertionStats.assertionResult;

View File

@ -35,8 +35,6 @@ namespace Catch {
void sectionStarting(SectionInfo const& sectionInfo) override; void sectionStarting(SectionInfo const& sectionInfo) override;
void assertionStarting(AssertionInfo const&) override;
void assertionEnded(AssertionStats const& assertionStats) override; void assertionEnded(AssertionStats const& assertionStats) override;
void sectionEnded(SectionStats const& sectionStats) override; void sectionEnded(SectionStats const& sectionStats) override;