mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 05:45:39 +02:00
Add more unit tests
* Call order of listeners/reporters in multireporter * Adding listeners/reporters properly updates reporter preferences
This commit is contained in:
@@ -30,11 +30,8 @@ namespace Catch {
|
||||
|
||||
public:
|
||||
ListeningReporter( IConfig const* config ):
|
||||
IStreamingReporter( config ) {
|
||||
// We will assume that listeners will always want all assertions
|
||||
m_preferences.shouldReportAllAssertions = true;
|
||||
}
|
||||
|
||||
IStreamingReporter( config )
|
||||
{}
|
||||
|
||||
void addListener( IStreamingReporterPtr&& listener );
|
||||
void addReporter( IStreamingReporterPtr&& reporter );
|
||||
|
Reference in New Issue
Block a user