vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessenger / MessengerComparissonTester.h
blob9589fbee3fe6976c444fb9e54673466b0553d9eb
1 //------------------------------------------------------------------------------
2 // MessengerComparissonTester.h
3 //
4 //------------------------------------------------------------------------------
6 #ifndef MESSENGER_COMPARISSON_TESTER_H
7 #define MESSENGER_COMPARISSON_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 MessengerComparissonTester : public BThreadedTestCase
28 public:
29 MessengerComparissonTester();
30 MessengerComparissonTester(std::string name);
31 virtual ~MessengerComparissonTester();
33 void ComparissonTest1();
34 void ComparissonTest2();
35 void ComparissonTest3();
36 void LessTest1();
38 static Test* Suite();
40 private:
41 BHandler *fHandler;
42 BLooper *fLooper;
45 #endif // MESSENGER_COMPARISSON_TESTER_H