Add a new reporter customization point: reporting all assertions

By opting the JUnit and XML reporters into it, we no longer run
into problem where they underreport the results without `-s` flag.

Related to #1264, #1267, #1310
This commit is contained in:
Martin Hořeňovský
2018-07-14 20:51:02 +02:00
parent 9ee4c1db52
commit d6c7392b24
6 changed files with 6 additions and 7 deletions

View File

@@ -30,9 +30,7 @@ namespace Catch {
}
ReporterPreferences getPreferences() const override {
ReporterPreferences prefs;
prefs.shouldRedirectStdOut = false;
return prefs;
return m_reporterPrefs;
}
void noMatchingTestCases( std::string const& spec ) override {