mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Renamed ResultInfo -> AssertionResult
This commit is contained in:
		| @@ -159,7 +159,7 @@ namespace Catch { | ||||
|             m_sectionSpans.pop_back(); | ||||
|         } | ||||
|          | ||||
|         virtual void Result( const ResultInfo& resultInfo ) { | ||||
|         virtual void Result( const AssertionResult& resultInfo ) { | ||||
|             if( !m_config.includeSuccessfulResults && resultInfo.getResultType() == ResultWas::Ok ) | ||||
|                 return; | ||||
|              | ||||
|   | ||||
| @@ -97,7 +97,7 @@ namespace Catch { | ||||
|             m_currentStats->m_testCaseStats.push_back( TestCaseStats( testInfo.getName() ) );             | ||||
|         } | ||||
|          | ||||
|         virtual void Result( const Catch::ResultInfo& resultInfo ) { | ||||
|         virtual void Result( const Catch::AssertionResult& resultInfo ) { | ||||
|             if( resultInfo.getResultType() != ResultWas::Ok || m_config.includeSuccessfulResults ) { | ||||
|                 TestCaseStats& testCaseStats = m_currentStats->m_testCaseStats.back(); | ||||
|                 TestStats stats; | ||||
|   | ||||
| @@ -75,7 +75,7 @@ namespace Catch { | ||||
|             m_currentTestSuccess = true; | ||||
|         } | ||||
|          | ||||
|         virtual void Result( const Catch::ResultInfo& resultInfo ) { | ||||
|         virtual void Result( const Catch::AssertionResult& resultInfo ) { | ||||
|             if( !m_config.includeSuccessfulResults && resultInfo.getResultType() == ResultWas::Ok ) | ||||
|                 return; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash