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