forked from catchorg/Catch2
JUnit/SonarQube reporters use base's stream member
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user