Lines Matching refs:ResultWas

1330     struct ResultWas { enum OfType {  argument
1350 bool isOk( ResultWas::OfType resultType );
2447 ResultWas::OfType resultType,
2461 ResultWas::OfType resultType,
2530 void handleMessage(ResultWas::OfType resultType, StringRef const& message);
2560 ResultWas::OfType _type );
2565 ResultWas::OfType type;
2588 ResultWas::OfType type );
2615 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
2745 …auto varName = Catch::Capturer( macroName, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info, #__VA_…
2750 …::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log );
2754 …h::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log )
5324 AssertionResultData( ResultWas::OfType _resultType, LazyExpression const& _lazyExpression );
5329 ResultWas::OfType resultType;
5341 ResultWas::OfType getResultType() const;
8003 ResultWas::OfType resultType,
8017 ResultWas::OfType resultType,
8066 ResultWas::OfType resultType,
8148 void AssertionHandler::handleMessage(ResultWas::OfType resultType, StringRef const& message) { in handleMessage()
8183 m_resultCapture.handleNonExpr(m_assertionInfo, ResultWas::Ok, m_reaction); in handleExceptionThrownAsExpected()
8186 m_resultCapture.handleNonExpr(m_assertionInfo, ResultWas::Ok, m_reaction); in handleExceptionNotThrownAsExpected()
8194 m_resultCapture.handleNonExpr(m_assertionInfo, ResultWas::Ok, m_reaction); in handleThrowingCallSkipped()
8208 …AssertionResultData::AssertionResultData(ResultWas::OfType _resultType, LazyExpression const & _la… in AssertionResultData()
8239 ResultWas::OfType AssertionResult::getResultType() const { in getResultType()
11667 ResultWas::OfType _type ) in MessageInfo()
11689 ResultWas::OfType type ) in MessageBuilder()
11713 …Capturer::Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultT… in Capturer()
12402 bool isOk( ResultWas::OfType resultType ) { in isOk()
12403 return ( resultType & ResultWas::FailureBit ) == 0; in isOk()
12406 return flags == ResultWas::Info; in isJustInfo()
12556 if (result.getResultType() == ResultWas::Ok) { in assertionEnded()
12574 if (result.getResultType() != ResultWas::Warning) in assertionEnded()
12691 AssertionResultData tempResult( ResultWas::FatalErrorCondition, { false } ); in handleFatalErrorCondition()
12821 reportExpr(info, ResultWas::Ok, &expr, negated); in handleExpr()
12825 reportExpr(info, ResultWas::ExpressionFailed, &expr, negated ); in handleExpr()
12831 ResultWas::OfType resultType, in reportExpr()
12846 ResultWas::OfType resultType, in handleMessage()
12865 handleNonExpr(info, Catch::ResultWas::DidntThrowException, reaction); in handleUnexpectedExceptionNotThrown()
12875 AssertionResultData data( ResultWas::ThrewException, LazyExpression( false ) ); in handleUnexpectedInflightException()
12892 AssertionResultData data( ResultWas::ThrewException, LazyExpression( false ) ); in handleIncomplete()
12899 ResultWas::OfType resultType, in handleNonExpr()
15567 case ResultWas::Ok: in print()
15576 case ResultWas::ExpressionFailed: in print()
15585 case ResultWas::ThrewException: in print()
15592 case ResultWas::FatalErrorCondition: in print()
15599 case ResultWas::DidntThrowException: in print()
15605 case ResultWas::Info: in print()
15610 case ResultWas::Warning: in print()
15615 case ResultWas::ExplicitFailure: in print()
15621 case ResultWas::Unknown: in print()
15622 case ResultWas::FailureBit: in print()
15623 case ResultWas::Exception: in print()
15697 if (printInfoMessages || itMessage->type != ResultWas::Info) { in printRemainingMessages()
15740 if( result.getResultType() != ResultWas::Warning ) in assertionEnded()
15805 case ResultWas::Ok: in ConsoleAssertionPrinter()
15814 case ResultWas::ExpressionFailed: in ConsoleAssertionPrinter()
15827 case ResultWas::ThrewException: in ConsoleAssertionPrinter()
15836 case ResultWas::FatalErrorCondition: in ConsoleAssertionPrinter()
15841 case ResultWas::DidntThrowException: in ConsoleAssertionPrinter()
15846 case ResultWas::Info: in ConsoleAssertionPrinter()
15849 case ResultWas::Warning: in ConsoleAssertionPrinter()
15852 case ResultWas::ExplicitFailure: in ConsoleAssertionPrinter()
15861 case ResultWas::Unknown: in ConsoleAssertionPrinter()
15862 case ResultWas::FailureBit: in ConsoleAssertionPrinter()
15863 case ResultWas::Exception: in ConsoleAssertionPrinter()
15909 if (printInfoMessages || msg.type != ResultWas::Info) in printMessage()
16151 if (!includeResults && result.getResultType() != ResultWas::Warning) in assertionEnded()
16535 … if( assertionStats.assertionResult.getResultType() == ResultWas::ThrewException && !m_okToFail ) in assertionEnded()
16661 case ResultWas::ThrewException: in writeAssertion()
16662 case ResultWas::FatalErrorCondition: in writeAssertion()
16665 case ResultWas::ExplicitFailure: in writeAssertion()
16668 case ResultWas::ExpressionFailed: in writeAssertion()
16671 case ResultWas::DidntThrowException: in writeAssertion()
16676 case ResultWas::Info: in writeAssertion()
16677 case ResultWas::Warning: in writeAssertion()
16678 case ResultWas::Ok: in writeAssertion()
16679 case ResultWas::Unknown: in writeAssertion()
16680 case ResultWas::FailureBit: in writeAssertion()
16681 case ResultWas::Exception: in writeAssertion()
16710 if( msg.type == ResultWas::Info ) in writeAssertion()
16968 if( includeResults || result.getResultType() == ResultWas::Warning ) { in assertionEnded()
16971 if( msg.type == ResultWas::Info && includeResults ) { in assertionEnded()
16974 } else if ( msg.type == ResultWas::Warning ) { in assertionEnded()
16982 if( !includeResults && result.getResultType() != ResultWas::Warning ) in assertionEnded()
17001 case ResultWas::ThrewException: in assertionEnded()
17007 case ResultWas::FatalErrorCondition: in assertionEnded()
17013 case ResultWas::Info: in assertionEnded()
17017 case ResultWas::Warning: in assertionEnded()
17020 case ResultWas::ExplicitFailure: in assertionEnded()
17234 #define CATCH_WARN( msg ) INTERNAL_CATCH_MSG( "CATCH_WARN", Catch::ResultWas::Warning, Catch::Resul…
17243 #define CATCH_FAIL( ... ) INTERNAL_CATCH_MSG( "CATCH_FAIL", Catch::ResultWas::ExplicitFailure, Catc…
17244 #define CATCH_FAIL_CHECK( ... ) INTERNAL_CATCH_MSG( "CATCH_FAIL_CHECK", Catch::ResultWas::ExplicitF…
17245 #define CATCH_SUCCEED( ... ) INTERNAL_CATCH_MSG( "CATCH_SUCCEED", Catch::ResultWas::Ok, Catch::Resu…
17330 #define WARN( msg ) INTERNAL_CATCH_MSG( "WARN", Catch::ResultWas::Warning, Catch::ResultDisposition…
17339 #define FAIL( ... ) INTERNAL_CATCH_MSG( "FAIL", Catch::ResultWas::ExplicitFailure, Catch::ResultDis…
17340 #define FAIL_CHECK( ... ) INTERNAL_CATCH_MSG( "FAIL_CHECK", Catch::ResultWas::ExplicitFailure, Catc…
17341 #define SUCCEED( ... ) INTERNAL_CATCH_MSG( "SUCCEED", Catch::ResultWas::Ok, Catch::ResultDispositio…