Progmasoft Git

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

Remove pointless CompactReporter::getPreferences override

Commit
b4e22371527b6f96c6e0b0b9df1fb6fbec0dd169
Author
Martin Hořeňovský ·
Parents
40937b67c752

Files · Download .tar.gz

Changes

 include/reporters/catch_reporter_compact.cpp | 4 ----
 include/reporters/catch_reporter_compact.h   | 2 --
 2 files changed, 6 deletions(-)

diff --git a/include/reporters/catch_reporter_compact.cpp b/include/reporters/catch_reporter_compact.cpp
index e9c44ea6..74df8d50 100644
--- a/include/reporters/catch_reporter_compact.cpp
+++ b/include/reporters/catch_reporter_compact.cpp
@@ -245,10 +245,6 @@ private:
             return "Reports test results on a single line, suitable for IDEs";
         }
 
-        ReporterPreferences CompactReporter::getPreferences() const {
-            return m_reporterPrefs;
-        }
-
         void CompactReporter::noMatchingTestCases( std::string const& spec ) {
             stream << "No test cases matched '" << spec << '\'' << std::endl;
         }
diff --git a/include/reporters/catch_reporter_compact.h b/include/reporters/catch_reporter_compact.h
index 5002df7b..fe33a220 100644
--- a/include/reporters/catch_reporter_compact.h
+++ b/include/reporters/catch_reporter_compact.h
@@ -22,8 +22,6 @@ namespace Catch {
 
         static std::string getDescription();
 
-        ReporterPreferences getPreferences() const override;
-
         void noMatchingTestCases(std::string const& spec) override;
 
         void assertionStarting(AssertionInfo const&) override;