1 /* 2 $Id: SemaphoreLockCountTest1.h 301 2002-07-18 05:32:00Z tylerdauwalder $ 3 4 This file defines a classes for performing one test of BLocker 5 functionality. 6 7 */ 8 9 10 #ifndef SemaphoreLockCountTest1_H 11 #define SemaphoreLockCountTest1_H 12 13 14 #include "LockerTestCase.h" 15 #include <string> 16 17 class SemaphoreLockCountTest1 : 18 public LockerTestCase { 19 20 private: 21 22 BLocker thread2Lock; 23 BLocker thread3Lock; 24 25 bool CheckLockRequests(int); 26 27 protected: 28 29 public: 30 void TestThread1(void); 31 void TestThread2(void); 32 void TestThread3(void); 33 SemaphoreLockCountTest1(std::string); 34 virtual ~SemaphoreLockCountTest1(); 35 static Test *suite(void); 36 }; 37 38 #endif 39 40 41 42