vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessage / MessageConstructTest.h
blobc7727445bdb2bacd9a4d85bf4f4b26f3c1a9dce5
1 //------------------------------------------------------------------------------
2 // MessageConstructTest.h
3 //
4 //------------------------------------------------------------------------------
6 #ifndef MESSAGECONSTRUCTTEST_H
7 #define MESSAGECONSTRUCTTEST_H
9 // Standard Includes -----------------------------------------------------------
11 // System Includes -------------------------------------------------------------
13 // Project Includes ------------------------------------------------------------
15 // Local Includes --------------------------------------------------------------
16 #include "../common.h"
18 // Local Defines ---------------------------------------------------------------
20 // Globals ---------------------------------------------------------------------
22 class BMessage;
24 class TMessageConstructTest : public TestCase
26 public:
27 TMessageConstructTest() {;}
28 TMessageConstructTest(std::string name) : TestCase(name) {;}
30 void MessageConstructTest1();
31 void MessageConstructTest2();
32 void MessageConstructTest3();
34 static TestSuite* Suite();
36 private:
37 void ConfirmNullConstruction(BMessage& msg);
40 #endif //MESSAGECONSTRUCTTEST_H
43 * $Log $
45 * $Id $