vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessenger / SendMessageTester.h
blobad2726d149d8f271636cfe4f862be109308090f5
1 //------------------------------------------------------------------------------
2 // SendMessageTester.h
3 //
4 //------------------------------------------------------------------------------
6 #ifndef SEND_MESSAGE_TESTER_H
7 #define SEND_MESSAGE_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;
25 class SMTester;
27 class SendMessageTester : public BThreadedTestCase
29 public:
30 SendMessageTester();
31 SendMessageTester(std::string name);
32 virtual ~SendMessageTester();
34 void TestUninitialized();
35 void TestInitialized(SMTester &tester);
37 void SendMessageTest1();
39 static Test* Suite();
41 private:
42 BHandler *fHandler;
43 BLooper *fLooper;
46 #endif // SEND_MESSAGE_TESTER_H