integrated AssertionHandler into INTERNAL_CATCH_NO_THROW
This commit is contained in:
1 parent
f247ce5bff
commit
f033f4f184
3 files changed
+28
-33
No files matched your search
@@ -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