JUnit/SonarQube reporters use base's stream member

This commit is contained in:
Martin Hořeňovský committed 2021-11-14 11:41:25 +01:00
1 parent b892ab133c
commit 5f38cc39fa
2 files changed
+2 -2

No files matched your search

@@ -70,7 +70,7 @@ namespace Catch {
JunitReporter::JunitReporter( ReporterConfig const& _config )
: CumulativeReporterBase( _config ),
xml( _config.stream() )
xml( m_stream )
{
m_preferences.shouldRedirectStdOut = true;
m_preferences.shouldReportAllAssertions = true;
@@ -18,7 +18,7 @@ namespace Catch {
SonarQubeReporter(ReporterConfig const& config)
: CumulativeReporterBase(config)
, xml(config.stream()) {
, xml(m_stream) {
m_preferences.shouldRedirectStdOut = true;
m_preferences.shouldReportAllAssertions = true;
m_shouldStoreSuccesfulAssertions = false;