Public Member Functions | Private Attributes
CxxTest::TestRunner::StateGuard Class Reference

Public Member Functions

 StateGuard ()
 
 ~StateGuard ()
 

Private Attributes

unsigned _maxDumpSize
 

Detailed Description

Definition at line 80 of file TestRunner.h.

Constructor & Destructor Documentation

CxxTest::TestRunner::StateGuard::StateGuard ( )
inline

Definition at line 88 of file TestRunner.h.

89  {
90 #ifdef _CXXTEST_HAVE_EH
91  _abortTestOnFail = abortTestOnFail();
92 #endif // _CXXTEST_HAVE_EH
94  }
unsigned maxDumpSize()
Definition: TestSuite.cpp:43
bool abortTestOnFail()
Definition: TestSuite.cpp:20
CxxTest::TestRunner::StateGuard::~StateGuard ( )
inline

Definition at line 96 of file TestRunner.h.

97  {
98 #ifdef _CXXTEST_HAVE_EH
99  setAbortTestOnFail( _abortTestOnFail );
100 #endif // _CXXTEST_HAVE_EH
102  }
void setMaxDumpSize(unsigned value)
Definition: TestSuite.cpp:48
void setAbortTestOnFail(bool value)
Definition: TestSuite.cpp:25

Field Documentation

unsigned CxxTest::TestRunner::StateGuard::_maxDumpSize
private

Definition at line 85 of file TestRunner.h.


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