mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	| @@ -31,10 +31,14 @@ namespace Catch { | ||||
|         return reporter; | ||||
|     } | ||||
|  | ||||
| #if !defined(CATCH_CONFIG_DEFAULT_REPORTER) | ||||
| #define CATCH_CONFIG_DEFAULT_REPORTER "console" | ||||
| #endif | ||||
|  | ||||
|     Ptr<IStreamingReporter> makeReporter( Ptr<Config> const& config ) { | ||||
|         std::vector<std::string> reporters = config->getReporterNames(); | ||||
|         if( reporters.empty() ) | ||||
|             reporters.push_back( "console" ); | ||||
|             reporters.push_back( CATCH_CONFIG_DEFAULT_REPORTER ); | ||||
|  | ||||
|         Ptr<IStreamingReporter> reporter; | ||||
|         for( std::vector<std::string>::const_iterator it = reporters.begin(), itEnd = reporters.end(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský