1 //------------------------------------------------------------------------------
2 // MessageInt8ItemTest.h
4 //------------------------------------------------------------------------------
6 #ifndef MESSAGEINT8ITEMTEST_H
7 #define MESSAGEINT8ITEMTEST_H
9 // Standard Includes -----------------------------------------------------------
11 // System Includes -------------------------------------------------------------
13 // Project Includes ------------------------------------------------------------
15 // Local Includes --------------------------------------------------------------
16 #include "MessageItemTest.h"
18 // Local Defines ---------------------------------------------------------------
20 // Globals ---------------------------------------------------------------------
22 typedef TMessageItemFuncPolicy
30 &BMessage::ReplaceInt8
34 struct TInt8InitPolicy
: public ArrayTypeBase
<int8
>
36 inline static int8
Zero() { return 0; }
37 inline static int8
Test1() { return 16; }
38 inline static int8
Test2() { return 32; }
39 inline static size_t SizeOf(const int8
&) { return sizeof (int8
); }
40 inline static ArrayType
Array()
50 typedef TMessageItemAssertPolicy
56 typedef TMessageItemTest
66 #endif // MESSAGEINT8ITEMTEST_H