1 /* 2 $Id: ConcurrencyTest2.h 383 2002-07-22 09:28:00Z tylerdauwalder $ 3 4 This file defines a classes for performing one test of BMessageQueue 5 functionality. 6 7 */ 8 9 10 #ifndef _ConcurrencyTest2_H 11 #define _ConcurrencyTest2_H 12 13 14 #include "MessageQueueTestCase.h" 15 #include "../common.h" 16 17 18 class ConcurrencyTest2 : 19 public MessageQueueTestCase { 20 21 private: 22 23 bool unlockTest; 24 bool isLocked; 25 BMessage *removeMessage; 26 27 public: 28 static Test *suite(void); 29 void setUp(void); 30 void TestThread1(void); 31 void TestThread2(void); 32 void TestThread3(void); 33 void TestThread4(void); 34 void TestThread5(void); 35 ConcurrencyTest2(std::string, bool); 36 virtual ~ConcurrencyTest2(); 37 }; 38 39 #endif 40 41 42 43 44