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

Method PushTrace

tests/gtest/gtest-all.cc:7589–7596  ·  view source on GitHub ↗

Pushes the given source file location and message onto a per-thread trace stack maintained by Google Test.

Source from the content-addressed store, hash-verified

7587// Pushes the given source file location and message onto a per-thread
7588// trace stack maintained by Google Test.
7589void ScopedTrace::PushTrace(const char* file, int line, std::string message) {
7590 internal::TraceInfo trace;
7591 trace.file = file;
7592 trace.line = line;
7593 trace.message.swap(message);
7594
7595 UnitTest::GetInstance()->PushGTestTrace(trace);
7596}
7597
7598// Pops the info pushed by the c'tor.
7599ScopedTrace::~ScopedTrace()

Callers

nothing calls this directly

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected