proxygen
testing::internal::ScopedTrace Class Reference

#include <gtest-internal.h>

Public Member Functions

 ScopedTrace (const char *file, int line, const Message &message)
 
 ~ScopedTrace ()
 
 ScopedTrace (const char *file, int line, const Message &message)
 
 ~ScopedTrace ()
 
 ScopedTrace (const char *file, int line, const Message &message)
 
 ~ScopedTrace ()
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedTrace)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedTrace)
 
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedTrace)
 

Detailed Description

Definition at line 156 of file gtest-internal.h.

Constructor & Destructor Documentation

testing::internal::ScopedTrace::ScopedTrace ( const char *  file,
int  line,
const Message message 
)

Definition at line 3828 of file gtest.cc.

References testing::internal::TraceInfo::file, testing::UnitTest::GetInstance(), testing::internal::TraceInfo::line, testing::internal::TraceInfo::message, and testing::UnitTest::PushGTestTrace().

Referenced by testing::internal::PortableLocaltime().

3829  {
3830  TraceInfo trace;
3831  trace.file = file;
3832  trace.line = line;
3833  trace.message = message.GetString();
3834 
3836 }
Definition: test.c:42
void PushGTestTrace(const internal::TraceInfo &trace) GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:4310
static UnitTest * GetInstance()
Definition: gtest.cc:3972
testing::internal::ScopedTrace::~ScopedTrace ( )
testing::internal::ScopedTrace::ScopedTrace ( const char *  file,
int  line,
const Message message 
)
testing::internal::ScopedTrace::~ScopedTrace ( )
testing::internal::ScopedTrace::ScopedTrace ( const char *  file,
int  line,
const Message message 
)
testing::internal::ScopedTrace::~ScopedTrace ( )

Member Function Documentation

testing::internal::ScopedTrace::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ScopedTrace  )
private
testing::internal::ScopedTrace::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ScopedTrace  )
private
testing::internal::ScopedTrace::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ScopedTrace  )
private

The documentation for this class was generated from the following files: