diff options
| author | Martin Hořeňovský | 2025-07-17 12:47:46 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2025-07-17 12:47:46 +0200 |
| commit | ae33e5b99af6f58840f78e1986051b0c6a5823e4 (patch) | |
| tree | 08449fddb85e1a216a8468b27d66dae0786b9dc7 /src | |
| parent | 0e8112a7625bc415ec20aac9a5a62243c7fbfb36 (diff) | |
| download | catch3-ae33e5b99af6f58840f78e1986051b0c6a5823e4.tar.gz | |
Remove empty implementations of assertionStarting from reporters
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/reporters/catch_reporter_console.cpp | 2 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_console.hpp | 2 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_json.cpp | 1 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_json.hpp | 1 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_xml.cpp | 2 | ||||
| -rw-r--r-- | src/catch2/reporters/catch_reporter_xml.hpp | 2 |
6 files changed, 0 insertions, 10 deletions
diff --git a/src/catch2/reporters/catch_reporter_console.cpp b/src/catch2/reporters/catch_reporter_console.cpp index 518e57f8..0af47115 100644 --- a/src/catch2/reporters/catch_reporter_console.cpp +++ b/src/catch2/reporters/catch_reporter_console.cpp @@ -416,8 +416,6 @@ void ConsoleReporter::reportInvalidTestSpec( StringRef arg ) { m_stream << "Invalid Filter: " << arg << '\n'; } -void ConsoleReporter::assertionStarting(AssertionInfo const&) {} - void ConsoleReporter::assertionEnded(AssertionStats const& _assertionStats) { AssertionResult const& result = _assertionStats.assertionResult; diff --git a/src/catch2/reporters/catch_reporter_console.hpp b/src/catch2/reporters/catch_reporter_console.hpp index 24377262..86ecf432 100644 --- a/src/catch2/reporters/catch_reporter_console.hpp +++ b/src/catch2/reporters/catch_reporter_console.hpp @@ -26,8 +26,6 @@ namespace Catch { void noMatchingTestCases( StringRef unmatchedSpec ) override; void reportInvalidTestSpec( StringRef arg ) override; - void assertionStarting(AssertionInfo const&) override; - void assertionEnded(AssertionStats const& _assertionStats) override; void sectionStarting(SectionInfo const& _sectionInfo) override; diff --git a/src/catch2/reporters/catch_reporter_json.cpp b/src/catch2/reporters/catch_reporter_json.cpp index 6a8e655f..bf761245 100644 --- a/src/catch2/reporters/catch_reporter_json.cpp +++ b/src/catch2/reporters/catch_reporter_json.cpp @@ -280,7 +280,6 @@ namespace Catch { endObject(); } - void JsonReporter::assertionStarting( AssertionInfo const& /*assertionInfo*/ ) {} void JsonReporter::assertionEnded( AssertionStats const& assertionStats ) { // TODO: There is lot of different things to handle here, but // we can fill it in later, after we show that the basic diff --git a/src/catch2/reporters/catch_reporter_json.hpp b/src/catch2/reporters/catch_reporter_json.hpp index c938ca39..b28aaf8d 100644 --- a/src/catch2/reporters/catch_reporter_json.hpp +++ b/src/catch2/reporters/catch_reporter_json.hpp @@ -39,7 +39,6 @@ namespace Catch { void sectionStarting( SectionInfo const& sectionInfo ) override; void sectionEnded( SectionStats const& sectionStats ) override; - void assertionStarting( AssertionInfo const& assertionInfo ) override; void assertionEnded( AssertionStats const& assertionStats ) override; //void testRunEndedCumulative() override; diff --git a/src/catch2/reporters/catch_reporter_xml.cpp b/src/catch2/reporters/catch_reporter_xml.cpp index 35a3028e..5adf3acf 100644 --- a/src/catch2/reporters/catch_reporter_xml.cpp +++ b/src/catch2/reporters/catch_reporter_xml.cpp @@ -86,8 +86,6 @@ namespace Catch { } } - void XmlReporter::assertionStarting( AssertionInfo const& ) { } - void XmlReporter::assertionEnded( AssertionStats const& assertionStats ) { AssertionResult const& result = assertionStats.assertionResult; diff --git a/src/catch2/reporters/catch_reporter_xml.hpp b/src/catch2/reporters/catch_reporter_xml.hpp index bead7a87..66f95a8e 100644 --- a/src/catch2/reporters/catch_reporter_xml.hpp +++ b/src/catch2/reporters/catch_reporter_xml.hpp @@ -35,8 +35,6 @@ namespace Catch { void sectionStarting(SectionInfo const& sectionInfo) override; - void assertionStarting(AssertionInfo const&) override; - void assertionEnded(AssertionStats const& assertionStats) override; void sectionEnded(SectionStats const& sectionStats) override; |