Streaming reporter interface is now used natively.
Legacy reporters are adapted by their factories.
This commit is contained in:
1 parent
7f04b56738
commit
4e12e12c1f
6 files changed
+46
-23
No files matched your search
@@ -24,7 +24,7 @@ namespace Catch{
|
||||
|
||||
// Scoped because Runner doesn't report EndTesting until its destructor
|
||||
{
|
||||
Runner runner( config, m_reporter.get() );
|
||||
Runner runner( config, new LegacyReporterAdapter( m_reporter.get(), ReporterConfig( config.stream(), config.data() ) ) );
|
||||
totals = runner.runMatching( rawTestSpec );
|
||||
}
|
||||
m_output = oss.str();
|
||||
|
||||
Reference in new issue
Block a user