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

Method os_stack_trace_getter

test/common/gtest/gtest.cpp:6459–6465  ·  view source on GitHub ↗

Returns the current OS stack trace getter if it is not NULL; otherwise, creates an OsStackTraceGetter, makes it the current getter, and returns it.

Source from the content-addressed store, hash-verified

6457// otherwise, creates an OsStackTraceGetter, makes it the current
6458// getter, and returns it.
6459OsStackTraceGetterInterface* UnitTestImpl::os_stack_trace_getter() {
6460 if (os_stack_trace_getter_ == NULL) {
6461 os_stack_trace_getter_ = new OsStackTraceGetter;
6462 }
6463
6464 return os_stack_trace_getter_;
6465}
6466
6467// Returns the TestResult for the test that's currently running, or
6468// the TestResult for the ad hoc test if no test is running.

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected