Orxonox  0.0.5 Codename: Arcturus
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::ScopedFakeTestPartResultReporter Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gtest/include/gtest/gtest-spi.h>

Inheritance diagram for testing::ScopedFakeTestPartResultReporter:
testing::TestPartResultReporterInterface

Public Types

enum  InterceptMode { INTERCEPT_ONLY_CURRENT_THREAD, INTERCEPT_ALL_THREADS }
 

Public Member Functions

 ScopedFakeTestPartResultReporter (TestPartResultArray *result)
 
 ScopedFakeTestPartResultReporter (InterceptMode intercept_mode, TestPartResultArray *result)
 
virtual ~ScopedFakeTestPartResultReporter ()
 
virtual void ReportTestPartResult (const TestPartResult &result)
 
- Public Member Functions inherited from testing::TestPartResultReporterInterface
virtual ~TestPartResultReporterInterface ()
 

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (ScopedFakeTestPartResultReporter)
 
void Init ()
 

Private Attributes

const InterceptMode intercept_mode_
 
TestPartResultReporterInterfaceold_reporter_
 
TestPartResultArray *const result_
 

Member Enumeration Documentation

Enumerator
INTERCEPT_ONLY_CURRENT_THREAD 
INTERCEPT_ALL_THREADS 

Constructor & Destructor Documentation

testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter ( TestPartResultArray result)
explicit
testing::ScopedFakeTestPartResultReporter::ScopedFakeTestPartResultReporter ( InterceptMode  intercept_mode,
TestPartResultArray result 
)
testing::ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter ( )
virtual

Member Function Documentation

testing::ScopedFakeTestPartResultReporter::GTEST_DISALLOW_COPY_AND_ASSIGN_ ( ScopedFakeTestPartResultReporter  )
private
void testing::ScopedFakeTestPartResultReporter::Init ( )
private
void testing::ScopedFakeTestPartResultReporter::ReportTestPartResult ( const TestPartResult result)
virtual

Member Data Documentation

const InterceptMode testing::ScopedFakeTestPartResultReporter::intercept_mode_
private
TestPartResultReporterInterface* testing::ScopedFakeTestPartResultReporter::old_reporter_
private
TestPartResultArray* const testing::ScopedFakeTestPartResultReporter::result_
private

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