8#ifndef TWOBLUECUBES_CATCH_ASSERTIONHANDLER_H_INCLUDED
9#define TWOBLUECUBES_CATCH_ASSERTIONHANDLER_H_INCLUDED
17 struct TestFailureException{};
18 struct AssertionResultData;
19 struct IResultCapture;
22 class LazyExpression {
34 explicit operator bool()
const;
47 bool m_completed =
false;
auto allowThrows() const -> bool
void handleExpr(ExprLhs< T > const &expr)
AssertionHandler(StringRef const ¯oName, SourceLineInfo const &lineInfo, StringRef capturedExpression, ResultDisposition::Flags resultDisposition)
void handleExceptionNotThrownAsExpected()
void handleThrowingCallSkipped()
void handleUnexpectedExceptionNotThrown()
void handleUnexpectedInflightException()
void handleExceptionThrownAsExpected()
void handleMessage(ResultWas::OfType resultType, StringRef const &message)
auto makeUnaryExpr() const -> UnaryExpr< LhsT >
LazyExpression & operator=(LazyExpression const &)=delete
LazyExpression(bool isNegated)
friend auto operator<<(std::ostream &os, LazyExpression const &lazyExpr) -> std::ostream &
void handleExceptionMatchExpr(AssertionHandler &handler, std::string const &str, StringRef const &matcherString)
virtual void handleIncomplete(AssertionInfo const &info)=0