Home
last modified time | relevance | path

Searched refs:ResultWas (Results 1 – 23 of 23) sorted by relevance

/external/catch2/include/reporters/
Dcatch_reporter_tap.hpp78 case ResultWas::Ok: in print()
87 case ResultWas::ExpressionFailed: in print()
100 case ResultWas::ThrewException: in print()
107 case ResultWas::FatalErrorCondition: in print()
114 case ResultWas::DidntThrowException: in print()
120 case ResultWas::Info: in print()
125 case ResultWas::Warning: in print()
130 case ResultWas::ExplicitFailure: in print()
136 case ResultWas::Unknown: in print()
137 case ResultWas::FailureBit: in print()
[all …]
Dcatch_reporter_teamcity.hpp80 case ResultWas::ExpressionFailed: in assertionEnded()
83 case ResultWas::ThrewException: in assertionEnded()
86 case ResultWas::FatalErrorCondition: in assertionEnded()
89 case ResultWas::DidntThrowException: in assertionEnded()
92 case ResultWas::ExplicitFailure: in assertionEnded()
97 case ResultWas::Ok: in assertionEnded()
98 case ResultWas::Info: in assertionEnded()
99 case ResultWas::Warning: in assertionEnded()
102 case ResultWas::Unknown: in assertionEnded()
103 case ResultWas::FailureBit: in assertionEnded()
[all …]
Dcatch_reporter_compact.cpp92 case ResultWas::Ok: in print()
101 case ResultWas::ExpressionFailed: in print()
110 case ResultWas::ThrewException: in print()
117 case ResultWas::FatalErrorCondition: in print()
124 case ResultWas::DidntThrowException: in print()
130 case ResultWas::Info: in print()
135 case ResultWas::Warning: in print()
140 case ResultWas::ExplicitFailure: in print()
146 case ResultWas::Unknown: in print()
147 case ResultWas::FailureBit: in print()
[all …]
Dcatch_reporter_junit.cpp101 … if( assertionStats.assertionResult.getResultType() == ResultWas::ThrewException && !m_okToFail ) in assertionEnded()
211 case ResultWas::ThrewException: in writeAssertion()
212 case ResultWas::FatalErrorCondition: in writeAssertion()
215 case ResultWas::ExplicitFailure: in writeAssertion()
218 case ResultWas::ExpressionFailed: in writeAssertion()
221 case ResultWas::DidntThrowException: in writeAssertion()
226 case ResultWas::Info: in writeAssertion()
227 case ResultWas::Warning: in writeAssertion()
228 case ResultWas::Ok: in writeAssertion()
229 case ResultWas::Unknown: in writeAssertion()
[all …]
Dcatch_reporter_xml.cpp101 if( includeResults || result.getResultType() == ResultWas::Warning ) { in assertionEnded()
104 if( msg.type == ResultWas::Info && includeResults ) { in assertionEnded()
107 } else if ( msg.type == ResultWas::Warning ) { in assertionEnded()
115 if( !includeResults && result.getResultType() != ResultWas::Warning ) in assertionEnded()
135 case ResultWas::ThrewException: in assertionEnded()
141 case ResultWas::FatalErrorCondition: in assertionEnded()
147 case ResultWas::Info: in assertionEnded()
151 case ResultWas::Warning: in assertionEnded()
154 case ResultWas::ExplicitFailure: in assertionEnded()
Dcatch_reporter_console.cpp46 case ResultWas::Ok: in ConsoleAssertionPrinter()
55 case ResultWas::ExpressionFailed: in ConsoleAssertionPrinter()
68 case ResultWas::ThrewException: in ConsoleAssertionPrinter()
77 case ResultWas::FatalErrorCondition: in ConsoleAssertionPrinter()
82 case ResultWas::DidntThrowException: in ConsoleAssertionPrinter()
87 case ResultWas::Info: in ConsoleAssertionPrinter()
90 case ResultWas::Warning: in ConsoleAssertionPrinter()
93 case ResultWas::ExplicitFailure: in ConsoleAssertionPrinter()
102 case ResultWas::Unknown: in ConsoleAssertionPrinter()
103 case ResultWas::FailureBit: in ConsoleAssertionPrinter()
[all …]
/external/catch2/single_include/catch2/
Dcatch_reporter_tap.hpp78 case ResultWas::Ok: in print()
87 case ResultWas::ExpressionFailed: in print()
100 case ResultWas::ThrewException: in print()
107 case ResultWas::FatalErrorCondition: in print()
114 case ResultWas::DidntThrowException: in print()
120 case ResultWas::Info: in print()
125 case ResultWas::Warning: in print()
130 case ResultWas::ExplicitFailure: in print()
136 case ResultWas::Unknown: in print()
137 case ResultWas::FailureBit: in print()
[all …]
Dcatch_reporter_teamcity.hpp80 case ResultWas::ExpressionFailed: in assertionEnded()
83 case ResultWas::ThrewException: in assertionEnded()
86 case ResultWas::FatalErrorCondition: in assertionEnded()
89 case ResultWas::DidntThrowException: in assertionEnded()
92 case ResultWas::ExplicitFailure: in assertionEnded()
97 case ResultWas::Ok: in assertionEnded()
98 case ResultWas::Info: in assertionEnded()
99 case ResultWas::Warning: in assertionEnded()
102 case ResultWas::Unknown: in assertionEnded()
103 case ResultWas::FailureBit: in assertionEnded()
[all …]
Dcatch.hpp1063 struct ResultWas { enum OfType { argument
1083 bool isOk( ResultWas::OfType resultType );
2114 ResultWas::OfType resultType,
2128 ResultWas::OfType resultType,
2197 void handleMessage(ResultWas::OfType resultType, StringRef const& message);
2227 ResultWas::OfType _type );
2232 ResultWas::OfType type;
2255 ResultWas::OfType type );
2282 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
2411 …auto varName = Catch::Capturer( macroName, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info, #__VA_…
[all …]
/external/catch2/include/internal/
Dcatch_result_type.cpp13 bool isOk( ResultWas::OfType resultType ) { in isOk()
14 return ( resultType & ResultWas::FailureBit ) == 0; in isOk()
17 return flags == ResultWas::Info; in isJustInfo()
Dcatch_message.h25 ResultWas::OfType _type );
30 ResultWas::OfType type;
53 ResultWas::OfType type );
80 …Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultType, Strin…
Dcatch_assertionhandler.cpp67 void AssertionHandler::handleMessage(ResultWas::OfType resultType, StringRef const& message) { in handleMessage()
102 m_resultCapture.handleNonExpr(m_assertionInfo, ResultWas::Ok, m_reaction); in handleExceptionThrownAsExpected()
105 m_resultCapture.handleNonExpr(m_assertionInfo, ResultWas::Ok, m_reaction); in handleExceptionNotThrownAsExpected()
113 m_resultCapture.handleNonExpr(m_assertionInfo, ResultWas::Ok, m_reaction); in handleThrowingCallSkipped()
Dcatch_run_context.cpp146 if (result.getResultType() == ResultWas::Ok) { in assertionEnded()
164 if (result.getResultType() != ResultWas::Warning) in assertionEnded()
272 AssertionResultData tempResult( ResultWas::FatalErrorCondition, { false } ); in handleFatalErrorCondition()
402 reportExpr(info, ResultWas::Ok, &expr, negated); in handleExpr()
406 reportExpr(info, ResultWas::ExpressionFailed, &expr, negated ); in handleExpr()
412 ResultWas::OfType resultType, in reportExpr()
427 ResultWas::OfType resultType, in handleMessage()
446 handleNonExpr(info, Catch::ResultWas::DidntThrowException, reaction); in handleUnexpectedExceptionNotThrown()
456 AssertionResultData data( ResultWas::ThrewException, LazyExpression( false ) ); in handleUnexpectedInflightException()
473 AssertionResultData data( ResultWas::ThrewException, LazyExpression( false ) ); in handleIncomplete()
[all …]
Dcatch_assertionresult.h24 AssertionResultData( ResultWas::OfType _resultType, LazyExpression const& _lazyExpression );
29 ResultWas::OfType resultType;
41 ResultWas::OfType getResultType() const;
Dcatch_message.cpp20 ResultWas::OfType _type ) in MessageInfo()
43 ResultWas::OfType type ) in MessageBuilder()
69 …Capturer::Capturer( StringRef macroName, SourceLineInfo const& lineInfo, ResultWas::OfType resultT… in Capturer()
Dcatch_result_type.h14 struct ResultWas { enum OfType { struct
34 bool isOk( ResultWas::OfType resultType );
Dcatch_run_context.h61 ResultWas::OfType resultType,
75 ResultWas::OfType resultType,
120 ResultWas::OfType resultType,
Dcatch_capture.hpp135 …auto varName = Catch::Capturer( macroName, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info, #__VA_…
140 …::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log );
144 …h::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log )
Dcatch_interfaces_capture.h60 ResultWas::OfType resultType,
74 ResultWas::OfType resultType,
Dcatch_assertionresult.cpp12 …AssertionResultData::AssertionResultData(ResultWas::OfType _resultType, LazyExpression const & _la… in AssertionResultData()
43 ResultWas::OfType AssertionResult::getResultType() const { in getResultType()
Dcatch_assertionhandler.h69 void handleMessage(ResultWas::OfType resultType, StringRef const& message);
/external/catch2/include/
Dcatch.hpp135 #define CATCH_WARN( msg ) INTERNAL_CATCH_MSG( "CATCH_WARN", Catch::ResultWas::Warning, Catch::Resul…
144 #define CATCH_FAIL( ... ) INTERNAL_CATCH_MSG( "CATCH_FAIL", Catch::ResultWas::ExplicitFailure, Catc…
145 #define CATCH_FAIL_CHECK( ... ) INTERNAL_CATCH_MSG( "CATCH_FAIL_CHECK", Catch::ResultWas::ExplicitF…
146 #define CATCH_SUCCEED( ... ) INTERNAL_CATCH_MSG( "CATCH_SUCCEED", Catch::ResultWas::Ok, Catch::Resu…
219 #define WARN( msg ) INTERNAL_CATCH_MSG( "WARN", Catch::ResultWas::Warning, Catch::ResultDisposition…
228 #define FAIL( ... ) INTERNAL_CATCH_MSG( "FAIL", Catch::ResultWas::ExplicitFailure, Catch::ResultDis…
229 #define FAIL_CHECK( ... ) INTERNAL_CATCH_MSG( "FAIL_CHECK", Catch::ResultWas::ExplicitFailure, Catc…
230 #define SUCCEED( ... ) INTERNAL_CATCH_MSG( "SUCCEED", Catch::ResultWas::Ok, Catch::ResultDispositio…
/external/bcc/tests/cc/
Dcatch.hpp774 struct ResultWas { enum OfType { struct
794 inline bool isOk( ResultWas::OfType resultType ) { in isOk()
795 return ( resultType & ResultWas::FailureBit ) == 0; in isOk()
798 return flags == ResultWas::Info; in isJustInfo()
843 AssertionResultData() : resultType( ResultWas::Unknown ) {} in AssertionResultData()
847 ResultWas::OfType resultType;
864 ResultWas::OfType getResultType() const;
1241 ResultBuilder& setResultType( ResultWas::OfType result );
1253 void captureResult( ResultWas::OfType resultType );
1903 ResultWas::OfType _type );
[all …]