mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 21:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			361 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			361 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <gmock/gmock.h>
 | |
| #include <gtest/gtest.h>
 | |
| 
 | |
| 
 | |
| int main(int argc, char** argv) {
 | |
|   // The following line causes Google Mock to throw an exception on failure,
 | |
|   // which will be interpreted by your testing framework as a test failure.
 | |
|   ::testing::GTEST_FLAG(throw_on_failure) = false;
 | |
|   ::testing::InitGoogleMock(&argc, argv);
 | |
| 
 | |
|   return RUN_ALL_TESTS();
 | |
| }
 |