MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / GTestLog

Method GTestLog

test/common/gtest/gtest.cpp:9526–9534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9524
9525
9526GTestLog::GTestLog(GTestLogSeverity severity, const char* file, int line)
9527 : severity_(severity) {
9528 const char* const marker =
9529 severity == GTEST_INFO ? "[ INFO ]" :
9530 severity == GTEST_WARNING ? "[WARNING]" :
9531 severity == GTEST_ERROR ? "[ ERROR ]" : "[ FATAL ]";
9532 GetStream() << ::std::endl << marker << " "
9533 << FormatFileLocation(file, line).c_str() << ": ";
9534}
9535
9536// Flushes the buffers and, if severity is GTEST_FATAL, aborts the program.
9537GTestLog::~GTestLog() {

Callers

nothing calls this directly

Calls 1

FormatFileLocationFunction · 0.85

Tested by

no test coverage detected