ParCompMarkTest::TestMutex Class Reference

#include <TestMutex.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Mutex.

This is a CppUnit test suite for class ParCompMark::Mutex of project ParCompMark.

Definition at line 56 of file TestMutex.h.


Public Member Functions

void setUp ()
 Sets up context before running a test.
void tearDown ()
 Cleans up after the test run.

Protected Member Functions

void test_constructor ()
 Tests constructor Mutex::Mutex().
void test_destructor ()
 Tests destructor Mutex::~Mutex().
void test_lock ()
 Tests method Mutex::lock().
void test_trylock ()
 Tests method Mutex::trylock().
void test_unlock ()
 Tests method Mutex::unlock().

Member Function Documentation

void ParCompMarkTest::TestMutex::setUp (  ) 

Sets up context before running a test.

Definition at line 33 of file TestMutex.cpp.

void ParCompMarkTest::TestMutex::tearDown (  ) 

Cleans up after the test run.

Definition at line 40 of file TestMutex.cpp.

void ParCompMarkTest::TestMutex::test_constructor (  )  [protected]

Tests constructor Mutex::Mutex().

Definition at line 50 of file TestMutex.cpp.

References ParCompMark::Lock::getLocked().

Here is the call graph for this function:

void ParCompMarkTest::TestMutex::test_destructor (  )  [protected]

Tests destructor Mutex::~Mutex().

Definition at line 61 of file TestMutex.cpp.

void ParCompMarkTest::TestMutex::test_lock (  )  [protected]

Tests method Mutex::lock().

Definition at line 72 of file TestMutex.cpp.

References ParCompMark::Lock::getLocked(), and ParCompMark::Mutex::lock().

Here is the call graph for this function:

void ParCompMarkTest::TestMutex::test_trylock (  )  [protected]

Tests method Mutex::trylock().

Definition at line 89 of file TestMutex.cpp.

References ParCompMark::Lock::getLocked(), and ParCompMark::Mutex::lock().

Here is the call graph for this function:

void ParCompMarkTest::TestMutex::test_unlock (  )  [protected]

Tests method Mutex::unlock().

Definition at line 107 of file TestMutex.cpp.

References ParCompMark::Lock::getLocked(), ParCompMark::Mutex::lock(), and ParCompMark::Mutex::unlock().

Here is the call graph for this function:


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