1 //------------------------------------------------------------------------------ 2 // LockTargetTester.h 3 // 4 //------------------------------------------------------------------------------ 5 6 #ifndef LOCK_TARGET_TESTER_H 7 #define LOCK_TARGET_TESTER_H 8 9 // Standard Includes ----------------------------------------------------------- 10 11 // System Includes ------------------------------------------------------------- 12 13 // Project Includes ------------------------------------------------------------ 14 #include <ThreadedTestCase.h> 15 16 // Local Includes -------------------------------------------------------------- 17 #include "../common.h" 18 19 // Local Defines --------------------------------------------------------------- 20 21 // Globals --------------------------------------------------------------------- 22 23 class BHandler; 24 class BLooper; 25 26 class LockTargetTester : public BThreadedTestCase 27 { 28 public: 29 LockTargetTester(); 30 LockTargetTester(std::string name); 31 virtual ~LockTargetTester(); 32 33 void LockTargetTest1(); 34 void LockTargetTest2(); 35 void LockTargetTest3(); 36 void LockTargetTest4A(); 37 void LockTargetTest4B(); 38 void LockTargetTest5A(); 39 void LockTargetTest5B(); 40 void LockTargetTest6(); 41 void LockTargetTest7(); 42 43 static Test* Suite(); 44 45 private: 46 BHandler *fHandler; 47 BLooper *fLooper; 48 }; 49 50 #endif // LOCK_TARGET_TESTER_H 51 52