xref: /haiku/src/tests/kits/support/blocker/ConstructionTest1.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 /*
2 	$Id: ConstructionTest1.h 301 2002-07-18 05:32:00Z tylerdauwalder $
3 
4 	This file defines a class for performing one test of BLocker
5 	functionality.
6 
7 	*/
8 
9 
10 #ifndef ConstructionTest1_H
11 #define ConstructionTest1_H
12 
13 
14 #include "LockerTestCase.h"
15 
16 
17 class ConstructionTest1 :
18 	public LockerTestCase {
19 
20 private:
21 	bool NameMatches(const char *, BLocker *);
22 	bool IsBenaphore(BLocker *);
23 
24 protected:
25 
26 public:
27 	void PerformTest(void);
28 	ConstructionTest1(std::string name = "");
29 	virtual ~ConstructionTest1();
30 	static CppUnit::Test *suite(void);
31 	};
32 
33 #endif
34 
35 
36 
37