1//------------------------------------------------------------------------------
2//	LockTargetWithTimeoutTester.h
3//
4//------------------------------------------------------------------------------
5
6#ifndef LOCK_TARGET_WITH_TIMEOUT_TESTER_H
7#define LOCK_TARGET_WITH_TIMEOUT_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
23class BHandler;
24class BLooper;
25
26class LockTargetWithTimeoutTester : public BThreadedTestCase
27{
28public:
29	LockTargetWithTimeoutTester();
30	LockTargetWithTimeoutTester(std::string name);
31	virtual ~LockTargetWithTimeoutTester();
32
33	void LockTargetWithTimeoutTest1();
34	void LockTargetWithTimeoutTest2();
35	void LockTargetWithTimeoutTest3();
36	void LockTargetWithTimeoutTest4A();
37	void LockTargetWithTimeoutTest4B();
38	void LockTargetWithTimeoutTest5A();
39	void LockTargetWithTimeoutTest5B();
40	void LockTargetWithTimeoutTest6A();
41	void LockTargetWithTimeoutTest6B();
42	void LockTargetWithTimeoutTest7A();
43	void LockTargetWithTimeoutTest7B();
44	void LockTargetWithTimeoutTest8();
45	void LockTargetWithTimeoutTest9();
46
47	static Test* Suite();
48
49private:
50	BHandler *fHandler;
51	BLooper *fLooper;
52};
53
54#endif	// LOCK_TARGET_WITH_TIMEOUT_TESTER_H
55
56