1 //------------------------------------------------------------------------------ 2 // LockTester.h 3 // 4 //------------------------------------------------------------------------------ 5 6 #ifndef LOCK_TESTER_H 7 #define LOCK_TESTER_H 8 9 // Standard Includes ----------------------------------------------------------- 10 11 // System Includes ------------------------------------------------------------- 12 13 // Project Includes ------------------------------------------------------------ 14 15 // Local Includes -------------------------------------------------------------- 16 #include "../common.h" 17 18 // Local Defines --------------------------------------------------------------- 19 20 // Globals --------------------------------------------------------------------- 21 22 class LockTester : public TestCase 23 { 24 public: LockTester()25 LockTester() {;} LockTester(std::string name)26 LockTester(std::string name) : TestCase(name) {;} 27 28 void Lock1(); 29 void Lock2(); 30 void IsLocked1(); 31 void IsLocked2(); 32 void Unlock1(); 33 34 static Test* Suite(); 35 }; 36 37 #endif // LOCK_TESTER_H 38 39