1/*
2	$Id: BenaphoreLockCountTest1.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 BenaphoreLockCountTest1_H
11#define BenaphoreLockCountTest1_H
12
13
14#include <string>
15
16#include "LockerTestCase.h"
17
18
19class BenaphoreLockCountTest1 : public LockerTestCase {
20private:
21	BLocker thread2Lock;
22	BLocker thread3Lock;
23
24	bool CheckLockRequests(int);
25
26protected:
27
28public:
29	void TestThread1(void);
30	void TestThread2(void);
31	void TestThread3(void);
32	BenaphoreLockCountTest1(std::string);
33	virtual ~BenaphoreLockCountTest1();
34	static CppUnit::Test *suite(void);
35};
36
37#endif
38
39
40
41