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:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user