MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / GetString

Method GetString

tests/gtest/gtest-all.cc:2476–2478  ·  view source on GitHub ↗

Gets the text streamed to this object so far as an std::string. Each '\0' character in the buffer is replaced with "\\0".

Source from the content-addressed store, hash-verified

2474// Gets the text streamed to this object so far as an std::string.
2475// Each '\0' character in the buffer is replaced with "\\0".
2476std::string Message::GetString() const {
2477 return internal::StringStreamToString(ss_.get());
2478}
2479
2480// AssertionResult constructors.
2481// Used in EXPECT_TRUE/FALSE(assertion_result).

Callers 15

TEST_FFunction · 0.80
MessageFunction · 0.80
gtest.hFile · 0.80
StreamableToStringFunction · 0.80
DefaultParamNameFunction · 0.80
RegisterTestsMethod · 0.80
AppendUserMessageFunction · 0.80
FormatWordListFunction · 0.80
RecordPropertyMethod · 0.80

Calls 2

StringStreamToStringFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected