ARB
Public Member Functions | Public Attributes | List of all members
Globals Struct Reference
Inheritance diagram for Globals:
Inheritance graph
[legend]
Collaboration diagram for Globals:
Collaboration graph
[legend]

Public Member Functions

 Globals ()
 
 ~Globals ()
 
void setup_test_precondition ()
 
void setup_test_postcondition ()
 
- Public Member Functions inherited from Noncopyable
 Noncopyable ()
 

Public Attributes

bool inside_test
 
bool running_on_valgrind
 
charrunDir
 
pid_t pid
 
const charlibname
 

Detailed Description

Definition at line 75 of file UnitTester.cxx.

Constructor & Destructor Documentation

Globals::Globals ( )
inline

Definition at line 82 of file UnitTester.cxx.

References RUNNING_ON_VALGRIND.

Globals::~Globals ( )
inline

Definition at line 90 of file UnitTester.cxx.

Member Function Documentation

void Globals::setup_test_precondition ( )
inline

Definition at line 94 of file UnitTester.cxx.

References TEST_EXPECT_ZERO_OR_SHOW_ERRNO.

Referenced by SimpleTester::perform_all().

void Globals::setup_test_postcondition ( )
inline

Definition at line 97 of file UnitTester.cxx.

References NULp.

Referenced by SimpleTester::perform_all().

Member Data Documentation

bool Globals::inside_test

Definition at line 76 of file UnitTester.cxx.

Referenced by execute_guarded_ClientCode(), and UNITTEST_sigsegv_handler().

bool Globals::running_on_valgrind

Definition at line 77 of file UnitTester.cxx.

Referenced by execute_guarded().

char* Globals::runDir

Definition at line 78 of file UnitTester.cxx.

Referenced by getLocalFlag(), and UnitTester::UnitTester().

pid_t Globals::pid

Definition at line 79 of file UnitTester.cxx.

const char* Globals::libname

Definition at line 80 of file UnitTester.cxx.

Referenced by getLocalFlag(), and UnitTester::UnitTester().


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