test::MutexTest Class Reference

#include <mutexTest.h>

List of all members.

Public Member Functions

void setUp ()
void reset ()
void testMutex ()
void testRecursiveMutex ()
void tearDown ()


Detailed Description

Test case for mutex class
Author:
Zhi Gan (ganzhi@gmail.com)

Member Function Documentation

void test::MutexTest::setUp (  )  [inline]

void test::MutexTest::reset (  )  [inline]

void test::MutexTest::testMutex (  ) 

This test case will start 2 threads. Each thread will try to acquire a lock and then sleep three seconds. So if the mutex work correctly, the whole test case will need longer than 6 seconds.

void test::MutexTest::testRecursiveMutex (  ) 

void test::MutexTest::tearDown (  )  [inline]


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

Generated on Tue Dec 9 13:39:40 2008 for Amino by  doxygen 1.5.6