xref: /haiku/src/tests/kits/support/bautolock/AutolockLockerTest.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 /*
2 	$Id: AutolockLockerTest.h 332 2002-07-19 06:45:28Z tylerdauwalder $
3 
4 	This file defines the class for performing all BAutolock tests on a
5 	BLocker.
6 
7 	*/
8 
9 
10 #ifndef AutolockLockerTest_H
11 #define AutolockLockerTest_H
12 
13 #include "ThreadedTestCase.h"
14 #include <string>
15 
16 class BLocker;
17 class CppUnit::Test;
18 
19 class AutolockLockerTest : public BThreadedTestCase {
20 
21 private:
22 	BLocker *theLocker;
23 
24 public:
25 	static CppUnit::Test *suite(void);
26 	void TestThread1(void);
27 	void TestThread2(void);
28 	void TestThread3(void);
29 	AutolockLockerTest(std::string);
30 	virtual ~AutolockLockerTest();
31 };
32 
33 #endif
34 
35 
36 
37 
38