MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / reconstructExpression

Method reconstructExpression

src/catch2/catch.hpp:8291–8301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

getExpandedExpressionMethod · 0.80

Calls 2

strMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected