vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessenger / LockTargetWithTimeoutTester.h
blob381483fabc6cc04a63b9a1768901f12ec33aba5a
1 //------------------------------------------------------------------------------
2 // LockTargetWithTimeoutTester.h
3 //
4 //------------------------------------------------------------------------------
6 #ifndef LOCK_TARGET_WITH_TIMEOUT_TESTER_H
7 #define LOCK_TARGET_WITH_TIMEOUT_TESTER_H
9 // Standard Includes -----------------------------------------------------------
11 // System Includes -------------------------------------------------------------
13 // Project Includes ------------------------------------------------------------
14 #include <ThreadedTestCase.h>
16 // Local Includes --------------------------------------------------------------
17 #include "../common.h"
19 // Local Defines ---------------------------------------------------------------
21 // Globals ---------------------------------------------------------------------
23 class BHandler;
24 class BLooper;
26 class LockTargetWithTimeoutTester : public BThreadedTestCase
28 public:
29 LockTargetWithTimeoutTester();
30 LockTargetWithTimeoutTester(std::string name);
31 virtual ~LockTargetWithTimeoutTester();
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();
47 static Test* Suite();
49 private:
50 BHandler *fHandler;
51 BLooper *fLooper;
54 #endif // LOCK_TARGET_WITH_TIMEOUT_TESTER_H