Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
testing::internal::OsStackTraceGetter Class Reference

#include <gtest-internal-inl.h>

Inheritance diagram for testing::internal::OsStackTraceGetter:
Inheritance graph
[legend]

Public Member Functions

virtual string CurrentStackTrace (int max_depth, int skip_count) GTEST_LOCK_EXCLUDED_(mutex_)
 
 OsStackTraceGetter ()
 
virtual void UponLeavingGTest () GTEST_LOCK_EXCLUDED_(mutex_)
 
- Public Member Functions inherited from testing::internal::OsStackTraceGetterInterface
 OsStackTraceGetterInterface ()
 
virtual ~OsStackTraceGetterInterface ()
 

Static Public Attributes

static const char *const kElidedFramesMarker
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (OsStackTraceGetter)
 

Private Attributes

void * caller_frame_
 
Mutex mutex_
 

Detailed Description

Definition at line 440 of file gtest-internal-inl.h.

Constructor & Destructor Documentation

◆ OsStackTraceGetter()

testing::internal::OsStackTraceGetter::OsStackTraceGetter ( )
inline

Definition at line 442 of file gtest-internal-inl.h.

Member Function Documentation

◆ CurrentStackTrace()

string testing::internal::OsStackTraceGetter::CurrentStackTrace ( int  max_depth,
int  skip_count 
)
virtual

Implements testing::internal::OsStackTraceGetterInterface.

Definition at line 3515 of file gtest.cc.

◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()

testing::internal::OsStackTraceGetter::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( OsStackTraceGetter  )
private

◆ UponLeavingGTest()

void testing::internal::OsStackTraceGetter::UponLeavingGTest ( )
virtual

Implements testing::internal::OsStackTraceGetterInterface.

Definition at line 3521 of file gtest.cc.

Member Data Documentation

◆ caller_frame_

void* testing::internal::OsStackTraceGetter::caller_frame_
private

Definition at line 460 of file gtest-internal-inl.h.

◆ kElidedFramesMarker

const char *const testing::internal::OsStackTraceGetter::kElidedFramesMarker
static
Initial value:
=
"... " GTEST_NAME_ " internal frames ..."

Definition at line 451 of file gtest-internal-inl.h.

◆ mutex_

Mutex testing::internal::OsStackTraceGetter::mutex_
private

Definition at line 454 of file gtest-internal-inl.h.


The documentation for this class was generated from the following files:
GTEST_NAME_
#define GTEST_NAME_
Definition: gtest-port.h:222


fcl
Author(s):
autogenerated on Wed Feb 17 2021 03:40:11