Update contrib.
1 // Copyright (c) 2000-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // \F32TEST\loader\gen\dlltree.h
26 _LIT(KDllfilename,"Z:\\System\\Libs\\DLLTS");
28 _LIT(KNewDllName, "DLLTS");
30 _LIT(KNewDllName, "C:\\System\\Libs\\DLLTS");
34 _LIT(KExefilename,"Z:\\System\\Libs\\EXETS");
36 _LIT(KNewExeName, "EXETS");
38 _LIT(KNewExeName, "C:\\System\\Libs\\EXETS");
42 _LIT(KDll6,"DLLTS6.dll");
43 _LIT(KDll7,"DLLTS7.dll");
44 _LIT(KDll11,"DLLTS11.dll");
46 _LIT(KDll6,"C:\\System\\Libs\\DLLTS6.dll");
47 _LIT(KDll7,"C:\\System\\Libs\\DLLTS7.dll");
48 _LIT(KDll11,"C:\\System\\Libs\\DLLTS11.dll");
50 _LIT(KSystemLibs,"C:\\System\\Libs\\");
51 _LIT(KAnyDirDll,"C:\\Anyoldname\\System\\Libs\\DLLTS");
52 _LIT(KAnyDirExe,"C:\\Anyoldname\\System\\Libs\\EXETS");
53 _LIT(KAnyDirShort,"C:\\Anyoldname\\");
54 _LIT(KJDllName,"N:\\System\\Libs\\DLLTS");
55 _LIT(KJExeName,"N:\\System\\Libs\\EXETS");
59 _LIT(KDllfilename,"Z:\\sys\\bin\\DLLTS");//this will need to change
61 _LIT(KNewDllName, "DLLTS");
63 _LIT(KNewDllName, "C:\\sys\\bin\\DLLTS");
66 _LIT(KExefilename,"Z:\\sys\\bin\\EXETS");//this will need to change
68 _LIT(KNewExeName, "EXETS");
70 _LIT(KNewExeName, "C:\\sys\\bin\\EXETS");
74 _LIT(KDll6,"DLLTS6.dll");
75 _LIT(KDll7,"DLLTS7.dll");
76 _LIT(KDll11,"DLLTS11.dll");
78 _LIT(KDll6,"C:\\sys\\bin\\DLLTS6.dll");
79 _LIT(KDll7,"C:\\sys\\bin\\DLLTS7.dll");
80 _LIT(KDll11,"C:\\sys\\bin\\DLLTS11.dll");
82 _LIT(KSystemLibs,"C:\\sys\\bin\\");
83 _LIT(KAnyDirDll,"C:\\Anyoldname\\sys\\bin\\DLLTS");
84 _LIT(KAnyDirExe,"C:\\Anyoldname\\sys\\bin\\EXETS");
85 _LIT(KAnyDirShort,"C:\\Anyoldname\\");
86 _LIT(KJDllName,"N:\\sys\\bin\\DLLTS");
87 _LIT(KJExeName,"N:\\sys\\bin\\EXETS");
88 _LIT(KJDllNameOnly,"DLLTS");
89 _LIT(KJExeNameOnly,"EXETS");
94 #if defined(__DLLNUM0)
96 #define INITFUNC Init0
97 #define CHKCFUNC ChkC0
98 #define BLKIFUNC BlkI0
99 #define RBLKIFUNC RBlkI0
100 #define CHKDEPS(r) (\
104 #define INITDEPS(r,l) (\
105 ((r)=Init1(l))!=0 ||\
106 ((r)=Init2(l))!=0 ||\
108 #define RBLKIFUNC_DEPS(i,g) {\
112 #define __MODULE_EXPORT EXPORT_C
113 #define __MODULE_IMPORT IMPORT_C
114 extern "C" IMPORT_C TInt Init1(MDllList&);
115 extern "C" IMPORT_C TInt ChkC1();
116 extern "C" IMPORT_C TInt RBlkI1(TInt, TInt);
117 extern "C" IMPORT_C TInt Init2(MDllList&);
118 extern "C" IMPORT_C TInt ChkC2();
119 extern "C" IMPORT_C TInt RBlkI2(TInt, TInt);
122 #elif defined(__DLLNUM1)
124 #define INITFUNC Init1
125 #define CHKCFUNC ChkC1
126 #define BLKIFUNC BlkI1
127 #define RBLKIFUNC RBlkI1
128 #define CHKDEPS(r) (\
130 #define INITDEPS(r,l) (\
132 #define RBLKIFUNC_DEPS(i,g) {\
134 #define __MODULE_EXPORT EXPORT_C
135 #define __MODULE_IMPORT IMPORT_C
138 #elif defined(__DLLNUM2)
140 #define INITFUNC Init2
141 #define CHKCFUNC ChkC2
142 #define BLKIFUNC BlkI2
143 #define RBLKIFUNC RBlkI2
144 #define CHKDEPS(r) (\
146 #define INITDEPS(r,l) (\
148 #define RBLKIFUNC_DEPS(i,g) {\
150 #define __MODULE_EXPORT EXPORT_C
151 #define __MODULE_IMPORT IMPORT_C
154 #elif defined(__DLLNUM3)
156 #define INITFUNC Init3
157 #define CHKCFUNC ChkC3
158 #define BLKIFUNC BlkI3
159 #define RBLKIFUNC RBlkI3
160 #define CHKDEPS(r) (\
164 #define INITDEPS(r,l) (\
165 ((r)=Init4(l))!=0 ||\
166 ((r)=Init5(l))!=0 ||\
168 #define RBLKIFUNC_DEPS(i,g) {\
172 #define __MODULE_HAS_DATA
173 #define __MODULE_EXPORT EXPORT_C
174 #define __MODULE_IMPORT IMPORT_C
175 extern "C" IMPORT_C TInt Init4(MDllList&);
176 extern "C" IMPORT_C TInt ChkC4();
177 extern "C" IMPORT_C TInt RBlkI4(TInt, TInt);
178 extern "C" IMPORT_C TInt Init5(MDllList&);
179 extern "C" IMPORT_C TInt ChkC5();
180 extern "C" IMPORT_C TInt RBlkI5(TInt, TInt);
183 #elif defined(__DLLNUM4)
185 #define INITFUNC Init4
186 #define CHKCFUNC ChkC4
187 #define BLKIFUNC BlkI4
188 #define RBLKIFUNC RBlkI4
189 #define CHKDEPS(r) (\
191 #define INITDEPS(r,l) (\
193 #define RBLKIFUNC_DEPS(i,g) {\
195 #define __MODULE_HAS_DATA
196 #define __MODULE_EXPORT EXPORT_C
197 #define __MODULE_IMPORT IMPORT_C
200 #elif defined(__DLLNUM5)
202 #define INITFUNC Init5
203 #define CHKCFUNC ChkC5
204 #define BLKIFUNC BlkI5
205 #define RBLKIFUNC RBlkI5
206 #define CHKDEPS(r) (\
208 #define INITDEPS(r,l) (\
210 #define RBLKIFUNC_DEPS(i,g) {\
212 #define __MODULE_HAS_DATA
213 #define __MODULE_EXPORT EXPORT_C
214 #define __MODULE_IMPORT IMPORT_C
217 #elif defined(__DLLNUM6)
219 #define INITFUNC Init6
220 #define CHKCFUNC ChkC6
221 #define BLKIFUNC BlkI6
222 #define RBLKIFUNC RBlkI6
223 #define CHKDEPS(r) (\
227 #define INITDEPS(r,l) (\
228 ((r)=Init0(l))!=0 ||\
229 ((r)=Init3(l))!=0 ||\
231 #define RBLKIFUNC_DEPS(i,g) {\
235 #define __MODULE_EXPORT EXPORT_C
236 #define __MODULE_IMPORT IMPORT_C
237 extern "C" IMPORT_C TInt Init0(MDllList&);
238 extern "C" IMPORT_C TInt ChkC0();
239 extern "C" IMPORT_C TInt RBlkI0(TInt, TInt);
240 extern "C" IMPORT_C TInt Init3(MDllList&);
241 extern "C" IMPORT_C TInt ChkC3();
242 extern "C" IMPORT_C TInt RBlkI3(TInt, TInt);
245 #elif defined(__DLLNUM7)
247 #define INITFUNC Init7
248 #define CHKCFUNC ChkC7
249 #define BLKIFUNC BlkI7
250 #define RBLKIFUNC RBlkI7
251 #define CHKDEPS(r) (\
255 #define INITDEPS(r,l) (\
256 ((r)=Init8(l))!=0 ||\
257 ((r)=Init9(l))!=0 ||\
259 #define RBLKIFUNC_DEPS(i,g) {\
263 #define __MODULE_EXPORT EXPORT_C
264 #define __MODULE_IMPORT IMPORT_C
265 extern "C" IMPORT_C TInt Init8(MDllList&);
266 extern "C" IMPORT_C TInt ChkC8();
267 extern "C" IMPORT_C TInt RBlkI8(TInt, TInt);
268 extern "C" IMPORT_C TInt Init9(MDllList&);
269 extern "C" IMPORT_C TInt ChkC9();
270 extern "C" IMPORT_C TInt RBlkI9(TInt, TInt);
273 #elif defined(__DLLNUM8)
275 #define INITFUNC Init8
276 #define CHKCFUNC ChkC8
277 #define BLKIFUNC BlkI8
278 #define RBLKIFUNC RBlkI8
279 #define CHKDEPS(r) (\
280 ((r)=ChkC10())!=0 ||\
282 #define INITDEPS(r,l) (\
283 ((r)=Init10(l))!=0 ||\
285 #define RBLKIFUNC_DEPS(i,g) {\
288 #define __MODULE_EXPORT EXPORT_C
289 #define __MODULE_IMPORT IMPORT_C
290 extern "C" IMPORT_C TInt Init10(MDllList&);
291 extern "C" IMPORT_C TInt ChkC10();
292 extern "C" IMPORT_C TInt RBlkI10(TInt, TInt);
295 #elif defined(__DLLNUM9)
297 #define INITFUNC Init9
298 #define CHKCFUNC ChkC9
299 #define BLKIFUNC BlkI9
300 #define RBLKIFUNC RBlkI9
301 #define CHKDEPS(r) (\
302 ((r)=ChkC10())!=0 ||\
304 #define INITDEPS(r,l) (\
305 ((r)=Init10(l))!=0 ||\
307 #define RBLKIFUNC_DEPS(i,g) {\
310 #define __MODULE_EXPORT EXPORT_C
311 #define __MODULE_IMPORT IMPORT_C
312 extern "C" IMPORT_C TInt Init10(MDllList&);
313 extern "C" IMPORT_C TInt ChkC10();
314 extern "C" IMPORT_C TInt RBlkI10(TInt, TInt);
317 #elif defined(__DLLNUM10)
319 #define INITFUNC Init10
320 #define CHKCFUNC ChkC10
321 #define BLKIFUNC BlkI10
322 #define RBLKIFUNC RBlkI10
323 #define CHKDEPS(r) (\
325 #define INITDEPS(r,l) (\
327 #define RBLKIFUNC_DEPS(i,g) {\
329 #define __MODULE_EXPORT EXPORT_C
330 #define __MODULE_IMPORT IMPORT_C
335 #elif defined(__DLLNUM11)
337 #define INITFUNC Init11
338 #define CHKCFUNC ChkC11
339 #define BLKIFUNC BlkI11
340 #define RBLKIFUNC RBlkI11
341 #define CHKDEPS(r) (\
342 ((r)=ChkC12())!=0 ||\
344 #define INITDEPS(r,l) (\
345 ((r)=Init12(l))!=0 ||\
347 #define RBLKIFUNC_DEPS(i,g) {\
350 #define __DLL_IN_CYCLE
351 #define __MODULE_EXPORT EXPORT_C
352 #define __MODULE_IMPORT IMPORT_C
353 extern "C" IMPORT_C TInt Init12(MDllList&);
354 extern "C" IMPORT_C TInt ChkC12();
355 extern "C" IMPORT_C TInt RBlkI12(TInt, TInt);
358 #elif defined(__DLLNUM12)
360 #define INITFUNC Init12
361 #define CHKCFUNC ChkC12
362 #define BLKIFUNC BlkI12
363 #define RBLKIFUNC RBlkI12
364 #define CHKDEPS(r) (\
365 ((r)=ChkC13())!=0 ||\
368 #define INITDEPS(r,l) (\
369 ((r)=Init13(l))!=0 ||\
370 ((r)=Init7(l))!=0 ||\
372 #define RBLKIFUNC_DEPS(i,g) {\
376 #define __DLL_IN_CYCLE
377 #define __MODULE_EXPORT EXPORT_C
378 #define __MODULE_IMPORT IMPORT_C
379 extern "C" IMPORT_C TInt Init13(MDllList&);
380 extern "C" IMPORT_C TInt ChkC13();
381 extern "C" IMPORT_C TInt RBlkI13(TInt, TInt);
382 extern "C" IMPORT_C TInt Init7(MDllList&);
383 extern "C" IMPORT_C TInt ChkC7();
384 extern "C" IMPORT_C TInt RBlkI7(TInt, TInt);
387 #elif defined(__DLLNUM13)
389 #define INITFUNC Init13
390 #define CHKCFUNC ChkC13
391 #define BLKIFUNC BlkI13
392 #define RBLKIFUNC RBlkI13
393 #define CHKDEPS(r) (\
394 ((r)=ChkC11())!=0 ||\
396 #define INITDEPS(r,l) (\
397 ((r)=Init11(l))!=0 ||\
399 #define RBLKIFUNC_DEPS(i,g) {\
402 #define __DLL_IN_CYCLE
403 #define __MODULE_EXPORT EXPORT_C
404 #define __MODULE_IMPORT IMPORT_C
405 extern "C" IMPORT_C TInt Init11(MDllList&);
406 extern "C" IMPORT_C TInt ChkC11();
407 extern "C" IMPORT_C TInt RBlkI11(TInt, TInt);
410 #elif defined(__DLLNUM14)
413 _LIT(KServerName, "ExeA");
414 #define INITFUNC Init14
415 #define CHKCFUNC ChkC14
416 #define BLKIFUNC BlkI14
417 #define RBLKIFUNC RBlkI14 //need to sort out the rest of this dll
418 #define CHKDEPS(r) (\
421 #define INITDEPS(r,l) (\
422 ((r)=Init6(l))!=0 ||\
424 #define RBLKIFUNC_DEPS(i,g) {\
427 #define __MODULE_EXPORT EXPORT_C
428 #define __MODULE_IMPORT IMPORT_C
429 extern "C" IMPORT_C TInt Init6(MDllList&);
430 extern "C" IMPORT_C TInt ChkC6();
431 extern "C" IMPORT_C TInt RBlkI6(TInt, TInt);
434 #elif defined(__DLLNUM15)
437 _LIT(KServerName, "ExeB");
438 #define INITFUNC Init15
439 #define CHKCFUNC ChkC15
440 #define BLKIFUNC BlkI15
441 #define RBLKIFUNC RBlkI15 //need to sort out the rest of this dll
442 #define CHKDEPS(r) (\
443 ((r)=ChkC11())!=0 ||\
445 #define INITDEPS(r,l) (\
446 ((r)=Init11(l))!=0 ||\
448 #define RBLKIFUNC_DEPS(i,g) {\
451 #define __MODULE_EXPORT
452 #define __MODULE_IMPORT
453 extern "C" IMPORT_C TInt Init11(MDllList&);
454 extern "C" IMPORT_C TInt ChkC11();
455 extern "C" IMPORT_C TInt RBlkI11(TInt, TInt);
458 const TInt KNumModules=16;
464 static const TText* const ModuleName[KNumModules] =
466 (const TText*)L"STree0", /*0*/
467 (const TText*)L"STree1", /*1*/
468 (const TText*)L"STree2", /*2*/
469 (const TText*)L"SDTree3", /*3*/
470 (const TText*)L"SDTree4", /*4*/
471 (const TText*)L"SDTree5", /*5*/
472 (const TText*)L"SPDTree6", /*6*/
473 (const TText*)L"SLat7", /*7*/
474 (const TText*)L"SLat8", /*8*/
475 (const TText*)L"SLat9", /*9*/
476 (const TText*)L"SLat10", /*10*/
477 (const TText*)L"SCycS11", /*11*/
478 (const TText*)L"SCycS12", /*12*/
479 (const TText*)L"SCycS13", /*13*/
480 (const TText*)L"SExe14", /*14*/
481 (const TText*)L"SExe15" /*15*/
484 #define MODULE_NAME(n) TPtrC(ModuleName[n])
486 static const TText* const ModuleFileName[KNumModules] =
488 (const TText*)L"DLLTS0.DLL",
489 (const TText*)L"DLLTS1.DLL",
490 (const TText*)L"DLLTS2.DLL",
491 (const TText*)L"DLLTS3.DLL",
492 (const TText*)L"DLLTS4.DLL",
493 (const TText*)L"DLLTS5.DLL",
494 (const TText*)L"DLLTS6.DLL",
495 (const TText*)L"DLLTS7.DLL",
496 (const TText*)L"DLLTS8.DLL",
497 (const TText*)L"DLLTS9.DLL",
498 (const TText*)L"DLLTS10.DLL",
499 (const TText*)L"DLLTS11.DLL",
500 (const TText*)L"DLLTS12.DLL",
501 (const TText*)L"DLLTS13.DLL",
502 (const TText*)L"EXETS14.EXE",
503 (const TText*)L"EXETS15.EXE"
506 #define MODULE_FILENAME(n) TPtrC(ModuleFileName[n])
508 static const TInt Module0Deps[] =
510 static const TInt Module1Deps[] =
512 static const TInt Module2Deps[] =
514 static const TInt Module3Deps[] =
516 static const TInt Module4Deps[] =
518 static const TInt Module5Deps[] =
520 static const TInt Module6Deps[] =
522 static const TInt Module7Deps[] =
524 static const TInt Module8Deps[] =
526 static const TInt Module9Deps[] =
528 static const TInt Module10Deps[] =
530 static const TInt Module11Deps[] =
531 {7,11,13,10,8,9,7,12};
533 static const TInt Module12Deps[] =
534 {7,10,8,9,7,12,11,13};
536 static const TInt Module13Deps[] =
537 {7,13,10,8,9,7,12,11};
539 static const TInt Module14Deps[] =
542 static const TInt Module15Deps[] =
543 {8,11,13,10,8,9,7,12,11};
545 static const TInt* const ModuleDependencies[KNumModules] =
565 const TInt KModuleFlagExe=0x01;
566 const TInt KModuleFlagFixed=0x02;
567 const TInt KModuleFlagData=0x04;
568 const TInt KModuleFlagXIP=0x08;
569 const TInt KModuleFlagDllInCycle=0x10;
570 const TInt KModuleFlagDataInTree=0x20;
571 const TInt KModuleFlagXIPDataInTree=0x40;
572 const TInt KModuleFlagExports=0x80;
574 static const TInt ModuleFlags[KNumModules] =
594 static const TInt Module0RBlkIParams[2] = { 0, 0 };
595 static const TInt Module1RBlkIParams[2] = { 0, 0 };
596 static const TInt Module2RBlkIParams[2] = { 0, 0 };
597 static const TInt Module3RBlkIParams[2] = { 3, 34 };
598 static const TInt Module4RBlkIParams[2] = { 1, 12 };
599 static const TInt Module5RBlkIParams[2] = { 1, 13 };
600 static const TInt Module6RBlkIParams[2] = { 0, 0 };
601 static const TInt Module7RBlkIParams[2] = { 0, 0 };
602 static const TInt Module8RBlkIParams[2] = { 0, 0 };
603 static const TInt Module9RBlkIParams[2] = { 0, 0 };
604 static const TInt Module10RBlkIParams[2] = { 0, 0 };
605 static const TInt Module11RBlkIParams[2] = { 0, 0 };
606 static const TInt Module12RBlkIParams[2] = { 0, 0 };
607 static const TInt Module13RBlkIParams[2] = { 0, 0 };
608 static const TInt Module14RBlkIParams[2] = { 0, 0 };
609 static const TInt Module15RBlkIParams[2] = { 0, 0 };
611 static const TInt* const ModuleRBlkIParams[KNumModules] =
631 static const TInt Module0ExeInfo[2] = { -1, -1 };
632 static const TInt Module1ExeInfo[2] = { -1, -1 };
633 static const TInt Module2ExeInfo[2] = { -1, -1 };
634 static const TInt Module3ExeInfo[2] = { -1, -1 };
635 static const TInt Module4ExeInfo[2] = { -1, -1 };
636 static const TInt Module5ExeInfo[2] = { -1, -1 };
637 static const TInt Module6ExeInfo[2] = { -1, -1 };
638 static const TInt Module7ExeInfo[2] = { -1, -1 };
639 static const TInt Module8ExeInfo[2] = { -1, -1 };
640 static const TInt Module9ExeInfo[2] = { -1, -1 };
641 static const TInt Module10ExeInfo[2] = { -1, -1 };
642 static const TInt Module11ExeInfo[2] = { -1, -1 };
643 static const TInt Module12ExeInfo[2] = { -1, -1 };
644 static const TInt Module13ExeInfo[2] = { -1, -1 };
645 static const TInt Module14ExeInfo[2] = { 14, 14 };
646 static const TInt Module15ExeInfo[2] = { 15, 15 };
649 static const TInt* const ModuleExeInfo[KNumModules] =
670 const TInt KTestCases = 10;
672 //numbers 0 to 6 are for 14 and 7 to 13 are for 15
674 // 0 1 2 3 4 5 6 7 8 9
675 static const TUint32 Module0Caps[KTestCases] = {0x0, 0xF, 0x7, 0x6, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7};
676 static const TUint32 Module1Caps[KTestCases] = {0x0, 0xF, 0xF, 0xF, 0xE, 0xF, 0xF, 0xF, 0xF, 0xF};
678 static const TUint32 Module2Caps[KTestCases] = {0x0, 0xF, 0xF, 0xF, 0xF, 0xE, 0xF, 0xF, 0xF, 0xF};
679 static const TUint32 Module3Caps[KTestCases] = {0x0, 0xF, 0x7, 0x7, 0x7, 0x7, 0x6, 0x7, 0x7, 0x7};
681 static const TUint32 Module4Caps[KTestCases] = {0x0, 0xF, 0xF, 0xF, 0xF, 0xF, 0xF, 0xE, 0xF, 0xF};
682 static const TUint32 Module5Caps[KTestCases] = {0x0, 0xF, 0xF, 0xF, 0xF, 0xF, 0xF, 0xF, 0xE, 0xF};
684 static const TUint32 Module6Caps[KTestCases] = {0x0, 0xF, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2};
685 static const TUint32 Module7Caps[KTestCases] = {0x0, 0xF, 0x7, 0x6, 0x7, 0x7, 0x7, 0x7, 0x7, 0x7};
687 static const TUint32 Module8Caps[KTestCases] = {0x0, 0xF, 0xF, 0xF, 0xE, 0xF, 0xF, 0xF, 0xF, 0xF};
688 static const TUint32 Module9Caps[KTestCases] = {0x0, 0xF, 0xF, 0xF, 0xF, 0xE, 0xF, 0xF, 0xF, 0xF};
690 static const TUint32 Module10Caps[KTestCases] = {0x0, 0xF, 0x1F,0x1F,0x1F, 0x1F,0x1E, 0x1F,0x1F, 0x1F};
691 static const TUint32 Module11Caps[KTestCases] = {0x0, 0xF, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2, 0x3, 0x3};
693 static const TUint32 Module12Caps[KTestCases] = {0x0, 0xF, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2, 0x3};
694 static const TUint32 Module13Caps[KTestCases] = {0x0, 0xF, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2};
696 static const TUint32 Module14Caps[KTestCases] = {0x0, 0xF, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1}; //exe A
697 static const TUint32 Module15Caps[KTestCases] = {0x0, 0xF, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1}; //exe B
699 /* These go back in when the capability check become mandatory
700 static const TInt ModuleResultsA[KTestCases] =
702 KErrNone, //all equal 0
703 KErrNone, //all equal 1
704 KErrNone, //asscending 2
705 KErrPermissionDenied, //asscending 3
706 KErrPermissionDenied, //asscending 4
707 KErrPermissionDenied, //asscending 5
708 KErrPermissionDenied, //asscending 6
709 KErrPermissionDenied, //asscending 7
710 KErrPermissionDenied, //asscending 8
711 KErrPermissionDenied //asscending 9
714 static const TInt ModuleResultsB[KTestCases] =
716 KErrPermissionDenied, //all equal 0
717 KErrNone, //all equal 1
718 KErrNone, //asscending 2
719 KErrPermissionDenied, //asscending 3
720 KErrPermissionDenied, //asscending 4
721 KErrPermissionDenied, //asscending 5
722 KErrPermissionDenied, //asscending 6
723 KErrPermissionDenied, //asscending 7
724 KErrPermissionDenied, //asscending 8
725 KErrPermissionDenied //asscending 9
728 static const TInt ModuleResultsC[KTestCases] =
730 KErrPermissionDenied, //all equal 0
731 KErrNone, //all equal 1
732 KErrNone, //asscending 2
733 KErrPermissionDenied, //asscending 3
734 KErrPermissionDenied, //asscending 4
735 KErrPermissionDenied, //asscending 5
736 KErrPermissionDenied, //asscending 6
737 KErrNone, //asscending 7
738 KErrNone, //asscending 8
739 KErrNone //asscending 9
744 static const TInt ModuleResultsA[KTestCases] =
746 KErrNone, //all equal 0
747 KErrNone, //all equal 1
748 KErrNone, //asscending 2
749 KErrNone, //asscending 3
750 KErrNone, //asscending 4
751 KErrNone, //asscending 5
752 KErrNone, //asscending 6
753 KErrNone, //asscending 7
754 KErrNone, //asscending 8
755 KErrNone //asscending 9
758 static const TInt ModuleResultsB[KTestCases] =
760 KErrNone, //all equal 0
761 KErrNone, //all equal 1
762 KErrNone, //asscending 2
763 KErrNone, //asscending 3
764 KErrNone, //asscending 4
765 KErrNone, //asscending 5
766 KErrNone, //asscending 6
767 KErrNone, //asscending 7
768 KErrNone, //asscending 8
769 KErrNone //asscending 9
772 static const TInt ModuleResultsC[KTestCases] =
774 KErrNone, //all equal 0
775 KErrNone, //all equal 1
776 KErrNone, //asscending 2
777 KErrNone, //asscending 3
778 KErrNone, //asscending 4
779 KErrNone, //asscending 5
780 KErrNone, //asscending 6
781 KErrNone, //asscending 7
782 KErrNone, //asscending 8
783 KErrNone //asscending 9
786 static const TUint32* const ModuleCaps[KNumModules] =