16 |
class MutexTest : public CppUnit::TestFixture { |
class MutexTest : public CppUnit::TestFixture { |
17 |
|
|
18 |
CPPUNIT_TEST_SUITE(MutexTest); |
CPPUNIT_TEST_SUITE(MutexTest); |
19 |
|
CPPUNIT_TEST(printTestSuiteName); |
20 |
CPPUNIT_TEST(testLockAndUnlockBySingleThread); |
CPPUNIT_TEST(testLockAndUnlockBySingleThread); |
21 |
CPPUNIT_TEST(testLock); |
CPPUNIT_TEST(testLock); |
22 |
CPPUNIT_TEST(testUnlock); |
CPPUNIT_TEST(testUnlock); |
51 |
void setUp(); |
void setUp(); |
52 |
void tearDown(); |
void tearDown(); |
53 |
|
|
54 |
|
void printTestSuiteName(); |
55 |
|
|
56 |
void testLockAndUnlockBySingleThread(); |
void testLockAndUnlockBySingleThread(); |
57 |
void testLock(); |
void testLock(); |
58 |
void testUnlock(); |
void testUnlock(); |