MCPcopy Create free account
hub / github.com/catchorg/Catch2 / hasExpression

Method hasExpression

extras/catch_amalgamated.cpp:665–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663 }
664
665 bool AssertionResult::hasExpression() const {
666 return !m_info.capturedExpression.empty();
667 }
668
669 bool AssertionResult::hasMessage() const {
670 return !m_resultData.message.empty();

Callers 10

printFunction · 0.45
printMethod · 0.45
printExpressionWasMethod · 0.45
writeAssertionMethod · 0.45
printMethod · 0.45
printExpressionWasMethod · 0.45
assertionEndedMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected