update dev300-m58
[ooovba.git] / sal / qa / ByteSequence / Byte_Const.h
blob2b05e6ae397721ad0ddfbcc6aa5a8acb18437cff
1 #ifndef _BYTE_CONST_H_
2 #define _BYTE_CONST_H_
4 //------------------------------------------------------------------------
5 //------------------------------------------------------------------------
6 #include <sal/types.h>
8 //------------------------------------------------------------------------
9 //------------------------------------------------------------------------
11 #ifdef __cplusplus
12 extern "C"
14 #endif
16 //------------------------------------------------------------------------
17 //------------------------------------------------------------------------
18 const sal_Int32 kTestByteCount1 = 7;
19 const sal_Int32 kTestByteCount2 = 0;
20 const sal_Int32 kTestByteCount3 = 45;
21 const sal_Int32 kTestByteCount4 = 100;
22 const sal_Int32 kTestByteCount5 = 23;
23 const sal_Int32 kTestByteCount6 = 90;
26 sal_Int8 kTestByte = 100;
27 sal_Int8 kTestByte1 = 0;
28 sal_Int8 kTestByte2 = 1;
29 sal_Int8 kTestByte3 = 2;
30 sal_Int8 kTestByte4 = -98;
32 sal_Int8 kTestByte5[] = {kTestByte, kTestByte1, kTestByte2, kTestByte3, kTestByte4};
34 sal_Int8 kTestByte60 = 56;
35 sal_Int8 kTestByte61 = -1;
36 sal_Int8 kTestByte62 = -23;
37 sal_Int8 kTestByte63 = 21;
38 sal_Int8 kTestByte64 = -128;
39 sal_Int8 kTestByte65 = 127;
40 sal_Int8 kTestByte6[] = {kTestByte60, kTestByte61, kTestByte62, kTestByte63, kTestByte64, kTestByte65};
42 //------------------------------------------------------------------------
44 char kTestChar = 45;
45 char kTestChar0 = 0;
46 char kTestChar1 = (char)((500 & 0xff) - 256);
47 char kTestChar2 = 78;
48 char kTestChar3 = (char)(-155 & 0xff);
50 sal_Int32 kTestSeqLen0 = 0;
51 sal_Int32 kTestSeqLen1 = 5;
52 sal_Int32 kTestSeqLen2 = 34;
53 sal_Int32 kTestSeqLen3 = 270;
55 sal_Sequence kTestEmptyByteSeq =
57 1, /* sal_Int32 refCount; */
58 kTestSeqLen0, /* sal_Int32 length; */
59 { kTestChar0 } /* sal_Unicode buffer[1]; */
62 sal_Sequence kTestByteSeq1 =
64 1, /* sal_Int32 refCount; */
65 kTestSeqLen1, /* sal_Int32 length; */
66 { kTestChar1 } /* sal_Unicode buffer[1]; */
69 sal_Sequence kTestByteSeq2 =
71 3, /* sal_Int32 refCount; */
72 kTestSeqLen2, /* sal_Int32 length; */
73 { kTestChar2 } /* sal_Unicode buffer[1]; */
76 sal_Sequence kTestByteSeq3 =
78 2, /* sal_Int32 refCount; */
79 kTestSeqLen3, /* sal_Int32 length; */
80 { kTestChar3 } /* sal_Unicode buffer[1]; */
83 //------------------------------------------------------------------------
84 //------------------------------------------------------------------------
86 #ifdef __cplusplus
88 #endif
90 //------------------------------------------------------------------------
91 //------------------------------------------------------------------------
93 #endif /* _BYTE_CONST_H_ */