vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessenger / MessengerAssignmentTester.h
blob6ccc333a276d781fe6f1d187c7b5b2542092f5b9
1 //------------------------------------------------------------------------------
2 // MessengerAssignmentTester.h
3 //
4 //------------------------------------------------------------------------------
6 #ifndef MESSENGER_ASSIGNMENT_TESTER_H
7 #define MESSENGER_ASSIGNMENT_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 MessengerAssignmentTester : public BThreadedTestCase
28 public:
29 MessengerAssignmentTester();
30 MessengerAssignmentTester(std::string name);
31 virtual ~MessengerAssignmentTester();
33 void AssignmentTest1();
34 void AssignmentTest2();
35 void AssignmentTest3();
37 static Test* Suite();
39 private:
40 BHandler *fHandler;
41 BLooper *fLooper;
44 #endif // MESSENGER_ASSIGNMENT_TESTER_H