|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Provides test messages and other constants for test cases. |
|
15 |
|
16 |
|
17 #include <e32base.h> |
|
18 #include <e32des8.h> |
|
19 |
|
20 #if (!defined __TEST_MESSAGE_H__) |
|
21 #define __TEST_MESSAGE_H__ |
|
22 |
|
23 |
|
24 // General test messages |
|
25 _LIT(KTestMessage,"This is the test message"); |
|
26 _LIT8(KTestMessage8,"This is the test message"); |
|
27 _LIT8(KLogFillerMessage8,"Log filler message"); |
|
28 _LIT8(KTestEndMessage8,"This is the test end message"); |
|
29 |
|
30 _LIT8(KFirstTestMessage,"This is the test message before file modification"); //test descriptor |
|
31 _LIT8(KSecondTestMessage,"This is the test message after file modification"); //Second test decriptor |
|
32 |
|
33 |
|
34 _LIT8(KTestTooLongMessage8,"This is the long message This is the long message This is the long message This is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is "); ///< KLogBufferSize is only 200 chars and this is over 250. |
|
35 _LIT16(KTestTooLongMessage16,"This is the long message This is the long message This is the long message This is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is "); ///< KLogBufferSize is only 200 chars and this is over 250. |
|
36 |
|
37 |
|
38 _LIT(KTestMessageOne,"The value of x is "); |
|
39 _LIT(KTestMessageTwo,"The value of x is :"); |
|
40 |
|
41 _LIT16(KTestMessageOneParam16,"The value of x is %d"); |
|
42 _LIT8(KTestMessageOneParam8,"The value of x is %d"); |
|
43 _LIT16(KTestTooLongMessageOneParam16,"This is the long message This is the long message This is the long message This is the long message %d This is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is "); ///< KLogBufferSize is only 200 chars and this is over 250. |
|
44 _LIT8(KTestTooLongMessageOneParam8,"This is the long message This is the long message This is the long message This is the long message %d This is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis is "); ///< KLogBufferSize is only 200 chars and this is over 250. |
|
45 |
|
46 |
|
47 |
|
48 _LIT8(KEightSpaces8," "); |
|
49 |
|
50 _LIT8(KTestMessageWithEscapeChars8,"Th\tis\a is t\ahe tes\at me\as\rs\nage"); // includes several bells and a tab. LF, CR |
|
51 _LIT8(K2ndTestMessageWithEscapeChars8,"Thi\xffs is t\x1bhe tes\0t me\xffssa\xffge"); // includes several char 255s and a null,esc |
|
52 |
|
53 // Parameter values for Test messages (where applicable) |
|
54 const TInt KTestMessageOneParamValue = 39; |
|
55 const TInt KTestTooLongMessageOneParamValue = 6879; |
|
56 |
|
57 |
|
58 |
|
59 // General test expected messages (where they differ from test messages or are system-provided) |
|
60 _LIT8(KTestTooLongExpectedMessage,"This is the long message This is the long message This is the long message This is the long messageThis is the long messageThis is the long messageThis is the long messageThis is the long messageThis "); ///< first 200 chars of KTestTooLongMessage16. |
|
61 |
|
62 _LIT8(KTestMessageOneParamExpected,"The value of x is 39"); |
|
63 _LIT8(KTestTooLongMessageOneParamExpected,"This is the long message This is the long message This is the long message This is the long message 6879 This is the long messageThis is the long messageThis is the long messageThis is the long messag"); ///< first 200 chars of KTestTooLongMessageOneParam16. |
|
64 |
|
65 _LIT8(KSampleTimeLine,"#Time = xx:xx:xx"); |
|
66 _LIT8(KErrIniProblemMessage,"There is a problem with the ini file"); |
|
67 _LIT8(KErrOOM, "#Logs may be lost out of memory!!"); |
|
68 _LIT8(KMessageIniHasChanged,"#Ini file changes detected and noted."); |
|
69 _LIT8(KTestMessageAsHex8,"0000 : 54 68 69 73 20 69 73 20 74 68 65 20 74 65 73 74 This is the test"); |
|
70 |
|
71 |
|
72 // Test Messages for HEX output |
|
73 _LIT8(KHexTestHeader,"Test Header"); //8 bit test header descriptor |
|
74 _LIT8(KHexTestMargin," ");// 8 bit test margin descriptor |
|
75 |
|
76 |
|
77 |
|
78 // Expected Date Test Messages |
|
79 _LIT8(KDateChangeMessage,"Date is now"); |
|
80 |
|
81 |
|
82 |
|
83 // Tag combinations |
|
84 |
|
85 _LIT8(KStdSubsysTag8,"Subsystem"); |
|
86 _LIT8(KStdCompTag8,"Component"); |
|
87 |
|
88 _LIT16(KStdSubsysTag16,"Subsystem"); |
|
89 _LIT16(KStdCompTag16,"Component"); |
|
90 |
|
91 // 1234567890123456 |
|
92 _LIT16(KSubsysTag16char16,"Subsystem0123456"); // 16 chars long, unicode |
|
93 _LIT16(KCompTag16char16, "Component0123456"); // 16 chars long, unicode |
|
94 |
|
95 _LIT8(KSubsysTag16char8, "Subsystem0123456"); // 16 chars long, 8-bit |
|
96 _LIT8(KCompTag16char8, "Component0123456"); // 16 chars long, 8-bit |
|
97 |
|
98 _LIT16(KSubsysTag17char16,"Subsystem01234567"); // 17 chars long, unicode |
|
99 _LIT16(KCompTag17char16, "Component01234567"); // 17 chars long, unicode |
|
100 |
|
101 _LIT8(KSubsysTag17char8, "Subsystem01234567"); // 17 chars long, 8-bit |
|
102 _LIT8(KCompTag17char8, "Component01234567"); // 17 chars long, 8-bit |
|
103 |
|
104 _LIT8(KSubsysTag66char8, "Subsystem01234567----------+-+-+-+-+-1234567890%$0xa3\\\"!^&*()<>?,./@~'#"); |
|
105 _LIT8(KCompTag66char8, "Component01234567----------+-+-+-+-+-1234567890%$0xa3\\\"!^&*()<>?,./@~'#"); |
|
106 |
|
107 |
|
108 _LIT16(KSubsysTag66char16, "Subsystem01234567----------+-+-+-+-+-1234567890%$0xa3\\\"!^&*()<>?,./@~'#"); |
|
109 _LIT16(KCompTag66char16, "Component01234567----------+-+-+-+-+-1234567890%$0xa3\\\"!^&*()<>?,./@~'#"); |
|
110 |
|
111 |
|
112 _LIT8(KCompTagWithSpaceChars8,"Comp onent"); |
|
113 _LIT16(KCompTagWithSpaceChars16,"Comp onent"); |
|
114 |
|
115 _LIT8(KSubsysTagWithPunctuationChars8,"Sub-+/sy'stem"); |
|
116 _LIT8(KCompTagWithPunctuationChars8,"Co*mpo<>"); |
|
117 |
|
118 _LIT16(KSubsysTagWithPunctuationChars16,"Sub-+/sy'stem"); |
|
119 _LIT16(KCompTagWithPunctuationChars16,"Co*mpo<>"); |
|
120 |
|
121 _LIT8(KSubsysTagWithEscapeChars8,"Subsys\a\t\0tem"); // includes bell, tab and null |
|
122 _LIT8(KCompTagWithEscapeChars8,"Compo\r\n\x1b\xffnent"); // includes CR, LF, ESC, and char 255 |
|
123 |
|
124 // Ini extra inputs |
|
125 |
|
126 _LIT8(KDefaultIniFileSettings, "\r\nLOG subsystem component"); |
|
127 _LIT8(KTagTestsIniFileSettings, "\r\nLOG subsystem component\r\nLOG subsystem0123456 component0123456\r\nLOG subsystem01234567 component01234567\r\nLOG subsystem0123456789 component0123456789\r\nLOG subsystem0123456789012345678901234567890 component0123456789012345678901234567890\r\n"); |
|
128 _LIT8(KSyncTestsIniFileSettings, "\r\nSynchronous\r\nLOG subsystem component"); |
|
129 _LIT8(KIniFileChangeIniFileSettings,"\r\nLOG esock esock.txt\r\nLOG networking\r\n"); |
|
130 |
|
131 // Full Ini configs |
|
132 _LIT8(KIniConfigWithFileAndDebugPort, "MEDIA FILE\r\nWin32Debug\r\nLOG subsystem component"); |
|
133 _LIT8(KIniConfigWithSerialAndDebugPort, "MEDIA SERIAL::1\r\nWin32Debug\r\nLOG subsystem component"); |
|
134 |
|
135 // String size constants |
|
136 // All these are for 8-bit strings since they are used only when checking flogger output. |
|
137 const TInt KTestMessageSize = 30; |
|
138 |
|
139 #define LOGMARGINTEMPLATE _S8("SubsystemTComponentTaTxT") |
|
140 const TInt KMarginTemplateSize = sizeof(LOGMARGINTEMPLATE) - 1; |
|
141 |
|
142 // Binary Data, lengths and data |
|
143 const TInt K2KilobytesOfDataSize = 2048; |
|
144 |
|
145 // (For the curious, this data actually comes from a fax raster font, but flattened to 1 dimension) |
|
146 // followed by some data from K1KilobyteOfData. The data is 128 lines by 16 bytes. |
|
147 const TUint8 K2KilobytesOfData [K2KilobytesOfDataSize] = |
|
148 |
|
149 { |
|
150 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, // 32 |
|
151 0x00,0x00,0x18,0x3c,0x3c,0x3c,0x18,0x18,0x18,0x00,0x18,0x18,0x00,0x00,0x00,0x00 , // '!' |
|
152 0x00,0x66,0x66,0x66,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // '"' |
|
153 0x00,0x00,0x00,0x6c,0x6c,0xfe,0x6c,0x6c,0x6c,0xfe,0x6c,0x6c,0x00,0x00,0x00,0x00 , // '#' |
|
154 0x18,0x18,0x7c,0xc6,0xc2,0xc0,0x7c,0x06,0x06,0x86,0xc6,0x7c,0x18,0x18,0x00,0x00 , // '$' |
|
155 0x00,0x00,0x00,0x00,0xc2,0xc6,0x0c,0x18,0x30,0x60,0xc6,0x86,0x00,0x00,0x00,0x00 , // '%' |
|
156 0x00,0x00,0x38,0x6c,0x6c,0x38,0x76,0xdc,0xcc,0xcc,0xcc,0x76,0x00,0x00,0x00,0x00 , // '&' |
|
157 0x00,0x30,0x30,0x30,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // ''' |
|
158 0x00,0x00,0x0c,0x18,0x30,0x30,0x30,0x30,0x30,0x30,0x18,0x0c,0x00,0x00,0x00,0x00 , // '(' |
|
159 0x00,0x00,0x30,0x18,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x18,0x30,0x00,0x00,0x00,0x00 , // ')' |
|
160 0x00,0x00,0x00,0x00,0x00,0x66,0x3c,0xff,0x3c,0x66,0x00,0x00,0x00,0x00,0x00,0x00 , // '*' |
|
161 0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x7e,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00 , // '+' |
|
162 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x30,0x00,0x00,0x00 , // ',' |
|
163 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // '-' |
|
164 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00 , // '.' |
|
165 0x00,0x00,0x00,0x00,0x02,0x06,0x0c,0x18,0x30,0x60,0xc0,0x80,0x00,0x00,0x00,0x00 , // '/' |
|
166 0x00,0x00,0x3c,0x66,0xc3,0xc3,0xdb,0xdb,0xc3,0xc3,0x66,0x3c,0x00,0x00,0x00,0x00 , // '0' |
|
167 0x00,0x00,0x18,0x38,0x78,0x18,0x18,0x18,0x18,0x18,0x18,0x7e,0x00,0x00,0x00,0x00 , // '1' |
|
168 0x00,0x00,0x7c,0xc6,0x06,0x0c,0x18,0x30,0x60,0xc0,0xc6,0xfe,0x00,0x00,0x00,0x00 , // '2' |
|
169 0x00,0x00,0x7c,0xc6,0x06,0x06,0x3c,0x06,0x06,0x06,0xc6,0x7c,0x00,0x00,0x00,0x00 , // '3' |
|
170 0x00,0x00,0x0c,0x1c,0x3c,0x6c,0xcc,0xfe,0x0c,0x0c,0x0c,0x1e,0x00,0x00,0x00,0x00 , // '4' |
|
171 0x00,0x00,0xfe,0xc0,0xc0,0xc0,0xfc,0x06,0x06,0x06,0xc6,0x7c,0x00,0x00,0x00,0x00 , // '5' |
|
172 0x00,0x00,0x38,0x60,0xc0,0xc0,0xfc,0xc6,0xc6,0xc6,0xc6,0x7c,0x00,0x00,0x00,0x00 , // '6' |
|
173 0x00,0x00,0xfe,0xc6,0x06,0x06,0x0c,0x18,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00 , // '7' |
|
174 0x00,0x00,0x7c,0xc6,0xc6,0xc6,0x7c,0xc6,0xc6,0xc6,0xc6,0x7c,0x00,0x00,0x00,0x00 , // '8' |
|
175 0x00,0x00,0x7c,0xc6,0xc6,0xc6,0x7e,0x06,0x06,0x06,0x0c,0x78,0x00,0x00,0x00,0x00 , // '9' |
|
176 0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x00,0x00 , // ':' |
|
177 0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0x18,0x18,0x30,0x00,0x00,0x00,0x00 , // ';' |
|
178 0x00,0x00,0x00,0x06,0x0c,0x18,0x30,0x60,0x30,0x18,0x0c,0x06,0x00,0x00,0x00,0x00 , // '<' |
|
179 0x00,0x00,0x00,0x00,0x00,0x7e,0x00,0x00,0x7e,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // '=' |
|
180 0x00,0x00,0x00,0x60,0x30,0x18,0x0c,0x06,0x0c,0x18,0x30,0x60,0x00,0x00,0x00,0x00 , // '>' |
|
181 0x00,0x00,0x7c,0xc6,0xc6,0x0c,0x18,0x18,0x18,0x00,0x18,0x18,0x00,0x00,0x00,0x00 , // '?' |
|
182 0x00,0x00,0x00,0x7c,0xc6,0xc6,0xde,0xde,0xde,0xdc,0xc0,0x7c,0x00,0x00,0x00,0x00 , // '@' |
|
183 0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xfe,0xc6,0xc6,0xc6,0xc6,0x00,0x00,0x00,0x00 , // 'A' |
|
184 0x00,0x00,0xfc,0x66,0x66,0x66,0x7c,0x66,0x66,0x66,0x66,0xfc,0x00,0x00,0x00,0x00 , // 'B' |
|
185 0x00,0x00,0x3c,0x66,0xc2,0xc0,0xc0,0xc0,0xc0,0xc2,0x66,0x3c,0x00,0x00,0x00,0x00 , // 'C' |
|
186 0x00,0x00,0xf8,0x6c,0x66,0x66,0x66,0x66,0x66,0x66,0x6c,0xf8,0x00,0x00,0x00,0x00 , // 'D' |
|
187 0x00,0x00,0xfe,0x66,0x62,0x68,0x78,0x68,0x60,0x62,0x66,0xfe,0x00,0x00,0x00,0x00 , // 'E' |
|
188 0x00,0x00,0xfe,0x66,0x62,0x68,0x78,0x68,0x60,0x60,0x60,0xf0,0x00,0x00,0x00,0x00 , // 'F' |
|
189 0x00,0x00,0x3c,0x66,0xc2,0xc0,0xc0,0xde,0xc6,0xc6,0x66,0x3a,0x00,0x00,0x00,0x00 , // 'G' |
|
190 0x00,0x00,0xc6,0xc6,0xc6,0xc6,0xfe,0xc6,0xc6,0xc6,0xc6,0xc6,0x00,0x00,0x00,0x00 , // 'H' |
|
191 0x00,0x00,0x3c,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x3c,0x00,0x00,0x00,0x00 , // 'I' |
|
192 0x00,0x00,0x1e,0x0c,0x0c,0x0c,0x0c,0x0c,0xcc,0xcc,0xcc,0x78,0x00,0x00,0x00,0x00 , // 'J' |
|
193 0x00,0x00,0xe6,0x66,0x66,0x6c,0x78,0x78,0x6c,0x66,0x66,0xe6,0x00,0x00,0x00,0x00 , // 'K' |
|
194 0x00,0x00,0xf0,0x60,0x60,0x60,0x60,0x60,0x60,0x62,0x66,0xfe,0x00,0x00,0x00,0x00 , // 'L' |
|
195 0x00,0x00,0xc3,0xe7,0xff,0xff,0xdb,0xc3,0xc3,0xc3,0xc3,0xc3,0x00,0x00,0x00,0x00 , // 'M' |
|
196 0x00,0x00,0xc6,0xe6,0xf6,0xfe,0xde,0xce,0xc6,0xc6,0xc6,0xc6,0x00,0x00,0x00,0x00 , // 'N' |
|
197 0x00,0x00,0x7c,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0x7c,0x00,0x00,0x00,0x00 , // 'O' |
|
198 0x00,0x00,0xfc,0x66,0x66,0x66,0x7c,0x60,0x60,0x60,0x60,0xf0,0x00,0x00,0x00,0x00 , // 'P' |
|
199 0x00,0x00,0x7c,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xd6,0xde,0x7c,0x0c,0x0e,0x00,0x00 , // 'Q' |
|
200 0x00,0x00,0xfc,0x66,0x66,0x66,0x7c,0x6c,0x66,0x66,0x66,0xe6,0x00,0x00,0x00,0x00 , // 'R' |
|
201 0x00,0x00,0x7c,0xc6,0xc6,0x60,0x38,0x0c,0x06,0xc6,0xc6,0x7c,0x00,0x00,0x00,0x00 , // 'S' |
|
202 0x00,0x00,0xff,0xdb,0x99,0x18,0x18,0x18,0x18,0x18,0x18,0x3c,0x00,0x00,0x00,0x00 , // 'T' |
|
203 0x00,0x00,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0x7c,0x00,0x00,0x00,0x00 , // 'U' |
|
204 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0xc3,0x66,0x3c,0x18,0x00,0x00,0x00,0x00 , // 'V' |
|
205 0x00,0x00,0xc3,0xc3,0xc3,0xc3,0xc3,0xdb,0xdb,0xff,0x66,0x66,0x00,0x00,0x00,0x00 , // 'W' |
|
206 0x00,0x00,0xc3,0xc3,0x66,0x3c,0x18,0x18,0x3c,0x66,0xc3,0xc3,0x00,0x00,0x00,0x00 , // 'X' |
|
207 0x00,0x00,0xc3,0xc3,0xc3,0x66,0x3c,0x18,0x18,0x18,0x18,0x3c,0x00,0x00,0x00,0x00 , // 'Y' |
|
208 0x00,0x00,0xff,0xc3,0x86,0x0c,0x18,0x30,0x60,0xc1,0xc3,0xff,0x00,0x00,0x00,0x00 , // 'Z' |
|
209 0x00,0x00,0x3c,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x3c,0x00,0x00,0x00,0x00 , // '[' |
|
210 0x00,0x00,0x00,0x80,0xc0,0xe0,0x70,0x38,0x1c,0x0e,0x06,0x02,0x00,0x00,0x00,0x00 , // '\' |
|
211 0x00,0x00,0x3c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x0c,0x3c,0x00,0x00,0x00,0x00 , // ']' |
|
212 0x10,0x38,0x6c,0xc6,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // '^' |
|
213 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00 , // '_' |
|
214 0x30,0x30,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // '`' |
|
215 0x00,0x00,0x00,0x00,0x00,0x78,0x0c,0x0c,0x7c,0xcc,0xcc,0x76,0x00,0x00,0x00,0x00 , // 'a' |
|
216 0x00,0x00,0xe0,0x60,0x60,0x78,0x6c,0x66,0x66,0x66,0x66,0x7c,0x00,0x00,0x00,0x00 , // 'b' |
|
217 0x00,0x00,0x00,0x00,0x00,0x7c,0xc6,0xc0,0xc0,0xc0,0xc6,0x7c,0x00,0x00,0x00,0x00 , // 'c' |
|
218 0x00,0x00,0x1c,0x0c,0x0c,0x3c,0x6c,0xcc,0xcc,0xcc,0xcc,0x76,0x00,0x00,0x00,0x00 , // 'd' |
|
219 0x00,0x00,0x00,0x00,0x00,0x7c,0xc6,0xc6,0xfc,0xc0,0xc2,0x7e,0x00,0x00,0x00,0x00 , // 'e' |
|
220 0x00,0x00,0x38,0x6c,0x64,0x60,0xf0,0x60,0x60,0x60,0x60,0xf0,0x00,0x00,0x00,0x00 , // 'f' |
|
221 0x00,0x00,0x00,0x00,0x00,0x76,0xcc,0xcc,0xcc,0xcc,0xcc,0x7c,0x0c,0xcc,0x78,0x00 , // 'g' |
|
222 0x00,0x00,0xe0,0x60,0x60,0x6c,0x76,0x66,0x66,0x66,0x66,0xe6,0x00,0x00,0x00,0x00 , // 'h' |
|
223 0x00,0x00,0x18,0x18,0x00,0x38,0x18,0x18,0x18,0x18,0x18,0x3c,0x00,0x00,0x00,0x00 , // 'i' |
|
224 0x00,0x00,0x06,0x06,0x00,0x0e,0x06,0x06,0x06,0x06,0x06,0x06,0x66,0x66,0x3c,0x00 , // 'j' |
|
225 0x00,0x00,0xe0,0x60,0x60,0x66,0x6c,0x78,0x78,0x6c,0x66,0xe6,0x00,0x00,0x00,0x00 , // 'k' |
|
226 0x00,0x00,0x38,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x3c,0x00,0x00,0x00,0x00 , // 'l' |
|
227 0x00,0x00,0x00,0x00,0x00,0xe6,0xff,0xdb,0xdb,0xdb,0xdb,0xdb,0x00,0x00,0x00,0x00 , // 'm' |
|
228 0x00,0x00,0x00,0x00,0x00,0xdc,0x66,0x66,0x66,0x66,0x66,0x66,0x00,0x00,0x00,0x00 , // 'n' |
|
229 0x00,0x00,0x00,0x00,0x00,0x7c,0xc6,0xc6,0xc6,0xc6,0xc6,0x7c,0x00,0x00,0x00,0x00 , // 'o' |
|
230 0x00,0x00,0x00,0x00,0x00,0xdc,0x66,0x66,0x66,0x66,0x66,0x7c,0x60,0x60,0xf0,0x00 , // 'p' |
|
231 0x00,0x00,0x00,0x00,0x00,0x76,0xcc,0xcc,0xcc,0xcc,0xcc,0x7c,0x0c,0x0c,0x1e,0x00 , // 'q' |
|
232 0x00,0x00,0x00,0x00,0x00,0xdc,0x76,0x66,0x60,0x60,0x60,0xf0,0x00,0x00,0x00,0x00 , // 'r' |
|
233 0x00,0x00,0x00,0x00,0x00,0x7c,0xc6,0x60,0x38,0x0c,0xc6,0x7c,0x00,0x00,0x00,0x00 , // 's' |
|
234 0x00,0x00,0x10,0x30,0x30,0xfc,0x30,0x30,0x30,0x30,0x36,0x1c,0x00,0x00,0x00,0x00 , // 't' |
|
235 0x00,0x00,0x00,0x00,0x00,0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0x76,0x00,0x00,0x00,0x00 , // 'u' |
|
236 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xc3,0x66,0x3c,0x18,0x00,0x00,0x00,0x00 , // 'v' |
|
237 0x00,0x00,0x00,0x00,0x00,0xc3,0xc3,0xc3,0xdb,0xdb,0xff,0x66,0x00,0x00,0x00,0x00 , // 'w' |
|
238 0x00,0x00,0x00,0x00,0x00,0xc3,0x66,0x3c,0x18,0x3c,0x66,0xc3,0x00,0x00,0x00,0x00 , // 'x' |
|
239 0x00,0x00,0x00,0x00,0x00,0xc6,0xc6,0xc6,0xc6,0xc6,0xc6,0x7e,0x06,0x0c,0xf8,0x00 , // 'y' |
|
240 0x00,0x00,0x00,0x00,0x00,0xfe,0xcc,0x18,0x30,0x60,0xc6,0xfe,0x00,0x00,0x00,0x00 , // 'z' |
|
241 0x00,0x00,0x0e,0x18,0x18,0x18,0x70,0x18,0x18,0x18,0x18,0x0e,0x00,0x00,0x00,0x00 , // ' ' |
|
242 0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x18,0x18,0x00,0x00,0x00,0x00 , // '|' |
|
243 0x00,0x00,0x70,0x18,0x18,0x18,0x0e,0x18,0x18,0x18,0x18,0x70,0x00,0x00,0x00,0x00 , // ' ' |
|
244 0x00,0x00,0x76,0xdc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 , // '~' |
|
245 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , // 128 |
|
246 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
247 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
248 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
249 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
250 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
251 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
252 0x00,0x00,0x00,0x00,0x10,0x38,0x6c,0xc6,0xc6,0xc6,0xfe,0x00,0x00,0x00,0x00,0x00 , |
|
253 0xFF,0x75,0x0C,0xFF,0x75,0x08,0x8D,0x4D,0xE4,0xE8,0x43,0x06,0x00,0x00,0x8D,0x4D, |
|
254 0xE4,0xE8,0xC1,0xF9,0xFF,0xFF,0x8D,0x4D,0xE4,0xE8,0x71,0xF8,0xFF,0xFF,0xEB,0x00, |
|
255 0x8D,0x65,0xFC,0x5B,0x5D,0xC3,0x55,0x89,0xE5,0x83,0xEC,0x08,0xB8,0xCC,0xCC,0xCC, |
|
256 0xCC,0x89,0x04,0x24,0x89,0x44,0x24,0x04,0x8D,0x55,0x10,0x83,0xC2,0x04,0x89,0x55, |
|
257 0xFC,0x8D,0x45,0xFC,0x50,0xFF,0x75,0x10,0xFF,0x75,0x0C,0xFF,0x75,0x08,0xE8,0x2A, |
|
258 0x07,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3,0x55,0x89,0xE5,0xFF,0x75,0x14,0xFF,0x75, |
|
259 0x10,0xFF,0x75,0x0C,0xFF,0x75,0x08,0xE8,0x11,0x07,0x00,0x00,0x83,0xC4,0x10,0xC9, |
|
260 0xC3,0x55,0x89,0xE5,0x83,0xEC,0x30,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24, |
|
261 0x04,0xB9,0x0C,0x00,0x00,0x00,0xF3,0xAB,0x5F,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0xF1, |
|
262 0x59,0x00,0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0xEB,0x59,0x00,0x00,0x59, |
|
263 0xE8,0x50,0xE8,0xD3,0x59,0x00,0x00,0x59,0x59,0xFF,0x75,0x14,0x8D,0x45,0xD0,0x50, |
|
264 0x8D,0x45,0xE8,0x50,0xE8,0xAC,0xFD,0xFF,0xFF,0x83,0xC4,0x0C,0xC9,0xC3,0x55,0x89, |
|
265 0xE5,0x83,0xEC,0x38,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04,0xB9,0x0E, |
|
266 0x00,0x00,0x00,0xF3,0xAB,0x5F,0xBA,0x00,0x00,0x00,0x00,0x89,0x55,0x10,0x8D,0x55, |
|
267 0x14,0x83,0xC2,0x04,0x89,0x55,0xCC,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0x83,0x59,0x00, |
|
268 0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0x7D,0x59,0x00,0x00,0x59,0x59,0x6A, |
|
269 0x10,0x8D,0x4D,0xE8,0xE8,0x6B,0x59,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8,0x50, |
|
270 0xE8,0x65,0x59,0x00,0x00,0x59,0x59,0x8D,0x45,0xCC,0x50,0xFF,0x75,0x14,0x8D,0x45, |
|
271 0xD0,0x50,0x8D,0x45,0xE8,0x50,0xE8,0x70,0x05,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3, |
|
272 0x55,0x89,0xE5,0x83,0xEC,0x30,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04, |
|
273 0xB9,0x0C,0x00,0x00,0x00,0xF3,0xAB,0x5F,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0x22,0x59, |
|
274 0x00,0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0x1C,0x59,0x00,0x00,0x59,0x59, |
|
275 0x6A,0x10,0x8D,0x4D,0xE8,0xE8,0x0A,0x59,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8, |
|
276 0x50,0xE8,0x04,0x59,0x00,0x00,0x59,0x59,0xFF,0x75,0x18,0xFF,0x75,0x14,0x8D,0x45, |
|
277 0xD0,0x50,0x8D,0x45,0xE8,0x50,0xE8,0x10,0x05,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3 |
|
278 }; |
|
279 |
|
280 |
|
281 |
|
282 const TInt K1KilobyteOfDataSize = 1000; |
|
283 |
|
284 // This data has 256 byte section listing every character from 00 to FF, but not in order, at the end. |
|
285 // The rest of the data is a dump of a section of the Flogger.DLL. 62.5 lines by 16 bytes. |
|
286 const TUint8 K1KilobyteOfData [K1KilobyteOfDataSize] = |
|
287 { |
|
288 0xFF,0x75,0x0C,0xFF,0x75,0x08,0x8D,0x4D,0xE4,0xE8,0x43,0x06,0x00,0x00,0x8D,0x4D, |
|
289 0xE4,0xE8,0xC1,0xF9,0xFF,0xFF,0x8D,0x4D,0xE4,0xE8,0x71,0xF8,0xFF,0xFF,0xEB,0x00, |
|
290 0x8D,0x65,0xFC,0x5B,0x5D,0xC3,0x55,0x89,0xE5,0x83,0xEC,0x08,0xB8,0xCC,0xCC,0xCC, |
|
291 0xCC,0x89,0x04,0x24,0x89,0x44,0x24,0x04,0x8D,0x55,0x10,0x83,0xC2,0x04,0x89,0x55, |
|
292 0xFC,0x8D,0x45,0xFC,0x50,0xFF,0x75,0x10,0xFF,0x75,0x0C,0xFF,0x75,0x08,0xE8,0x2A, |
|
293 0x07,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3,0x55,0x89,0xE5,0xFF,0x75,0x14,0xFF,0x75, |
|
294 0x10,0xFF,0x75,0x0C,0xFF,0x75,0x08,0xE8,0x11,0x07,0x00,0x00,0x83,0xC4,0x10,0xC9, |
|
295 0xC3,0x55,0x89,0xE5,0x83,0xEC,0x30,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24, |
|
296 0x04,0xB9,0x0C,0x00,0x00,0x00,0xF3,0xAB,0x5F,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0xF1, |
|
297 0x59,0x00,0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0xEB,0x59,0x00,0x00,0x59, |
|
298 0xE8,0x50,0xE8,0xD3,0x59,0x00,0x00,0x59,0x59,0xFF,0x75,0x14,0x8D,0x45,0xD0,0x50, |
|
299 0x8D,0x45,0xE8,0x50,0xE8,0xAC,0xFD,0xFF,0xFF,0x83,0xC4,0x0C,0xC9,0xC3,0x55,0x89, |
|
300 0xE5,0x83,0xEC,0x38,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04,0xB9,0x0E, |
|
301 0x00,0x00,0x00,0xF3,0xAB,0x5F,0xBA,0x00,0x00,0x00,0x00,0x89,0x55,0x10,0x8D,0x55, |
|
302 0x14,0x83,0xC2,0x04,0x89,0x55,0xCC,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0x83,0x59,0x00, |
|
303 0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0x7D,0x59,0x00,0x00,0x59,0x59,0x6A, |
|
304 0x10,0x8D,0x4D,0xE8,0xE8,0x6B,0x59,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8,0x50, |
|
305 0xE8,0x65,0x59,0x00,0x00,0x59,0x59,0x8D,0x45,0xCC,0x50,0xFF,0x75,0x14,0x8D,0x45, |
|
306 0xD0,0x50,0x8D,0x45,0xE8,0x50,0xE8,0x70,0x05,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3, |
|
307 0x55,0x89,0xE5,0x83,0xEC,0x30,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04, |
|
308 0xB9,0x0C,0x00,0x00,0x00,0xF3,0xAB,0x5F,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0x22,0x59, |
|
309 0x00,0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0x1C,0x59,0x00,0x00,0x59,0x59, |
|
310 0x6A,0x10,0x8D,0x4D,0xE8,0xE8,0x0A,0x59,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8, |
|
311 0x50,0xE8,0x04,0x59,0x00,0x00,0x59,0x59,0xFF,0x75,0x18,0xFF,0x75,0x14,0x8D,0x45, |
|
312 0xD0,0x50,0x8D,0x45,0xE8,0x50,0xE8,0x10,0x05,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3, |
|
313 0x55,0x89,0xE5,0x83,0xEC,0x30,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04, |
|
314 0xB9,0x0C,0x00,0x00,0x00,0xF3,0xAB,0x5F,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0xC2,0x58, |
|
315 0x00,0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0xBC,0x58,0x00,0x00,0x59,0x59, |
|
316 0x6A,0x10,0x8D,0x4D,0xE8,0xE8,0xAA,0x58,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8, |
|
317 0x50,0xE8,0xA4,0x58,0x00,0x00,0x59,0x59,0xFF,0x75,0x14,0x8D,0x45,0xD0,0x50,0x8D, |
|
318 0x45,0xE8,0x50,0xE8,0x9E,0xFD,0xFF,0xFF,0x83,0xC4,0x0C,0xC9,0xC3,0x55,0x89,0xE5, |
|
319 0x83,0xEC,0x38,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04,0xB9,0x0E,0x00, |
|
320 0x00,0x00,0xF3,0xAB,0x5F,0xBA,0x00,0x00,0x00,0x00,0x89,0x55,0x10,0x8D,0x55,0x14, |
|
321 0x83,0xC2,0x04,0x89,0x55,0xCC,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0x54,0x58,0x00,0x00, |
|
322 0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0x4E,0x58,0x00,0x00,0x59,0x59,0x6A,0x10, |
|
323 0x8D,0x4D,0xE8,0xE8,0x3C,0x58,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8,0x50,0xE8, |
|
324 0x36,0x58,0x00,0x00,0x59,0x59,0x8D,0x45,0xCC,0x50,0xFF,0x75,0x14,0x8D,0x45,0xD0, |
|
325 0x50,0x8D,0x45,0xE8,0x50,0xE8,0x13,0x05,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3,0x55, |
|
326 0x89,0xE5,0x83,0xEC,0x30,0x57,0xB8,0xCC,0xCC,0xCC,0xCC,0x8D,0x7C,0x24,0x04,0xB9, |
|
327 0x0C,0x00,0x00,0x00,0xF3,0xAB,0x5F,0x6A,0x10,0x8D,0x4D,0xD0,0xE8,0xF3,0x57,0x00, |
|
328 0x00,0xFF,0x75,0x0C,0x8D,0x45,0xD0,0x50,0xE8,0xED,0x57,0x00,0x00,0x59,0x59,0x6A, |
|
329 0x10,0x8D,0x4D,0xE8,0xE8,0xDB,0x57,0x00,0x00,0xFF,0x75,0x08,0x8D,0x45,0xE8,0x50, |
|
330 0xE8,0xD5,0x57,0x00,0x00,0x59,0x59,0xFF,0x75,0x18,0xFF,0x75,0x14,0x8D,0x45,0xD0, |
|
331 0x50,0x8D,0x45,0xE8,0x50,0xE8,0xB3,0x04,0x00,0x00,0x83,0xC4,0x10,0xC9,0xC3,0x55, |
|
332 0x89,0xE5,0x83,0xEC,0x08,0xB8,0xCC,0xCC,0xCC,0xCC,0x89,0x04,0x24,0x89,0x44,0x24, |
|
333 0x04,0x89,0x4D,0xFC,0x8B,0x45,0xFC,0x83,0x78,0x04,0x00,0x74,0x22,0x8B,0x45,0xFC, |
|
334 0x00,0x80,0x40,0xC0,0x20,0xA0,0x60,0xE0,0x10,0x90,0x50,0xD0,0x30,0xB0,0x70,0xF0, // start of listing of every character |
|
335 0x08,0x88,0x48,0xC8,0x28,0xA8,0x68,0xE8,0x18,0x98,0x58,0xD8,0x38,0xB8,0x78,0xF8, |
|
336 0x04,0x84,0x44,0xC4,0x24,0xA4,0x64,0xE4,0x14,0x94,0x54,0xD4,0x34,0xB4,0x74,0xF4, |
|
337 0x0C,0x8C,0x4C,0xCC,0x2C,0xAC,0x6C,0xEC,0x1C,0x9C,0x5C,0xDC,0x3C,0xBC,0x7C,0xFC, |
|
338 0x02,0x82,0x42,0xC2,0x22,0xA2,0x62,0xE2,0x12,0x92,0x52,0xD2,0x32,0xB2,0x72,0xF2, |
|
339 0x0A,0x8A,0x4A,0xCA,0x2A,0xAA,0x6A,0xEA,0x1A,0x9A,0x5A,0xDA,0x3A,0xBA,0x7A,0xFA, |
|
340 0x06,0x86,0x46,0xC6,0x26,0xA6,0x66,0xE6,0x16,0x96,0x56,0xD6,0x36,0xB6,0x76,0xF6, |
|
341 0x0E,0x8E,0x4E,0xCE,0x2E,0xAE,0x6E,0xEE,0x1E,0x9E,0x5E,0xDE,0x3E,0xBE,0x7E,0xFE, |
|
342 0x01,0x81,0x41,0xC1,0x21,0xA1,0x61,0xE1,0x11,0x91,0x51,0xD1,0x31,0xB1,0x71,0xF1, |
|
343 0x09,0x89,0x49,0xC9,0x29,0xA9,0x69,0xE9,0x19,0x99,0x59,0xD9,0x39,0xB9,0x79,0xF9, |
|
344 0x05,0x85,0x45,0xC5,0x25,0xA5,0x65,0xE5,0x15,0x95,0x55,0xD5,0x35,0xB5,0x75,0xF5, |
|
345 0x0D,0x8D,0x4D,0xCD,0x2D,0xAD,0x6D,0xED,0x1D,0x9D,0x5D,0xDD,0x3D,0xBD,0x7D,0xFD, |
|
346 0x03,0x83,0x43,0xC3,0x23,0xA3,0x63,0xE3,0x13,0x93,0x53,0xD3,0x33,0xB3,0x73,0xF3, |
|
347 0x0B,0x8B,0x4B,0xCB,0x2B,0xAB,0x6B,0xEB,0x1B,0x9B,0x5B,0xDB,0x3B,0xBB,0x7B,0xFB, |
|
348 0x07,0x87,0x47,0xC7,0x27,0xA7,0x67,0xE7,0x17,0x97,0x57,0xD7,0x37,0xB7,0x77,0xF7, |
|
349 0x0F,0x8F,0x4F,0xCF,0x2F,0xAF,0x6F,0xEF,0x1F,0x9F,0x5F,0xDF,0x3F,0xBF,0x7F,0xFF, |
|
350 0x0F,0x8F,0x4F,0xCF,0x2F,0xAF,0x6F,0xEF |
|
351 } ; |
|
352 |
|
353 |
|
354 |
|
355 |
|
356 |
|
357 #endif //__TEST_MESSAGE_H__ |