sl@0
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// Hardware Configuration Respoitory Test Application
|
sl@0
|
15 |
//
|
sl@0
|
16 |
|
sl@0
|
17 |
#ifndef D_HCRSIM_TESTDATA_H
|
sl@0
|
18 |
#define D_HCRSIM_TESTDATA_H
|
sl@0
|
19 |
|
sl@0
|
20 |
const TText8* TestString1 = reinterpret_cast<const TText8*>("_");
|
sl@0
|
21 |
const TText8* TestString64a = reinterpret_cast<const TText8*>("Two peanuts walked into a bar, and ... one was a-salted... !!! #");
|
sl@0
|
22 |
const TText8* TestString64b = reinterpret_cast<const TText8*>("A termite walks into a bar and says, 'Is the bar tender here?' #");
|
sl@0
|
23 |
const TText8* TestString512a = reinterpret_cast<const TText8*>("ENSUTIXABRMNOBXIEZTGSIYAPKNHESPUFWXCVGLHKKYHEMLOJMSSXYZWYCJWHJSJAPNDTJVGXBQKLECTVCOSGFHGLSCXNGSVWJBRLIRLEZSNWAHVVFKXWRLXJVEKCUKUBGJILRKSAAWBNCKCVSYTSZUSBPJDZNQEFXTKZAKCJQDCEHPBLZCNITSZASYRRXBDYNZAWBZBISWRESBPLAIEVQLFZJNJMOGEDUCDQLJEEUZLQLVUTHLODJDETGDIGBUBTZRKNXPLHUSYHNWALUQGSRWAISHLNZZTAWQHHDSCHIRNLDAZUBPQTHOBWMUJNZFQFTGCMAPQWKYEFJBPDFHUBABYRYXQCTQGULIUGHDVYPZUENQDATFRDSFQEXHLUZLNKIZGIUZTNCRZUSJCFXEABFQHBUBVSKQOUIUAGKVTVOIFYHSGNHLHQJYMBOLLOCKSZWQNBBEMFDOQJMBSADSSJEQXDOZJIBWZZWZWPRMVENMGJPSVVDZKGNCRIWIMQWM#");
|
sl@0
|
24 |
const TText8* TestString512b = reinterpret_cast<const TText8*>("These two strings walk up to a bar. The first string walks in and orders and the bartender throws him out and yells 'I don't serve strings in this bar'. The other string ruffs himself up on the street and curls up and orders. The bartender shouts, 'Hey, didn't you hear what I told your buddy?'. The string says 'Yeah.' The bartender says, 'aren't you a string?' The string says, 'No, I'm a frayed knot...'*********************************************************************************************************?");
|
sl@0
|
25 |
|
sl@0
|
26 |
const TUint8 TestBinData[] =
|
sl@0
|
27 |
{
|
sl@0
|
28 |
0x18, 0xa1, 0x0b, 0xbc, 0x61, 0x41, 0xde, 0xc9,
|
sl@0
|
29 |
0xcd, 0xd2, 0xf9, 0x3b, 0xba, 0x99, 0xe5, 0xe2,
|
sl@0
|
30 |
0xfa, 0xe0, 0x13, 0xfe, 0x8f, 0xd4, 0xe3, 0x50,
|
sl@0
|
31 |
0x1a, 0x5e, 0xa3, 0x32, 0x39, 0x34, 0x1f, 0x16,
|
sl@0
|
32 |
0x9a, 0xa8, 0xb3, 0x61, 0x1d, 0x7d, 0x7f, 0xfd,
|
sl@0
|
33 |
0xb1, 0x58, 0xaf, 0x91, 0x53, 0xf7, 0x76, 0xc4,
|
sl@0
|
34 |
0xda, 0xdd, 0xa7, 0x7c, 0xf0, 0x94, 0x97, 0x6a,
|
sl@0
|
35 |
0xee, 0x30, 0x2e, 0xef, 0xef, 0x38, 0xc6, 0x9c,
|
sl@0
|
36 |
|
sl@0
|
37 |
0xda, 0xa7, 0xdc, 0x4c, 0xb6, 0x1b, 0x0a, 0x41,
|
sl@0
|
38 |
0xfc, 0xed, 0x71, 0x1c, 0x47, 0x4e, 0xfa, 0x29,
|
sl@0
|
39 |
0x18, 0x14, 0x92, 0xd8, 0x01, 0x62, 0xd3, 0xda,
|
sl@0
|
40 |
0xf5, 0xcc, 0x2f, 0xbe, 0x0e, 0x2a, 0x25, 0x7b,
|
sl@0
|
41 |
0x91, 0xb6, 0x7d, 0xd1, 0x6a, 0xa4, 0x25, 0xe2,
|
sl@0
|
42 |
0x00, 0xdb, 0xa0, 0xf6, 0x8d, 0xfa, 0xa3, 0xc1,
|
sl@0
|
43 |
0xdf, 0x42, 0xe2, 0x2e, 0xb2, 0xaa, 0x91, 0xf4,
|
sl@0
|
44 |
0x74, 0xa1, 0x9e, 0xfa, 0xc2, 0xc8, 0x3d, 0xeb,
|
sl@0
|
45 |
|
sl@0
|
46 |
0x5e, 0x34, 0xb9, 0xd1, 0xde, 0x68, 0x1e, 0x3a,
|
sl@0
|
47 |
0xf6, 0xb5, 0xc7, 0xbd, 0x84, 0x1d, 0x46, 0x47,
|
sl@0
|
48 |
0x44, 0x6b, 0xcb, 0x20, 0x5c, 0xa1, 0x72, 0x12,
|
sl@0
|
49 |
0x99, 0x65, 0x99, 0x88, 0x9e, 0x9a, 0xbb, 0x27,
|
sl@0
|
50 |
0xc9, 0xca, 0xd6, 0xb0, 0x1e, 0x81, 0xea, 0xa7,
|
sl@0
|
51 |
0x00, 0x53, 0x98, 0x9c, 0xf3, 0xa1, 0x64, 0x7b,
|
sl@0
|
52 |
0x41, 0xda, 0xa9, 0xd9, 0xc0, 0x44, 0xc0, 0x98,
|
sl@0
|
53 |
0x7b, 0x15, 0x67, 0xd4, 0x9c, 0xef, 0xf3, 0x75,
|
sl@0
|
54 |
|
sl@0
|
55 |
0x42, 0x67, 0x46, 0x5d, 0xa0, 0xcf, 0x26, 0x91,
|
sl@0
|
56 |
0x29, 0xd7, 0xef, 0x42, 0x0a, 0x3b, 0x25, 0x26,
|
sl@0
|
57 |
0xbd, 0x23, 0x01, 0x09, 0x07, 0x57, 0x6c, 0xf1,
|
sl@0
|
58 |
0x18, 0xf8, 0x77, 0xd2, 0x21, 0xdc, 0xe0, 0x22,
|
sl@0
|
59 |
0x22, 0x43, 0xa2, 0x4f, 0x41, 0xfb, 0x19, 0x67,
|
sl@0
|
60 |
0x63, 0xab, 0xcd, 0xe7, 0x5e, 0x64, 0x57, 0x1b,
|
sl@0
|
61 |
0x81, 0x22, 0x80, 0xec, 0xc3, 0x68, 0x10, 0x91,
|
sl@0
|
62 |
0x56, 0x9b, 0x5f, 0xfe, 0xf6, 0x42, 0x26, 0x84,
|
sl@0
|
63 |
|
sl@0
|
64 |
0xa9, 0xde, 0xa9, 0x84, 0x46, 0x77, 0xb0, 0xa0,
|
sl@0
|
65 |
0x88, 0x82, 0x5d, 0x4c, 0xf1, 0x60, 0x73, 0x32,
|
sl@0
|
66 |
0x44, 0xfb, 0xfa, 0x44, 0xec, 0xcc, 0xee, 0xf3,
|
sl@0
|
67 |
0x02, 0xd3, 0xdd, 0x5d, 0x4f, 0xc6, 0x0f, 0xf8,
|
sl@0
|
68 |
0xfe, 0x00, 0x45, 0x82, 0x5c, 0x7a, 0x7f, 0xbb,
|
sl@0
|
69 |
0x5a, 0x55, 0xf3, 0xb9, 0x27, 0x38, 0x97, 0x4c,
|
sl@0
|
70 |
0xa0, 0x1a, 0x6c, 0x5c, 0xe3, 0x9e, 0xef, 0x9a,
|
sl@0
|
71 |
0xd4, 0xc0, 0xd8, 0x7c, 0xc7, 0xd8, 0x91, 0xe3,
|
sl@0
|
72 |
|
sl@0
|
73 |
0x31, 0xb8, 0x85, 0x58, 0x97, 0x05, 0xc6, 0x41,
|
sl@0
|
74 |
0x83, 0x65, 0x07, 0xfe, 0xd1, 0xc1, 0x8c, 0x53,
|
sl@0
|
75 |
0x19, 0x31, 0xfa, 0x05, 0x72, 0xc5, 0xa5, 0x12,
|
sl@0
|
76 |
0x68, 0xc6, 0x5f, 0x6e, 0x61, 0xae, 0x45, 0xb3,
|
sl@0
|
77 |
0x3c, 0x5f, 0xa4, 0x9b, 0x76, 0xe2, 0x69, 0xbf,
|
sl@0
|
78 |
0x94, 0x3d, 0x3e, 0x74, 0x26, 0x94, 0xc2, 0x39,
|
sl@0
|
79 |
0x1d, 0x3f, 0xf0, 0x9b, 0xca, 0xec, 0x49, 0xed,
|
sl@0
|
80 |
0x46, 0x94, 0xa8, 0xd0, 0x88, 0x47, 0x71, 0xdd,
|
sl@0
|
81 |
|
sl@0
|
82 |
0xfd, 0x93, 0x00, 0x6b, 0xdd, 0xa1, 0xf6, 0xce,
|
sl@0
|
83 |
0x09, 0xae, 0x61, 0xfa, 0xc4, 0x15, 0x4e, 0xf6,
|
sl@0
|
84 |
0xfe, 0x85, 0xc5, 0xfe, 0x83, 0x89, 0xbc, 0xc7,
|
sl@0
|
85 |
0xda, 0x1f, 0x12, 0xc6, 0x0f, 0x6b, 0xff, 0xde,
|
sl@0
|
86 |
0x3d, 0x3e, 0x23, 0x6d, 0x19, 0x9b, 0xa3, 0x0d,
|
sl@0
|
87 |
0x43, 0xd2, 0x64, 0xfb, 0xb3, 0x6f, 0xf2, 0x8c,
|
sl@0
|
88 |
0xf9, 0x90, 0x13, 0x9a, 0x9f, 0xd8, 0x89, 0x44,
|
sl@0
|
89 |
0x7c, 0xa5, 0x23, 0xfc, 0x32, 0xa7, 0x83, 0x3b,
|
sl@0
|
90 |
|
sl@0
|
91 |
0xac, 0x8e, 0xbd, 0xd0, 0xdf, 0xf0, 0x4c, 0x23,
|
sl@0
|
92 |
0x8c, 0x0b, 0x60, 0x64, 0x62, 0x94, 0x15, 0x04,
|
sl@0
|
93 |
0x32, 0x33, 0x9f, 0x61, 0x87, 0xdf, 0xe1, 0x0f,
|
sl@0
|
94 |
0x69, 0xac, 0x8a, 0xa7, 0x92, 0x53, 0x39, 0x83,
|
sl@0
|
95 |
0xe2, 0xfc, 0xa8, 0x4a, 0x4c, 0x8b, 0x79, 0xbf,
|
sl@0
|
96 |
0x16, 0x03, 0x98, 0xb0, 0xa8, 0x3f, 0xc6, 0x70,
|
sl@0
|
97 |
0xb5, 0x8b, 0x57, 0xcd, 0x0b, 0x69, 0x9e, 0xdb,
|
sl@0
|
98 |
0xc7, 0x01, 0x1e, 0x83, 0x3c, 0x8d, 0x03, 0x49,
|
sl@0
|
99 |
};
|
sl@0
|
100 |
|
sl@0
|
101 |
const TUint32 TestUint32Array[] =
|
sl@0
|
102 |
{
|
sl@0
|
103 |
0x793e5664, 0x155e1d7f, 0xb8ad360e, 0xb7189d5d,
|
sl@0
|
104 |
0xd9ab7a85, 0xb0b16e95, 0xa0b62ef8, 0x651a5fe5,
|
sl@0
|
105 |
0x5a5d5a4c, 0x45cdbd2f, 0x02bc70c1, 0xbbe5133a,
|
sl@0
|
106 |
0x0c295fc9, 0xcc528d8b, 0xcdf53fed, 0x512ff863,
|
sl@0
|
107 |
|
sl@0
|
108 |
0x8652aadd, 0xcc3764de, 0x0a57a6a0, 0xe356632e,
|
sl@0
|
109 |
0x08263ada, 0x7965ecf7, 0xf5319b3f, 0x67fad9d0,
|
sl@0
|
110 |
0x949f0420, 0xd55d0edc, 0x21d12012, 0x34a0338a,
|
sl@0
|
111 |
0x17051cc2, 0xd3d2196d, 0x99205ede, 0x1e52bb42,
|
sl@0
|
112 |
|
sl@0
|
113 |
0x808cce22, 0x724add02, 0xfe44cc89, 0x993e4e29,
|
sl@0
|
114 |
0xe9f4c095, 0xe2c4cc0b, 0xa6414bbd, 0xd7577d57,
|
sl@0
|
115 |
0xaf2b15fd, 0x9e501bb0, 0xbf95437f, 0xe8f5aa6d,
|
sl@0
|
116 |
0x98e8876e, 0x92b3e273, 0x6ddbccda, 0xda722a35,
|
sl@0
|
117 |
|
sl@0
|
118 |
0xee538ecd, 0x39073bce, 0xec6cc575, 0xdbcf6341,
|
sl@0
|
119 |
0xa49d7a70, 0xbb5c63d3, 0xabfdf73b, 0x5751f08b,
|
sl@0
|
120 |
0x73a697bc, 0x0f53d8cd, 0x743e38f5, 0x1820be17,
|
sl@0
|
121 |
0xf8994bc8, 0x1ac47cde, 0x837e87ed, 0x66ec2a8f,
|
sl@0
|
122 |
|
sl@0
|
123 |
0xd98d36f9, 0xd05cb4a4, 0xad452d8e, 0x298626e9,
|
sl@0
|
124 |
0xe32754a7, 0x553b86d2, 0x7efcde05, 0x07845600,
|
sl@0
|
125 |
0x273819ba, 0x1895bad5, 0x5784dadc, 0x83e23139,
|
sl@0
|
126 |
0x1f5d954a, 0xfa55fd72, 0x91de09a0, 0x22a01f23,
|
sl@0
|
127 |
|
sl@0
|
128 |
0xcaa1943f, 0x69b7fc67, 0x9ac6207e, 0x83629c13,
|
sl@0
|
129 |
0xcd18b9f3, 0x80f0890b, 0x1654bce4, 0x871054c7,
|
sl@0
|
130 |
0x9687a5d0, 0x2cc5b5eb, 0x039d861f, 0x6c784a07,
|
sl@0
|
131 |
0x76fd12ef, 0x4532f870, 0xd15351fe, 0xeeecef42,
|
sl@0
|
132 |
|
sl@0
|
133 |
0xc874f3bb, 0xb307487a, 0x8a643b70, 0x6ae14831,
|
sl@0
|
134 |
0x0b779890, 0x8e8941ff, 0xed9bcd24, 0xf8930f74,
|
sl@0
|
135 |
0x06b9ca58, 0x39113fb2, 0x8f3f182a, 0x91a1cc33,
|
sl@0
|
136 |
0xe6bded31, 0x89ab829c, 0xfcb3da92, 0x2caefdc1,
|
sl@0
|
137 |
|
sl@0
|
138 |
0x5d6f2007, 0xe0bb4cbe, 0xd8179b0e, 0xde033137,
|
sl@0
|
139 |
0xc6ca5b37, 0x4d9601b2, 0xfae8cd8e, 0xfb2d2918,
|
sl@0
|
140 |
0x4276922e, 0xb1274a4c, 0x93a0ede6, 0x349cfbef,
|
sl@0
|
141 |
0xd665d40b, 0xd88e2f37, 0x4a54a266, 0xbb462ef0,
|
sl@0
|
142 |
};
|
sl@0
|
143 |
|
sl@0
|
144 |
const TInt32 TestInt32Array[] =
|
sl@0
|
145 |
{
|
sl@0
|
146 |
0x793e5664, 0x155e1d7f, 0xb8ad360e, 0xb7189d5d,
|
sl@0
|
147 |
0xd9ab7a85, 0xb0b16e95, 0xa0b62ef8, 0x651a5fe5,
|
sl@0
|
148 |
0x5a5d5a4c, 0x45cdbd2f, 0x02bc70c1, 0xbbe5133a,
|
sl@0
|
149 |
0x0c295fc9, 0xcc528d8b, 0xcdf53fed, 0x512ff863,
|
sl@0
|
150 |
|
sl@0
|
151 |
0x8652aadd, 0xcc3764de, 0x0a57a6a0, 0xe356632e,
|
sl@0
|
152 |
0x08263ada, 0x7965ecf7, 0xf5319b3f, 0x67fad9d0,
|
sl@0
|
153 |
0x949f0420, 0xd55d0edc, 0x21d12012, 0x34a0338a,
|
sl@0
|
154 |
0x17051cc2, 0xd3d2196d, 0x99205ede, 0x1e52bb42,
|
sl@0
|
155 |
|
sl@0
|
156 |
0x808cce22, 0x724add02, 0xfe44cc89, 0x993e4e29,
|
sl@0
|
157 |
0xe9f4c095, 0xe2c4cc0b, 0xa6414bbd, 0xd7577d57,
|
sl@0
|
158 |
0xaf2b15fd, 0x9e501bb0, 0xbf95437f, 0xe8f5aa6d,
|
sl@0
|
159 |
0x98e8876e, 0x92b3e273, 0x6ddbccda, 0xda722a35,
|
sl@0
|
160 |
|
sl@0
|
161 |
0xee538ecd, 0x39073bce, 0xec6cc575, 0xdbcf6341,
|
sl@0
|
162 |
0xa49d7a70, 0xbb5c63d3, 0xabfdf73b, 0x5751f08b,
|
sl@0
|
163 |
0x73a697bc, 0x0f53d8cd, 0x743e38f5, 0x1820be17,
|
sl@0
|
164 |
0xf8994bc8, 0x1ac47cde, 0x837e87ed, 0x66ec2a8f,
|
sl@0
|
165 |
|
sl@0
|
166 |
0xd98d36f9, 0xd05cb4a4, 0xad452d8e, 0x298626e9,
|
sl@0
|
167 |
0xe32754a7, 0x553b86d2, 0x7efcde05, 0x07845600,
|
sl@0
|
168 |
0x273819ba, 0x1895bad5, 0x5784dadc, 0x83e23139,
|
sl@0
|
169 |
0x1f5d954a, 0xfa55fd72, 0x91de09a0, 0x22a01f23,
|
sl@0
|
170 |
|
sl@0
|
171 |
0xcaa1943f, 0x69b7fc67, 0x9ac6207e, 0x83629c13,
|
sl@0
|
172 |
0xcd18b9f3, 0x80f0890b, 0x1654bce4, 0x871054c7,
|
sl@0
|
173 |
0x9687a5d0, 0x2cc5b5eb, 0x039d861f, 0x6c784a07,
|
sl@0
|
174 |
0x76fd12ef, 0x4532f870, 0xd15351fe, 0xeeecef42,
|
sl@0
|
175 |
|
sl@0
|
176 |
0xc874f3bb, 0xb307487a, 0x8a643b70, 0x6ae14831,
|
sl@0
|
177 |
0x0b779890, 0x8e8941ff, 0xed9bcd24, 0xf8930f74,
|
sl@0
|
178 |
0x06b9ca58, 0x39113fb2, 0x8f3f182a, 0x91a1cc33,
|
sl@0
|
179 |
0xe6bded31, 0x89ab829c, 0xfcb3da92, 0x2caefdc1,
|
sl@0
|
180 |
|
sl@0
|
181 |
0x5d6f2007, 0xe0bb4cbe, 0xd8179b0e, 0xde033137,
|
sl@0
|
182 |
0xc6ca5b37, 0x4d9601b2, 0xfae8cd8e, 0xfb2d2918,
|
sl@0
|
183 |
0x4276922e, 0xb1274a4c, 0x93a0ede6, 0x349cfbef,
|
sl@0
|
184 |
0xd665d40b, 0xd88e2f37, 0x4a54a266, 0xbb462ef0,
|
sl@0
|
185 |
};
|
sl@0
|
186 |
|
sl@0
|
187 |
const TCategoryUid KTestCategories[] = {
|
sl@0
|
188 |
1, // 0
|
sl@0
|
189 |
2, // 1
|
sl@0
|
190 |
1000, // 2
|
sl@0
|
191 |
0xfffffff0, // 3
|
sl@0
|
192 |
0x10000001, // 4
|
sl@0
|
193 |
0x10000002, // 5
|
sl@0
|
194 |
0x10000003, // 6
|
sl@0
|
195 |
0x10000004 // 7
|
sl@0
|
196 |
};
|
sl@0
|
197 |
|
sl@0
|
198 |
const TInt64 KTestI64One = I64LIT(-1);
|
sl@0
|
199 |
const TInt64 KTestI64Two = KMinTInt64;
|
sl@0
|
200 |
const TInt64 KTestI64Three = KMaxTInt64;
|
sl@0
|
201 |
const TInt64 KTestU64One = UI64LIT(1);
|
sl@0
|
202 |
const TInt64 KTestU64Two = KMaxTInt64;
|
sl@0
|
203 |
const TInt64 KTestU64Three = UI64LIT(0);
|
sl@0
|
204 |
|
sl@0
|
205 |
SSettingC SettingsList[] = {
|
sl@0
|
206 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
207 |
{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ KMaxTInt32 }}},
|
sl@0
|
208 |
{{{ KTestCategories[0], 3}, ETypeInt32, 0x0000, 0 }, {{ KMinTInt32 }}},
|
sl@0
|
209 |
{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
210 |
{{{ KTestCategories[0], 5}, ETypeInt16, 0x0000, 0 }, {{ KMaxTInt16 }}},
|
sl@0
|
211 |
{{{ KTestCategories[0], 6}, ETypeInt16, 0x0000, 0 }, {{ KMinTInt16 }}},
|
sl@0
|
212 |
{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
213 |
{{{ KTestCategories[0], 8}, ETypeInt8, 0x0000, 0 }, {{ KMaxTInt8 }}},
|
sl@0
|
214 |
{{{ KTestCategories[0], 9}, ETypeInt8, 0x0000, 0 }, {{ KMinTInt8 }}},
|
sl@0
|
215 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
216 |
{{{ KTestCategories[0], 11}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
217 |
{{{ KTestCategories[1], 1}, ETypeBool, 0x0000, 0 }, {{ 0x80 }}},
|
sl@0
|
218 |
{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ 0xfffffffe }}},
|
sl@0
|
219 |
{{{ KTestCategories[1], 3}, ETypeUInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
220 |
{{{ KTestCategories[1], 4}, ETypeUInt32, 0x0000, 0 }, {{ KMaxTUint32 }}},
|
sl@0
|
221 |
{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
222 |
{{{ KTestCategories[1], 6}, ETypeUInt16, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
223 |
{{{ KTestCategories[1], 7}, ETypeUInt16, 0x0000, 0 }, {{ KMaxTUint16 }}},
|
sl@0
|
224 |
{{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 254 }}},
|
sl@0
|
225 |
{{{ KTestCategories[1], 9}, ETypeUInt8, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
226 |
{{{ KTestCategories[1], 10}, ETypeUInt8, 0x0000, 0 }, {{ KMaxTUint8 }}},
|
sl@0
|
227 |
{{{ KTestCategories[1], 11}, ETypeLinAddr, 0x0000, 0 }, {{ NULL }}},
|
sl@0
|
228 |
{{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x1234abcd }}},
|
sl@0
|
229 |
{{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
230 |
{{{ KTestCategories[2], 0x2000}, ETypeBinData, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
231 |
{{{ KTestCategories[2], 0x3000}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
232 |
{{{ KTestCategories[2], 0x4000}, ETypeText8, 0x0000, 0 }, {{ reinterpret_cast<TInt32>("") }}},
|
sl@0
|
233 |
{{{ KTestCategories[2], 0x5000}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
234 |
{{{ KTestCategories[2], 0x6000}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64a) }}},
|
sl@0
|
235 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
236 |
{{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
237 |
{{{ KTestCategories[2], 0x9000}, ETypeArrayInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
238 |
{{{ KTestCategories[3], 0x0000}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
239 |
{{{ KTestCategories[3], 0x0010}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
240 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
241 |
{{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
242 |
{{{ KTestCategories[3], 0x0030}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
243 |
{{{ KTestCategories[3], 0x0031}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Three) }}},
|
sl@0
|
244 |
{{{ KTestCategories[3], 0x1000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
245 |
{{{ KTestCategories[3], 0x80000000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
246 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
247 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
248 |
};
|
sl@0
|
249 |
|
sl@0
|
250 |
SSettingC SettingsListCorrupt1[] = {
|
sl@0
|
251 |
{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
252 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
253 |
{{{ KTestCategories[0], 3}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
254 |
};
|
sl@0
|
255 |
|
sl@0
|
256 |
SSettingC SettingsListCorrupt2[] = {
|
sl@0
|
257 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
258 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
259 |
{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
260 |
};
|
sl@0
|
261 |
#if !defined(__KERNEL_MODE__) || defined(HCRTEST_USERSIDE_INTERFACE)
|
sl@0
|
262 |
const TUint32 KTestInvalidCategory = 1234;
|
sl@0
|
263 |
const TUint32 KTestInvalidSettingId = 5678;
|
sl@0
|
264 |
|
sl@0
|
265 |
// The following repositories are only used for reference by the test application
|
sl@0
|
266 |
// so there is no point cluttering the device driver.
|
sl@0
|
267 |
|
sl@0
|
268 |
// For clarity, the following repositories are NOT ordered
|
sl@0
|
269 |
// Comments denote an overridden setting
|
sl@0
|
270 |
|
sl@0
|
271 |
// Compiled+File
|
sl@0
|
272 |
SSettingC SettingsList2[] = {
|
sl@0
|
273 |
// Existing settings from Compiled Repository (unchanged)
|
sl@0
|
274 |
//{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
275 |
{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ KMaxTInt32 }}},
|
sl@0
|
276 |
{{{ KTestCategories[0], 3}, ETypeInt32, 0x0000, 0 }, {{ KMinTInt32 }}},
|
sl@0
|
277 |
//{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
278 |
{{{ KTestCategories[0], 5}, ETypeInt16, 0x0000, 0 }, {{ KMaxTInt16 }}},
|
sl@0
|
279 |
{{{ KTestCategories[0], 6}, ETypeInt16, 0x0000, 0 }, {{ KMinTInt16 }}},
|
sl@0
|
280 |
//{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
281 |
{{{ KTestCategories[0], 8}, ETypeInt8, 0x0000, 0 }, {{ KMaxTInt8 }}},
|
sl@0
|
282 |
{{{ KTestCategories[0], 9}, ETypeInt8, 0x0000, 0 }, {{ KMinTInt8 }}},
|
sl@0
|
283 |
//{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
284 |
{{{ KTestCategories[0], 11}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
285 |
{{{ KTestCategories[1], 1}, ETypeBool, 0x0000, 0 }, {{ 0x80 }}},
|
sl@0
|
286 |
//{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ KMaxTUint32 - 1 }}},
|
sl@0
|
287 |
{{{ KTestCategories[1], 3}, ETypeUInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
288 |
{{{ KTestCategories[1], 4}, ETypeUInt32, 0x0000, 0 }, {{ KMaxTUint32 }}},
|
sl@0
|
289 |
//{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
290 |
{{{ KTestCategories[1], 6}, ETypeUInt16, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
291 |
{{{ KTestCategories[1], 7}, ETypeUInt16, 0x0000, 0 }, {{ KMaxTUint16 }}},
|
sl@0
|
292 |
// {{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 254 }}},
|
sl@0
|
293 |
{{{ KTestCategories[1], 9}, ETypeUInt8, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
294 |
{{{ KTestCategories[1], 10}, ETypeUInt8, 0x0000, 0 }, {{ KMaxTUint8 }}},
|
sl@0
|
295 |
{{{ KTestCategories[1], 11}, ETypeLinAddr, 0x0000, 0 }, {{ NULL }}},
|
sl@0
|
296 |
// {{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x1234abcd }}},
|
sl@0
|
297 |
// {{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
298 |
{{{ KTestCategories[2], 0x2000}, ETypeBinData, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
299 |
{{{ KTestCategories[2], 0x3000}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
300 |
{{{ KTestCategories[2], 0x4000}, ETypeText8, 0x0000, 0 }, {{ reinterpret_cast<TInt32>("") }}},
|
sl@0
|
301 |
{{{ KTestCategories[2], 0x5000}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
302 |
{{{ KTestCategories[2], 0x6000}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64a) }}},
|
sl@0
|
303 |
// {{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512) }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
304 |
// {{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
305 |
{{{ KTestCategories[2], 0x9000}, ETypeArrayInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
306 |
{{{ KTestCategories[3], 0x0000}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
307 |
{{{ KTestCategories[3], 0x0010}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
308 |
// {{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
309 |
// {{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
310 |
{{{ KTestCategories[3], 0x0030}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
311 |
{{{ KTestCategories[3], 0x0031}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Three) }}},
|
sl@0
|
312 |
{{{ KTestCategories[3], 0x1000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
313 |
{{{ KTestCategories[3], 0x80000000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
314 |
// {{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
315 |
// {{{ KTestCategories[3], 0xfffffffe}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
316 |
|
sl@0
|
317 |
// Existing settings override
|
sl@0
|
318 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 444 }}},
|
sl@0
|
319 |
{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -7632 }}},
|
sl@0
|
320 |
{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 120 }}},
|
sl@0
|
321 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
322 |
{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ 555555 }}},
|
sl@0
|
323 |
{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 60000 }}},
|
sl@0
|
324 |
{{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 11 }}},
|
sl@0
|
325 |
{{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x0faece50 }}},
|
sl@0
|
326 |
{{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
327 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512b) }}},
|
sl@0
|
328 |
{{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
329 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
330 |
{{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
331 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
332 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
333 |
|
sl@0
|
334 |
// New settings
|
sl@0
|
335 |
{{{ KTestCategories[4], 0x1000}, ETypeInt32, 0x0000, 0 }, {{ 333 }}},
|
sl@0
|
336 |
{{{ KTestCategories[4], 0x1010}, ETypeInt16, 0x0000, 0 }, {{ 17632 }}},
|
sl@0
|
337 |
{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ 44 }}},
|
sl@0
|
338 |
{{{ KTestCategories[4], 0x1030}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
339 |
{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 0xba2713b3 }}},
|
sl@0
|
340 |
{{{ KTestCategories[4], 0x1050}, ETypeUInt16, 0x0000, 0 }, {{ 18 }}},
|
sl@0
|
341 |
{{{ KTestCategories[4], 0x1060}, ETypeUInt8, 0x0000, 0 }, {{ 80 }}},
|
sl@0
|
342 |
{{{ KTestCategories[4], 0x1070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xdeadbeef }}},
|
sl@0
|
343 |
{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
344 |
{{{ KTestCategories[5], 0x0093}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64b) }}},
|
sl@0
|
345 |
{{{ KTestCategories[5], 0x00a0}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
346 |
{{{ KTestCategories[5], 0x00b1}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
347 |
{{{ KTestCategories[5], 0x00c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
348 |
{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
349 |
{{{ KTestCategories[5], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
350 |
};
|
sl@0
|
351 |
|
sl@0
|
352 |
// Compiled+File+Nand
|
sl@0
|
353 |
SSettingC SettingsList3[] = {
|
sl@0
|
354 |
// Existing settings from Compiled Repository (unchanged)
|
sl@0
|
355 |
//{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
356 |
{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ KMaxTInt32 }}},
|
sl@0
|
357 |
{{{ KTestCategories[0], 3}, ETypeInt32, 0x0000, 0 }, {{ KMinTInt32 }}},
|
sl@0
|
358 |
//{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
359 |
{{{ KTestCategories[0], 5}, ETypeInt16, 0x0000, 0 }, {{ KMaxTInt16 }}},
|
sl@0
|
360 |
{{{ KTestCategories[0], 6}, ETypeInt16, 0x0000, 0 }, {{ KMinTInt16 }}},
|
sl@0
|
361 |
//{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
362 |
{{{ KTestCategories[0], 8}, ETypeInt8, 0x0000, 0 }, {{ KMaxTInt8 }}},
|
sl@0
|
363 |
{{{ KTestCategories[0], 9}, ETypeInt8, 0x0000, 0 }, {{ KMinTInt8 }}},
|
sl@0
|
364 |
//{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
365 |
{{{ KTestCategories[0], 11}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
366 |
{{{ KTestCategories[1], 1}, ETypeBool, 0x0000, 0 }, {{ 0x80 }}},
|
sl@0
|
367 |
//{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ KMaxTUint32 - 1 }}},
|
sl@0
|
368 |
{{{ KTestCategories[1], 3}, ETypeUInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
369 |
{{{ KTestCategories[1], 4}, ETypeUInt32, 0x0000, 0 }, {{ KMaxTUint32 }}},
|
sl@0
|
370 |
//{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
371 |
{{{ KTestCategories[1], 6}, ETypeUInt16, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
372 |
{{{ KTestCategories[1], 7}, ETypeUInt16, 0x0000, 0 }, {{ KMaxTUint16 }}},
|
sl@0
|
373 |
// {{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 254 }}},
|
sl@0
|
374 |
{{{ KTestCategories[1], 9}, ETypeUInt8, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
375 |
{{{ KTestCategories[1], 10}, ETypeUInt8, 0x0000, 0 }, {{ KMaxTUint8 }}},
|
sl@0
|
376 |
{{{ KTestCategories[1], 11}, ETypeLinAddr, 0x0000, 0 }, {{ NULL }}},
|
sl@0
|
377 |
// {{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x1234abcd }}},
|
sl@0
|
378 |
// {{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
379 |
{{{ KTestCategories[2], 0x2000}, ETypeBinData, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
380 |
{{{ KTestCategories[2], 0x3000}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
381 |
{{{ KTestCategories[2], 0x4000}, ETypeText8, 0x0000, 0 }, {{ reinterpret_cast<TInt32>("") }}},
|
sl@0
|
382 |
{{{ KTestCategories[2], 0x5000}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
383 |
{{{ KTestCategories[2], 0x6000}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64a) }}},
|
sl@0
|
384 |
// {{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512) }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
385 |
// {{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
386 |
{{{ KTestCategories[2], 0x9000}, ETypeArrayInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
387 |
{{{ KTestCategories[3], 0x0000}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
388 |
{{{ KTestCategories[3], 0x0010}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
389 |
// {{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
390 |
// {{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
391 |
{{{ KTestCategories[3], 0x0030}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
392 |
{{{ KTestCategories[3], 0x0031}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Three) }}},
|
sl@0
|
393 |
{{{ KTestCategories[3], 0x1000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
394 |
{{{ KTestCategories[3], 0x80000000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
395 |
// {{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
396 |
// {{{ KTestCategories[3], 0xfffffffe}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
397 |
|
sl@0
|
398 |
// Existing settings override (Core)
|
sl@0
|
399 |
//{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 444 }}},
|
sl@0
|
400 |
{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -7632 }}},
|
sl@0
|
401 |
{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 120 }}},
|
sl@0
|
402 |
//{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
403 |
{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ 555555 }}},
|
sl@0
|
404 |
{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 60000 }}},
|
sl@0
|
405 |
{{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 11 }}},
|
sl@0
|
406 |
{{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x0faece50 }}},
|
sl@0
|
407 |
{{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
408 |
//{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512b) }}},
|
sl@0
|
409 |
{{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
410 |
//{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
411 |
{{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
412 |
//{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
413 |
//{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
414 |
|
sl@0
|
415 |
// New settings (Core)
|
sl@0
|
416 |
{{{ KTestCategories[4], 0x1000}, ETypeInt32, 0x0000, 0 }, {{ 333 }}},
|
sl@0
|
417 |
{{{ KTestCategories[4], 0x1010}, ETypeInt16, 0x0000, 0 }, {{ 17632 }}},
|
sl@0
|
418 |
//{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ 44 }}},
|
sl@0
|
419 |
{{{ KTestCategories[4], 0x1030}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
420 |
//{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 3123123123u }}},
|
sl@0
|
421 |
{{{ KTestCategories[4], 0x1050}, ETypeUInt16, 0x0000, 0 }, {{ 18 }}},
|
sl@0
|
422 |
{{{ KTestCategories[4], 0x1060}, ETypeUInt8, 0x0000, 0 }, {{ 80 }}},
|
sl@0
|
423 |
{{{ KTestCategories[4], 0x1070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xdeadbeef }}},
|
sl@0
|
424 |
//{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
425 |
{{{ KTestCategories[5], 0x0093}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64b) }}},
|
sl@0
|
426 |
{{{ KTestCategories[5], 0x00a0}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
427 |
{{{ KTestCategories[5], 0x00b1}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
428 |
{{{ KTestCategories[5], 0x00c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
429 |
//{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
430 |
//{{{ KTestCategories[5], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
431 |
|
sl@0
|
432 |
// Existing Settings Override (Nand)
|
sl@0
|
433 |
// Over Compiler Repository
|
sl@0
|
434 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 555666 }}},
|
sl@0
|
435 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
436 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
437 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 32 * sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
438 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
439 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 100 }}},
|
sl@0
|
440 |
// Over File Repository
|
sl@0
|
441 |
{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ -33 }}},
|
sl@0
|
442 |
{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 999999 }}},
|
sl@0
|
443 |
{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
444 |
{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
445 |
{{{ KTestCategories[5], 0xffffffff}, ETypeUInt8, 0x0000, 0 }, {{ 25 }}},
|
sl@0
|
446 |
|
sl@0
|
447 |
// New Settings (Nand)
|
sl@0
|
448 |
{{{ KTestCategories[6], 0x3000}, ETypeInt32, 0x0000, 0 }, {{ -987654 }}},
|
sl@0
|
449 |
{{{ KTestCategories[6], 0x3010}, ETypeInt16, 0x0000, 0 }, {{ -12345 }}},
|
sl@0
|
450 |
{{{ KTestCategories[6], 0x3020}, ETypeInt8, 0x0000, 0 }, {{ -100 }}},
|
sl@0
|
451 |
{{{ KTestCategories[6], 0x3030}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
452 |
{{{ KTestCategories[6], 0x3040}, ETypeUInt32, 0x0000, 0 }, {{ 1234567890 }}},
|
sl@0
|
453 |
{{{ KTestCategories[6], 0x3050}, ETypeUInt16, 0x0000, 0 }, {{ 12345 }}},
|
sl@0
|
454 |
{{{ KTestCategories[6], 0x3060}, ETypeUInt8, 0x0000, 0 }, {{ 123 }}},
|
sl@0
|
455 |
{{{ KTestCategories[6], 0x3070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xabcdef01 }}},
|
sl@0
|
456 |
{{{ KTestCategories[7], 0x2080}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
457 |
{{{ KTestCategories[7], 0x2093}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
458 |
{{{ KTestCategories[7], 0x20a0}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
459 |
{{{ KTestCategories[7], 0x20b1}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
460 |
{{{ KTestCategories[7], 0x20c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
461 |
{{{ KTestCategories[7], 0x20d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
462 |
{{{ KTestCategories[7], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
463 |
};
|
sl@0
|
464 |
|
sl@0
|
465 |
// Compiled+Nand
|
sl@0
|
466 |
SSettingC SettingsList4[] = {
|
sl@0
|
467 |
//{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
468 |
{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ KMaxTInt32 }}},
|
sl@0
|
469 |
{{{ KTestCategories[0], 3}, ETypeInt32, 0x0000, 0 }, {{ KMinTInt32 }}},
|
sl@0
|
470 |
{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
471 |
{{{ KTestCategories[0], 5}, ETypeInt16, 0x0000, 0 }, {{ KMaxTInt16 }}},
|
sl@0
|
472 |
{{{ KTestCategories[0], 6}, ETypeInt16, 0x0000, 0 }, {{ KMinTInt16 }}},
|
sl@0
|
473 |
{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
474 |
{{{ KTestCategories[0], 8}, ETypeInt8, 0x0000, 0 }, {{ KMaxTInt8 }}},
|
sl@0
|
475 |
{{{ KTestCategories[0], 9}, ETypeInt8, 0x0000, 0 }, {{ KMinTInt8 }}},
|
sl@0
|
476 |
//{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
477 |
{{{ KTestCategories[0], 11}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
478 |
{{{ KTestCategories[1], 1}, ETypeBool, 0x0000, 0 }, {{ 0x80 }}},
|
sl@0
|
479 |
{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ 0xfffffffe }}},
|
sl@0
|
480 |
{{{ KTestCategories[1], 3}, ETypeUInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
481 |
{{{ KTestCategories[1], 4}, ETypeUInt32, 0x0000, 0 }, {{ KMaxTUint32 }}},
|
sl@0
|
482 |
{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
483 |
{{{ KTestCategories[1], 6}, ETypeUInt16, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
484 |
{{{ KTestCategories[1], 7}, ETypeUInt16, 0x0000, 0 }, {{ KMaxTUint16 }}},
|
sl@0
|
485 |
{{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 254 }}},
|
sl@0
|
486 |
{{{ KTestCategories[1], 9}, ETypeUInt8, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
487 |
{{{ KTestCategories[1], 10}, ETypeUInt8, 0x0000, 0 }, {{ KMaxTUint8 }}},
|
sl@0
|
488 |
{{{ KTestCategories[1], 11}, ETypeLinAddr, 0x0000, 0 }, {{ NULL }}},
|
sl@0
|
489 |
{{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x1234abcd }}},
|
sl@0
|
490 |
{{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
491 |
{{{ KTestCategories[2], 0x2000}, ETypeBinData, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
492 |
{{{ KTestCategories[2], 0x3000}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
493 |
{{{ KTestCategories[2], 0x4000}, ETypeText8, 0x0000, 0 }, {{ reinterpret_cast<TInt32>("") }}},
|
sl@0
|
494 |
{{{ KTestCategories[2], 0x5000}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
495 |
{{{ KTestCategories[2], 0x6000}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64a) }}},
|
sl@0
|
496 |
//{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
497 |
{{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
498 |
{{{ KTestCategories[2], 0x9000}, ETypeArrayInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
499 |
{{{ KTestCategories[3], 0x0000}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
500 |
{{{ KTestCategories[3], 0x0010}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
501 |
//{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
502 |
{{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
503 |
{{{ KTestCategories[3], 0x0030}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
504 |
{{{ KTestCategories[3], 0x0031}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Three) }}},
|
sl@0
|
505 |
{{{ KTestCategories[3], 0x1000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
506 |
{{{ KTestCategories[3], 0x80000000}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
507 |
//{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
508 |
//{{{ KTestCategories[3], 0xfffffffe}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
|
sl@0
|
509 |
|
sl@0
|
510 |
// Existing Settings Override (Nand)
|
sl@0
|
511 |
// Over Compiler Repository
|
sl@0
|
512 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 555666 }}},
|
sl@0
|
513 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
514 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
515 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 32 * sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
516 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
517 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 100 }}},
|
sl@0
|
518 |
// Over File Repository (will be new settings in this case)
|
sl@0
|
519 |
{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ -33 }}},
|
sl@0
|
520 |
{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 999999 }}},
|
sl@0
|
521 |
{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
522 |
{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
523 |
{{{ KTestCategories[5], 0xffffffff}, ETypeUInt8, 0x0000, 0 }, {{ 25 }}},
|
sl@0
|
524 |
|
sl@0
|
525 |
// New Settings (Nand)
|
sl@0
|
526 |
{{{ KTestCategories[6], 0x3000}, ETypeInt32, 0x0000, 0 }, {{ -987654 }}},
|
sl@0
|
527 |
{{{ KTestCategories[6], 0x3010}, ETypeInt16, 0x0000, 0 }, {{ -12345 }}},
|
sl@0
|
528 |
{{{ KTestCategories[6], 0x3020}, ETypeInt8, 0x0000, 0 }, {{ -100 }}},
|
sl@0
|
529 |
{{{ KTestCategories[6], 0x3030}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
530 |
{{{ KTestCategories[6], 0x3040}, ETypeUInt32, 0x0000, 0 }, {{ 1234567890 }}},
|
sl@0
|
531 |
{{{ KTestCategories[6], 0x3050}, ETypeUInt16, 0x0000, 0 }, {{ 12345 }}},
|
sl@0
|
532 |
{{{ KTestCategories[6], 0x3060}, ETypeUInt8, 0x0000, 0 }, {{ 123 }}},
|
sl@0
|
533 |
{{{ KTestCategories[6], 0x3070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xabcdef01 }}},
|
sl@0
|
534 |
{{{ KTestCategories[7], 0x2080}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
535 |
{{{ KTestCategories[7], 0x2093}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
536 |
{{{ KTestCategories[7], 0x20a0}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
537 |
{{{ KTestCategories[7], 0x20b1}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
538 |
{{{ KTestCategories[7], 0x20c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
539 |
{{{ KTestCategories[7], 0x20d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
540 |
{{{ KTestCategories[7], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
541 |
};
|
sl@0
|
542 |
|
sl@0
|
543 |
// Nand
|
sl@0
|
544 |
SSettingC SettingsList5[] = {
|
sl@0
|
545 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 555666 }}},
|
sl@0
|
546 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
547 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
548 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 32 * sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
549 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
550 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 100 }}},
|
sl@0
|
551 |
{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ -33 }}},
|
sl@0
|
552 |
{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 999999 }}},
|
sl@0
|
553 |
{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
554 |
{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
555 |
{{{ KTestCategories[5], 0xffffffff}, ETypeUInt8, 0x0000, 0 }, {{ 25 }}},
|
sl@0
|
556 |
{{{ KTestCategories[6], 0x3000}, ETypeInt32, 0x0000, 0 }, {{ -987654 }}},
|
sl@0
|
557 |
{{{ KTestCategories[6], 0x3010}, ETypeInt16, 0x0000, 0 }, {{ -12345 }}},
|
sl@0
|
558 |
{{{ KTestCategories[6], 0x3020}, ETypeInt8, 0x0000, 0 }, {{ -100 }}},
|
sl@0
|
559 |
{{{ KTestCategories[6], 0x3030}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
560 |
{{{ KTestCategories[6], 0x3040}, ETypeUInt32, 0x0000, 0 }, {{ 1234567890 }}},
|
sl@0
|
561 |
{{{ KTestCategories[6], 0x3050}, ETypeUInt16, 0x0000, 0 }, {{ 12345 }}},
|
sl@0
|
562 |
{{{ KTestCategories[6], 0x3060}, ETypeUInt8, 0x0000, 0 }, {{ 123 }}},
|
sl@0
|
563 |
{{{ KTestCategories[6], 0x3070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xabcdef01 }}},
|
sl@0
|
564 |
{{{ KTestCategories[7], 0x2080}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
565 |
{{{ KTestCategories[7], 0x2093}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
566 |
{{{ KTestCategories[7], 0x20a0}, ETypeArrayInt32, 0x0000, sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
567 |
{{{ KTestCategories[7], 0x20b1}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
568 |
{{{ KTestCategories[7], 0x20c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
569 |
{{{ KTestCategories[7], 0x20d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
570 |
{{{ KTestCategories[7], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
571 |
};
|
sl@0
|
572 |
|
sl@0
|
573 |
// File+Nand
|
sl@0
|
574 |
SSettingC SettingsList6[] = {
|
sl@0
|
575 |
// File
|
sl@0
|
576 |
//{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 444 }}},
|
sl@0
|
577 |
{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -7632 }}},
|
sl@0
|
578 |
{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 120 }}},
|
sl@0
|
579 |
//{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
580 |
{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ 555555 }}},
|
sl@0
|
581 |
{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 60000 }}},
|
sl@0
|
582 |
{{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 11 }}},
|
sl@0
|
583 |
{{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x0faece50 }}},
|
sl@0
|
584 |
{{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
585 |
//{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512b) }}},
|
sl@0
|
586 |
{{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
587 |
//{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
588 |
{{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
589 |
//{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
590 |
//{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
591 |
{{{ KTestCategories[4], 0x1000}, ETypeInt32, 0x0000, 0 }, {{ 333 }}},
|
sl@0
|
592 |
{{{ KTestCategories[4], 0x1010}, ETypeInt16, 0x0000, 0 }, {{ 17632 }}},
|
sl@0
|
593 |
//{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ 44 }}},
|
sl@0
|
594 |
{{{ KTestCategories[4], 0x1030}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
595 |
//{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 3123123123u }}},
|
sl@0
|
596 |
{{{ KTestCategories[4], 0x1050}, ETypeUInt16, 0x0000, 0 }, {{ 18 }}},
|
sl@0
|
597 |
{{{ KTestCategories[4], 0x1060}, ETypeUInt8, 0x0000, 0 }, {{ 80 }}},
|
sl@0
|
598 |
{{{ KTestCategories[4], 0x1070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xdeadbeef }}},
|
sl@0
|
599 |
//{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
600 |
{{{ KTestCategories[5], 0x0093}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64b) }}},
|
sl@0
|
601 |
{{{ KTestCategories[5], 0x00a0}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
602 |
{{{ KTestCategories[5], 0x00b1}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
603 |
{{{ KTestCategories[5], 0x00c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
604 |
//{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
605 |
//{{{ KTestCategories[5], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
606 |
|
sl@0
|
607 |
// Existing Settings Override (Nand)
|
sl@0
|
608 |
// Over Compiler Repository (new settings here)
|
sl@0
|
609 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 555666 }}},
|
sl@0
|
610 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
611 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512a) }}},
|
sl@0
|
612 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 32 * sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
613 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
614 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 100 }}},
|
sl@0
|
615 |
// Over File Repository
|
sl@0
|
616 |
{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ -33 }}},
|
sl@0
|
617 |
{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 999999 }}},
|
sl@0
|
618 |
{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
619 |
{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64One) }}},
|
sl@0
|
620 |
{{{ KTestCategories[5], 0xffffffff}, ETypeUInt8, 0x0000, 0 }, {{ 25 }}},
|
sl@0
|
621 |
|
sl@0
|
622 |
// New Settings (Nand)
|
sl@0
|
623 |
{{{ KTestCategories[6], 0x3000}, ETypeInt32, 0x0000, 0 }, {{ -987654 }}},
|
sl@0
|
624 |
{{{ KTestCategories[6], 0x3010}, ETypeInt16, 0x0000, 0 }, {{ -12345 }}},
|
sl@0
|
625 |
{{{ KTestCategories[6], 0x3020}, ETypeInt8, 0x0000, 0 }, {{ -100 }}},
|
sl@0
|
626 |
{{{ KTestCategories[6], 0x3030}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
627 |
{{{ KTestCategories[6], 0x3040}, ETypeUInt32, 0x0000, 0 }, {{ 1234567890 }}},
|
sl@0
|
628 |
{{{ KTestCategories[6], 0x3050}, ETypeUInt16, 0x0000, 0 }, {{ 12345 }}},
|
sl@0
|
629 |
{{{ KTestCategories[6], 0x3060}, ETypeUInt8, 0x0000, 0 }, {{ 123 }}},
|
sl@0
|
630 |
{{{ KTestCategories[6], 0x3070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xabcdef01 }}},
|
sl@0
|
631 |
{{{ KTestCategories[7], 0x2080}, ETypeBinData, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
632 |
{{{ KTestCategories[7], 0x2093}, ETypeText8, 0x0000, 1 }, {{ reinterpret_cast<TInt32>(TestString1) }}},
|
sl@0
|
633 |
{{{ KTestCategories[7], 0x20a0}, ETypeArrayInt32, 0x0000, 1 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
634 |
{{{ KTestCategories[7], 0x20b1}, ETypeArrayUInt32, 0x0000, sizeof(TUint32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
635 |
{{{ KTestCategories[7], 0x20c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
636 |
{{{ KTestCategories[7], 0x20d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
637 |
{{{ KTestCategories[7], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ -1 }}},
|
sl@0
|
638 |
};
|
sl@0
|
639 |
|
sl@0
|
640 |
// File
|
sl@0
|
641 |
SSettingC SettingsList7[] = {
|
sl@0
|
642 |
{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 444 }}},
|
sl@0
|
643 |
{{{ KTestCategories[0], 4}, ETypeInt16, 0x0000, 0 }, {{ -7632 }}},
|
sl@0
|
644 |
{{{ KTestCategories[0], 7}, ETypeInt8, 0x0000, 0 }, {{ 120 }}},
|
sl@0
|
645 |
{{{ KTestCategories[0], 10}, ETypeBool, 0x0000, 0 }, {{ EFalse }}},
|
sl@0
|
646 |
{{{ KTestCategories[1], 2}, ETypeUInt32, 0x0000, 0 }, {{ 555555 }}},
|
sl@0
|
647 |
{{{ KTestCategories[1], 5}, ETypeUInt16, 0x0000, 0 }, {{ 60000 }}},
|
sl@0
|
648 |
{{{ KTestCategories[1], 8}, ETypeUInt8, 0x0000, 0 }, {{ 11 }}},
|
sl@0
|
649 |
{{{ KTestCategories[1], 12}, ETypeLinAddr, 0x0000, 0 }, {{ 0x0faece50 }}},
|
sl@0
|
650 |
{{{ KTestCategories[2], 0x1000}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
651 |
{{{ KTestCategories[2], 0x7000}, ETypeText8, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestString512b) }}},
|
sl@0
|
652 |
{{{ KTestCategories[2], 0x8000}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
653 |
{{{ KTestCategories[3], 0x0020}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
654 |
{{{ KTestCategories[3], 0x0021}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64Two) }}},
|
sl@0
|
655 |
{{{ KTestCategories[3], 0xcccccccc}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Two) }}},
|
sl@0
|
656 |
{{{ KTestCategories[3], 0xfffffffe}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
657 |
{{{ KTestCategories[4], 0x1000}, ETypeInt32, 0x0000, 0 }, {{ 333 }}},
|
sl@0
|
658 |
{{{ KTestCategories[4], 0x1010}, ETypeInt16, 0x0000, 0 }, {{ 17632 }}},
|
sl@0
|
659 |
{{{ KTestCategories[4], 0x1020}, ETypeInt8, 0x0000, 0 }, {{ 44 }}},
|
sl@0
|
660 |
{{{ KTestCategories[4], 0x1030}, ETypeBool, 0x0000, 0 }, {{ ETrue }}},
|
sl@0
|
661 |
{{{ KTestCategories[4], 0x1040}, ETypeUInt32, 0x0000, 0 }, {{ 0xba2713b3 }}},
|
sl@0
|
662 |
{{{ KTestCategories[4], 0x1050}, ETypeUInt16, 0x0000, 0 }, {{ 18 }}},
|
sl@0
|
663 |
{{{ KTestCategories[4], 0x1060}, ETypeUInt8, 0x0000, 0 }, {{ 80 }}},
|
sl@0
|
664 |
{{{ KTestCategories[4], 0x1070}, ETypeLinAddr, 0x0000, 0 }, {{ 0xdeadbeef }}},
|
sl@0
|
665 |
{{{ KTestCategories[5], 0x0080}, ETypeBinData, 0x0000, 50 }, {{ reinterpret_cast<TInt32>(TestBinData) }}},
|
sl@0
|
666 |
{{{ KTestCategories[5], 0x0093}, ETypeText8, 0x0000, 64 }, {{ reinterpret_cast<TInt32>(TestString64b) }}},
|
sl@0
|
667 |
{{{ KTestCategories[5], 0x00a0}, ETypeArrayInt32, 0x0000, 6 * sizeof(TInt32) }, {{ reinterpret_cast<TInt32>(TestInt32Array) }}},
|
sl@0
|
668 |
{{{ KTestCategories[5], 0x00b1}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
|
sl@0
|
669 |
{{{ KTestCategories[5], 0x00c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
|
sl@0
|
670 |
{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
|
sl@0
|
671 |
{{{ KTestCategories[5], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
|
sl@0
|
672 |
};
|
sl@0
|
673 |
#endif // !defined(__KERNEL_MODE__) || defined(HCRTEST_USERSIDE_INTERFACE)
|
sl@0
|
674 |
#endif // !D_HCRSIM_TESTDATA_H
|