More Single Evaluation work
This commit is contained in:
1 parent
b708789ee9
commit
e0e74774e2
6 files changed
+196
-193
No files matched your search
@@ -458,12 +458,22 @@ namespace Catch
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
virtual void acceptExpression
|
||||
virtual ResultAction::Value acceptExpression
|
||||
(
|
||||
const MutableResultInfo& resultInfo
|
||||
)
|
||||
{
|
||||
m_currentResult = resultInfo;
|
||||
testEnded( m_currentResult );
|
||||
|
||||
bool ok = m_currentResult.ok();
|
||||
m_currentResult = MutableResultInfo();
|
||||
if( ok )
|
||||
return ResultAction::None;
|
||||
else if( shouldDebugBreak() )
|
||||
return ResultAction::DebugFailed;
|
||||
else
|
||||
return ResultAction::Failed;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user