vfs: check userland buffers before reading them.
[haiku.git] / src / tests / kits / app / bmessage / MessageSpeedTest.h
blobefdfb7481f525ed521d086ecd226461e355ba388
1 /*
2 * Copyright 2005, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Michael Lotz <mmlr@mlotz.ch>
7 * Olivier Milla <methedras at online dot fr>
8 */
10 #ifndef _MESSAGE_SPEED_TEST_H_
11 #define _MESSAGE_SPEED_TEST_H_
13 #include "../common.h"
15 class TMessageSpeedTest : public TestCase {
17 public:
18 TMessageSpeedTest() {};
19 TMessageSpeedTest(std::string name)
20 : TestCase(name)
21 {};
23 void MessageSpeedTestCreate5Int32();
24 void MessageSpeedTestCreate50Int32();
25 void MessageSpeedTestCreate500Int32();
26 void MessageSpeedTestCreate5000Int32();
28 void MessageSpeedTestCreate5String();
29 void MessageSpeedTestCreate50String();
30 void MessageSpeedTestCreate500String();
31 void MessageSpeedTestCreate5000String();
33 void MessageSpeedTestLookup5Int32();
34 void MessageSpeedTestLookup50Int32();
35 void MessageSpeedTestLookup500Int32();
36 void MessageSpeedTestLookup5000Int32();
38 void MessageSpeedTestRead5Int32();
39 void MessageSpeedTestRead50Int32();
40 void MessageSpeedTestRead500Int32();
41 void MessageSpeedTestRead5000Int32();
43 void MessageSpeedTestRead5String();
44 void MessageSpeedTestRead50String();
45 void MessageSpeedTestRead500String();
46 void MessageSpeedTestRead5000String();
48 void MessageSpeedTestFlatten5Int32();
49 void MessageSpeedTestFlatten50Int32();
50 void MessageSpeedTestFlatten500Int32();
51 void MessageSpeedTestFlatten5000Int32();
53 void MessageSpeedTestFlatten5String();
54 void MessageSpeedTestFlatten50String();
55 void MessageSpeedTestFlatten500String();
56 void MessageSpeedTestFlatten5000String();
58 void MessageSpeedTestFlattenIndividual5Int32();
59 void MessageSpeedTestFlattenIndividual50Int32();
60 void MessageSpeedTestFlattenIndividual500Int32();
61 void MessageSpeedTestFlattenIndividual5000Int32();
63 void MessageSpeedTestFlattenIndividual5String();
64 void MessageSpeedTestFlattenIndividual50String();
65 void MessageSpeedTestFlattenIndividual500String();
66 void MessageSpeedTestFlattenIndividual5000String();
68 void MessageSpeedTestUnflatten5Int32();
69 void MessageSpeedTestUnflatten50Int32();
70 void MessageSpeedTestUnflatten500Int32();
71 void MessageSpeedTestUnflatten5000Int32();
73 void MessageSpeedTestUnflatten5String();
74 void MessageSpeedTestUnflatten50String();
75 void MessageSpeedTestUnflatten500String();
76 void MessageSpeedTestUnflatten5000String();
78 void MessageSpeedTestUnflattenIndividual5Int32();
79 void MessageSpeedTestUnflattenIndividual50Int32();
80 void MessageSpeedTestUnflattenIndividual500Int32();
81 void MessageSpeedTestUnflattenIndividual5000Int32();
83 void MessageSpeedTestUnflattenIndividual5String();
84 void MessageSpeedTestUnflattenIndividual50String();
85 void MessageSpeedTestUnflattenIndividual500String();
86 void MessageSpeedTestUnflattenIndividual5000String();
88 static TestSuite *Suite();
91 #endif // _MESSAGE_SPEED_TEST_H_