mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
JUnit/SonarQube reporters use base's stream member
This commit is contained in:
parent
b892ab133c
commit
5f38cc39fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user