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

Method reconstructExpression

extras/catch_amalgamated.cpp:634–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632 resultType(_resultType) {}
633
634 std::string AssertionResultData::reconstructExpression() const {
635
636 if( reconstructedExpression.empty() ) {
637 if( lazyExpression ) {
638 ReusableStringStream rss;
639 rss << lazyExpression;
640 reconstructedExpression = rss.str();
641 }
642 }
643 return reconstructedExpression;
644 }
645
646 AssertionResult::AssertionResult( AssertionInfo const& info, AssertionResultData&& data )
647 : m_info( info ),

Callers 2

printFunction · 0.45
getExpandedExpressionMethod · 0.45

Calls 2

emptyMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected