mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-19 03:15:40 +02:00
integrated AssertionHandler into INTERNAL_CATCH_NO_THROW
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
namespace Catch {
|
||||
|
||||
struct TestFailureException{};
|
||||
struct AssertionResultData;
|
||||
|
||||
class LazyExpression {
|
||||
friend class AssertionHandler;
|
||||
@@ -48,6 +49,9 @@ namespace Catch {
|
||||
void handle( ExprLhs<T> const& expr ) {
|
||||
handle( expr.makeUnaryExpr() );
|
||||
}
|
||||
void handle( ResultWas::OfType resultType );
|
||||
void handle( ResultWas::OfType resultType, ITransientExpression const* expr, bool negated );
|
||||
void handle( AssertionResultData const& resultData, ITransientExpression const* expr );
|
||||
|
||||
auto shouldDebugBreak() const -> bool;
|
||||
void reactWithDebugBreak() const;
|
||||
|
Reference in New Issue
Block a user