Refactor noMatchingTestCases and skipTests reporter methods

They now take `StringRef` as the argument, and are virtual only
in the basic interface.

Also cleaned out the various reporters and their overrides
of these members which were often empty or delegating up.
This commit is contained in:
Martin Hořeňovský committed 2021-09-15 18:08:31 +02:00
1 parent 10fb93cce8
commit 013edc208b
20 files changed
+34 -51

No files matched your search

@@ -171,9 +171,8 @@ namespace Catch {
return m_preferences;
}
virtual void noMatchingTestCases( std::string const& spec ) = 0;
virtual void reportInvalidArguments(std::string const&) {}
virtual void noMatchingTestCases( StringRef unmatchedSpec ) = 0;
virtual void reportInvalidArguments( StringRef invalidArgument ) = 0;
virtual void testRunStarting( TestRunInfo const& testRunInfo ) = 0;