mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 15:11:48 +01:00 
			
		
		
		
	- moved as much logic out of the macros as possible - moved most logic into new ResultBuilder class, which wraps ExpressionResultBuilder (may take it over next), subsumes ResultAction and also takes place of ExpressionDecomposer. This introduces many SRP violations - but all in the name of minimising macro logic!
		
			
				
	
	
		
			21 lines
		
	
	
		
			572 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			572 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  *  Created by Phil on 07/01/2011.
 | |
|  *  Copyright 2011 Two Blue Cubes Ltd. All rights reserved.
 | |
|  *
 | |
|  *  Distributed under the Boost Software License, Version 1.0. (See accompanying
 | |
|  *  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 | |
|  */
 | |
| #ifndef TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED
 | |
| #define TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED
 | |
| 
 | |
| namespace Catch {
 | |
|     class TestCase;
 | |
| 
 | |
|     struct IRunner {
 | |
|         virtual ~IRunner();
 | |
|         virtual bool aborting() const = 0;
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif // TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED
 |