mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Big assertion capture refactoring.
- moved as much logic out of the macros as possible - moved most logic into new ResultBuilder class, which wraps ExpressionResultBuilder (may take it over next), subsumes ResultAction and also takes place of ExpressionDecomposer. This introduces many SRP violations - but all in the name of minimising macro logic!
This commit is contained in:
@@ -5683,7 +5683,7 @@ TrickyTests.cpp:<line number>
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
@@ -5696,7 +5696,7 @@ TrickyTests.cpp:<line number>
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
@@ -5710,7 +5710,7 @@ TrickyTests.cpp:<line number>
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
@@ -5722,7 +5722,7 @@ TrickyTests.cpp:<line number>
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
@@ -5735,7 +5735,7 @@ TrickyTests.cpp:<line number>
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
@@ -5749,7 +5749,7 @@ TrickyTests.cpp:<line number>
|
||||
|
||||
TrickyTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::isTrue( true ) )
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
|
@@ -5849,7 +5849,7 @@ there"
|
||||
<TestCase name="Assertions then sections">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
Catch::alwaysTrue()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -5858,7 +5858,7 @@ there"
|
||||
<Section name="A section">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
Catch::alwaysTrue()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -5867,7 +5867,7 @@ there"
|
||||
<Section name="Another section">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
Catch::alwaysTrue()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -5879,7 +5879,7 @@ there"
|
||||
</Section>
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
Catch::alwaysTrue()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -5888,7 +5888,7 @@ there"
|
||||
<Section name="A section">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
Catch::alwaysTrue()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -5897,7 +5897,7 @@ there"
|
||||
<Section name="Another other section">
|
||||
<Expression success="true" filename="/Users/philnash/Dev/OSS/Catch/projects/SelfTest/TrickyTests.cpp" >
|
||||
<Original>
|
||||
Catch::isTrue( true )
|
||||
Catch::alwaysTrue()
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
|
Reference in New Issue
Block a user