test::LockTest Class Reference

#include <lockTest.h>

List of all members.

Public Member Functions

void setUp ()
void reset ()
void testLock ()
void testRecursiveLock ()
void tearDown ()

Detailed Description

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

Member Function Documentation

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

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

void test::LockTest::testLock (  ) 

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::LockTest::testRecursiveLock (  ) 

void test::LockTest::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