Googletest export
Refactor the `Invoke` and `InvokeWithoutArgs` actions: - Replace pump'd classes and functions with templates. - Make the polymorphic actions be polymorphic functors instead. - Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor. PiperOrigin-RevId: 229604112
This commit is contained in:
		
				
					committed by
					
						
						Alex Strelnikov
					
				
			
			
				
	
			
			
			
						parent
						
							eb9225ce36
						
					
				
				
					commit
					0adeadd283
				
			@@ -42,6 +42,7 @@
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <ostream>  // NOLINT
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <type_traits>
 | 
			
		||||
#include "gmock/internal/gmock-port.h"
 | 
			
		||||
#include "gtest/gtest.h"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user