MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / reconstructExpression

Method reconstructExpression

extern/Catch2/catch.hpp:8296–8306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8294 resultType(_resultType) {}
8295
8296 std::string AssertionResultData::reconstructExpression() const {
8297
8298 if( reconstructedExpression.empty() ) {
8299 if( lazyExpression ) {
8300 ReusableStringStream rss;
8301 rss << lazyExpression;
8302 reconstructedExpression = rss.str();
8303 }
8304 }
8305 return reconstructedExpression;
8306 }
8307
8308 AssertionResult::AssertionResult( AssertionInfo const& info, AssertionResultData const& data )
8309 : m_info( info ),

Callers 1

getExpandedExpressionMethod · 0.80

Calls 2

emptyMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected