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