Renamed ResultInfo -> AssertionResult

This commit is contained in:
Phil Nash
2012-10-16 08:27:21 +01:00
parent 175da3ef64
commit d16955f63a
15 changed files with 111 additions and 97 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;