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
Added some missing `override`s and removed some `virtual`s from overrides
- Commit
5450de2acd296e7c4b25e2c738f1d4f7199161b4- Author
- Phil Nash ·
- Parents
3882ac1a1936
Changes
include/internal/catch_run_context.hpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/internal/catch_run_context.hpp b/include/internal/catch_run_context.hpp index 9d065ae5..0619816b 100644 --- a/include/internal/catch_run_context.hpp +++ b/include/internal/catch_run_context.hpp @@ -63,32 +63,32 @@ namespace Catch { private: // IResultCapture - virtual void assertionEnded(AssertionResult const& result) override; + void assertionEnded(AssertionResult const& result) override; - virtual bool sectionStarted( SectionInfo const& sectionInfo, Counts& assertions ) override; + bool sectionStarted( SectionInfo const& sectionInfo, Counts& assertions ) override; bool testForMissingAssertions(Counts& assertions); - virtual void sectionEnded(SectionEndInfo const& endInfo) override; + void sectionEnded(SectionEndInfo const& endInfo) override; - virtual void sectionEndedEarly(SectionEndInfo const& endInfo) override; + void sectionEndedEarly(SectionEndInfo const& endInfo) override; - virtual void pushScopedMessage(MessageInfo const& message) override; + void pushScopedMessage(MessageInfo const& message) override; - virtual void popScopedMessage(MessageInfo const& message) override; + void popScopedMessage(MessageInfo const& message) override; - virtual std::string getCurrentTestName() const override; + std::string getCurrentTestName() const override; - virtual const AssertionResult* getLastResult() const override; + const AssertionResult* getLastResult() const override; - virtual void exceptionEarlyReported() override; + void exceptionEarlyReported() override; - virtual void handleFatalErrorCondition(std::string const& message) override; + void handleFatalErrorCondition(std::string const& message) override; - virtual bool lastAssertionPassed() override; + bool lastAssertionPassed() override; - virtual void assertionPassed(); + void assertionPassed() override; - virtual void assertionRun(); + void assertionRun() override; public: // !TBD We need to do this another way!