mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
AssertionResultBuilder -> ExpressionResultBuilder
This commit is contained in:
parent
8cca2f1369
commit
f847186ebb
9 changed files with 83 additions and 89 deletions
|
@ -135,7 +135,7 @@ namespace Catch {
|
|||
m_assertionInfo = assertionInfo;
|
||||
}
|
||||
|
||||
virtual ResultAction::Value acceptExpression( const AssertionResultBuilder& assertionResult ) {
|
||||
virtual ResultAction::Value acceptExpression( const ExpressionResultBuilder& assertionResult ) {
|
||||
m_currentResult = assertionResult;
|
||||
return actOnCurrentResult();
|
||||
}
|
||||
|
@ -236,7 +236,7 @@ namespace Catch {
|
|||
m_lastResult = AssertionResult( m_assertionInfo, m_currentResult.build( m_assertionInfo ) );
|
||||
testEnded( m_lastResult );
|
||||
|
||||
m_currentResult = AssertionResultBuilder();
|
||||
m_currentResult = ExpressionResultBuilder();
|
||||
m_assertionInfo = AssertionInfo();
|
||||
|
||||
ResultAction::Value action = ResultAction::None;
|
||||
|
@ -287,7 +287,7 @@ namespace Catch {
|
|||
private:
|
||||
IMutableContext& m_context;
|
||||
RunningTest* m_runningTest;
|
||||
AssertionResultBuilder m_currentResult;
|
||||
ExpressionResultBuilder m_currentResult;
|
||||
AssertionResult m_lastResult;
|
||||
|
||||
const Config& m_config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue