Update contrib.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __ECOMTEST_IBY__
17 #define __ECOMTEST_IBY__
20 #include <TestBed.iby>
21 #include <ecomtestcommon.iby>
22 #include <syslibs_locale.iby>
24 // batch file that runs all automatic ECOM tests
25 // Note run these after the test harness tests, as they do not shut down the EComServer.
26 data=ZSYSTEM\test\EComTests.bat TEST\EComTests.bat
30 // Example plug-in that must be in ROM
32 ECOM_PLUGIN(EComExample.dll,10009db1.rsc)
34 ECOM_PLUGIN(EComExample2.dll,10009db3.rsc)
36 ECOM_PLUGIN(EComExample3.dll,101F8477.rsc)
38 ECOM_PLUGIN(EComExample6.dll,101F847D.rsc)
40 ECOM_PLUGIN(EComRomOnlyExampleOnZ.dll,10009db5.rsc)
42 ECOM_PLUGIN(EComRomRslvrExampleOnZ.dll,10009DB7.rsc)
44 ECOM_PLUGIN(T_PlatSecECom1.dll,102026AB.rsc)
46 ECOM_PLUGIN(T_PlatSecECom2.dll,102026AD.rsc)
48 ECOM_PLUGIN(T_PlatSecResolverZ.dll,10777777.rsc)
50 ECOM_PLUGIN(T_PlatSecECom3.dll,102026AF.rsc)
51 ECOM_PLUGIN(T_PlatSecResolver.dll,10202777.rsc)
53 ECOM_PLUGIN(EcomNullExample.dll,011f500e.rsc)
55 ECOM_PLUGIN(EComUpgradeExample2.dll,10009DB9.rsc)
56 ECOM_PLUGIN(EComUpgradeROExample2.dll,10009DBC.rsc)
58 ECOM_PLUGIN(EComLoadMgrExample1.dll,EComLoadMgrExample1.rsc)
59 ECOM_PLUGIN(EComLoadMgrExample2.dll,EComLoadMgrExample2.rsc)
61 ECOM_PLUGIN(EComExample10.dll,EComExample10.rsc)
62 ECOM_PLUGIN(EComExample12Invalid.dll,EComExample12Invalid.rsc)
63 ECOM_PLUGIN(EComExample14Invalid.dll,EComExample14Invalid.rsc)
65 ECOM_PLUGIN(LanguagePlugin2.dll,10009de0.RSC)
67 ECOM_PLUGIN(dummycustomresolver2.dll, dummycustomresolver2.rsc)
69 ECOM_PLUGIN(dummycustomresolver3.dll, dummycustomresolver3.rsc)
71 ECOM_PLUGIN(badproxytable.dll, badproxytable.rsc)
74 // THE following plugin dll and resouce entry is for SPI disable manual test in t_language.
75 // Users should uncomment these following five lines and comment out one line above in order to test t_language SPI disable.
76 //file=ABI_DIR\BUILD_DIR\LanguagePlugin2.dll Test\LanguagePlugin2.dll
77 //data=EPOCROOT##epoc32\data\z\resource\plugins\LanguagePlugin2.rsc resource\plugins\LanguagePlugin2.rsc
78 //data=EPOCROOT##epoc32\data\z\resource\plugins\LanguagePlugin2.r01 resource\plugins\LanguagePlugin2.r01
79 //data=EPOCROOT##epoc32\data\z\resource\plugins\LanguagePlugin2.r02 resource\plugins\LanguagePlugin2.r02
80 //data=EPOCROOT##epoc32\data\z\resource\plugins\LanguagePlugin2.r03 resource\plugins\LanguagePlugin2.r03
82 // THE FOLLOWING LOCALE ENTRY IS NOW MOVED TO SYSUTILS.IBY AS THERE IS SIMILAR ENTRY
83 // IN BAFLTESTIBY WHICH INCLUDE INITIALISELOCALETESTIBY
84 // ELOCL.01 already exported
85 // file=ABI_DIR\BUILD_DIR\ELOCL.02 System\Libs\ELOCL.02
86 // file=ABI_DIR\BUILD_DIR\ELOCL.03 System\Libs\ELOCL.03
87 // file=ABI_DIR\BUILD_DIR\ELOCL.04 System\Libs\ELOCL.04
88 // file=ABI_DIR\BUILD_DIR\ELOCL.05 System\Libs\ELOCL.05
90 // Example plug-in that must be copied from ROM to RAM
92 ECOM_PLUGIN(Suicidal.dll,10009DB2.rsc)
94 ECOM_PLUGIN(EComExample4.dll,101F8479.rsc)
96 // Helper processes to move files around when data caging enforced.
97 file=ABI_DIR\BUILD_DIR\EcomTestUtils.dll System\Libs\EcomTestUtils.dll
98 file=ABI_DIR\BUILD_DIR\t_processfilemancopyfile.exe System\Programs\t_processfilemancopyfile.exe
99 file=ABI_DIR\BUILD_DIR\t_processfilemanrename.exe System\Programs\t_processfilemanrename.exe
100 file=ABI_DIR\BUILD_DIR\t_processfilemandeletefile.exe System\Programs\t_processfilemandeletefile.exe
101 file=ABI_DIR\BUILD_DIR\t_processrloaderdeletefile.exe System\Programs\t_processrloaderdeletefile.exe
102 file=ABI_DIR\BUILD_DIR\t_processfilemandeletedir.exe System\Programs\t_processfilemandeletedir.exe
103 file=ABI_DIR\BUILD_DIR\t_processrfsreplacefile.exe System\Programs\t_processrfsreplacefile.exe
104 file=ABI_DIR\BUILD_DIR\t_processrfsdeletefile.exe System\Programs\t_processrfsdeletefile.exe
105 file=ABI_DIR\BUILD_DIR\t_makefilewriteable.exe System\Programs\t_makefilewriteable.exe
106 file=ABI_DIR\BUILD_DIR\t_makefilereadonly.exe System\Programs\t_makefilereadonly.exe
107 file=ABI_DIR\BUILD_DIR\t_processkillprocess.exe System\Programs\t_processkillprocess.exe
109 //Helper process and DLL to enable modification of P&S variables
110 file=ABI_DIR\BUILD_DIR\tpropertymanager.dll System\Libs\tpropertymanager.dll
111 file=ABI_DIR\BUILD_DIR\tpropertymanagersrv.exe System\Programs\tpropertymanagersrv.exe
113 //data=EPOCROOT##epoc32\data\z\EComExample6.RSC EComExample6.RSC
114 data=EPOCROOT##epoc32\data\z\RAMOnly\InvalidSIDPlugin.dll RAMOnly\InvalidSIDPlugin.dll
115 data=EPOCROOT##epoc32\data\z\RAMOnly\InvalidSIDPlugin.rsc RAMOnly\InvalidSIDPlugin.rsc
116 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample5.RSC RAMOnly\EComExample5.RSC
117 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample12.RSC RAMOnly\EComExample12.RSC
118 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample12Upgraded.RSC RAMOnly\EComExample12Upgraded.RSC
119 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample12Downgraded.RSC RAMOnly\EComExample12Downgraded.RSC
120 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample14.RSC RAMOnly\EComExample14.RSC
121 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample14Upgraded.RSC RAMOnly\EComExample14Upgraded.RSC
122 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample15.RSC RAMOnly\EComExample15.RSC
123 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExampleBadData.RSC RAMOnly\EComExampleBadData.RSC
124 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExampleBadData1.RSC RAMOnly\EComExampleBadData1.RSC
125 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExampleBadData2.RSC RAMOnly\EComExampleBadData2.RSC
126 data=EPOCROOT##epoc32\data\z\RAMOnly\EComRomRslvrExampleOnC.RSC RAMOnly\EComRomRslvrExampleOnC.RSC
127 data=EPOCROOT##epoc32\data\z\RAMOnly\EComRomOnlyExampleOnC.rsc RAMOnly\EComRomOnlyExampleOnC.rsc
128 data=EPOCROOT##epoc32\data\z\HeapTestImpl.rsc HeapTestImpl.rsc
129 data=EPOCROOT##epoc32\data\z\RAMOnly\EComRomOnlyExampleOnC.dll RAMOnly\EComRomOnlyExampleOnC.dll
130 data=EPOCROOT##epoc32\data\z\RAMOnly\EComRomRslvrExampleOnC.dll RAMOnly\EComRomRslvrExampleOnC.dll
131 data=EPOCROOT##epoc32\data\z\RAMOnly\T_PlatSecResolverC.rsc RAMOnly\T_PlatSecResolverC.rsc
132 data=EPOCROOT##epoc32\data\z\RAMOnly\T_PlatSecECom4.RSC RAMOnly\T_PlatSecECom4.RSC
133 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample3.rsc RAMOnly\EComExample3.rsc
134 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample2.rsc RAMOnly\EComExample2.rsc
135 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample.rsc RAMOnly\EComExample.rsc
136 data=EPOCROOT##epoc32\data\z\RAMOnly\EComNullExample.rsc RAMOnly\EComNullExample.rsc
137 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeExample1.rsc RAMOnly\EComUpgradeExample1.rsc
138 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeExample1.dll RAMOnly\EComUpgradeExample1.dll
139 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeExample2.rsc RAMOnly\EComUpgradeExample2.rsc
140 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeExample2.dll RAMOnly\EComUpgradeExample2.dll
141 data=EPOCROOT##epoc32\data\z\RAMOnly\EComRomRslvrExampleOnZ.rsc RAMOnly\EComRomRslvrExampleOnZ.rsc
142 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeExample3.rsc RAMOnly\EComUpgradeExample3.rsc
143 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeExample3.dll RAMOnly\EComUpgradeExample3.dll
144 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeROExample1.rsc RAMOnly\EComUpgradeROExample1.rsc
145 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeROExample1.dll RAMOnly\EComUpgradeROExample1.dll
146 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeROExample2.rsc RAMOnly\EComUpgradeROExample2.rsc
147 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeROExample2.dll RAMOnly\EComUpgradeROExample2.dll
148 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeROExample3.rsc RAMOnly\EComUpgradeROExample3.rsc
149 data=EPOCROOT##epoc32\data\z\RAMOnly\EComUpgradeROExample3.dll RAMOnly\EComUpgradeROExample3.dll
150 data=EPOCROOT##epoc32\data\z\RAMOnly\DefectPlugin.rsc RAMOnly\DefectPlugin.rsc
151 data=EPOCROOT##epoc32\data\z\RAMOnly\DefectPlugin.dll RAMOnly\DefectPlugin.dll
152 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample7.rsc RAMOnly\EComExample7.rsc
153 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample7.dll RAMOnly\EComExample7.dll
154 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample8.rsc RAMOnly\EComExample8.rsc
155 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample8.dll RAMOnly\EComExample8.dll
156 data=EPOCROOT##epoc32\data\z\RAMOnly\exampleNine.rsc RAMOnly\exampleNine.rsc
157 data=EPOCROOT##epoc32\data\z\RAMOnly\exampleNine.dll RAMOnly\exampleNine.dll
158 data=EPOCROOT##epoc32\data\z\RAMOnly\EComCR629Example1.rsc RAMOnly\EComCR629Example1.rsc
159 data=EPOCROOT##epoc32\data\z\RAMOnly\EComCR629Example1.dll RAMOnly\EComCR629Example1.dll
160 data=EPOCROOT##epoc32\data\z\RAMOnly\EComCR629Example2.rsc RAMOnly\EComCR629Example2.rsc
161 data=EPOCROOT##epoc32\data\z\RAMOnly\EComCR629Example2.dll RAMOnly\EComCR629Example2.dll
162 data=EPOCROOT##epoc32\data\z\RAMOnly\LanguagePlugin.dll RAMOnly\LanguagePlugin.dll
163 data=EPOCROOT##epoc32\data\z\RAMOnly\LanguagePlugin.rsc RAMOnly\LanguagePlugin.rsc
164 data=EPOCROOT##epoc32\data\z\RAMOnly\LanguagePlugin.r01 RAMOnly\LanguagePlugin.r01
165 data=EPOCROOT##epoc32\data\z\RAMOnly\LanguagePlugin.r02 RAMOnly\LanguagePlugin.r02
166 data=EPOCROOT##epoc32\data\z\RAMOnly\LanguagePlugin.r03 RAMOnly\LanguagePlugin.r03
167 data=EPOCROOT##epoc32\data\z\RAMOnly\EComHashExample.dll RAMOnly\EComHashExample.dll
168 data=EPOCROOT##epoc32\data\z\RAMOnly\EComHashExample.rsc RAMOnly\EComHashExample.rsc
169 data=EPOCROOT##epoc32\data\z\RAMOnly\EComSwiExample.dll RAMOnly\EComSwiExample.dll
170 data=EPOCROOT##epoc32\data\z\RAMOnly\EComSwiExample.rsc RAMOnly\EComSwiExample.rsc
171 data=EPOCROOT##epoc32\data\z\RAMOnly\dummycustomresolver1.rsc RAMOnly\dummycustomresolver1.rsc
172 data=EPOCROOT##epoc32\data\z\RAMOnly\cachedcustomresolver2.rsc RAMOnly\cachedcustomresolver2.rsc
174 //Note here that the data= is used instead of file= because in T_Loadmanager this plugins needs to be copied from ROM to C
175 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample5.dll RAMOnly\EComExample5.dll
176 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample12.dll RAMOnly\EComExample12.dll
177 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample12Upgraded.dll RAMOnly\EComExample12Upgraded.dll
178 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample12Downgraded.dll RAMOnly\EComExample12Downgraded.dll
179 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample14.dll RAMOnly\EComExample14.dll
180 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample14Upgraded.dll RAMOnly\EComExample14Upgraded.dll
181 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample15.dll RAMOnly\EComExample15.dll
182 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExampleBadData.dll RAMOnly\EComExampleBadData.dll
183 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExampleBadData1.dll RAMOnly\EComExampleBadData1.dll
184 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExampleBadData2.dll RAMOnly\EComExampleBadData2.dll
185 data=EPOCROOT##epoc32\data\z\HeapTestImpl.dll HeapTestImpl.dll
186 data=EPOCROOT##epoc32\data\z\RAMOnly\T_PlatSecResolverC.dll RAMOnly\T_PlatSecResolverC.dll
187 data=EPOCROOT##epoc32\data\z\RAMOnly\T_PlatSecECom4.dll RAMOnly\T_PlatSecECom4.dll
189 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample3.dll RAMOnly\EComExample3.dll
190 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample2.dll RAMOnly\EComExample2.dll
191 data=EPOCROOT##epoc32\data\z\RAMOnly\EComExample.dll RAMOnly\EComExample.dll
192 data=EPOCROOT##epoc32\data\z\RAMOnly\EComNullExample.dll RAMOnly\EComNullExample.dll
193 data=EPOCROOT##epoc32\data\z\RAMOnly\EComRomRslvrExampleOnZ.dll RAMOnly\EComRomRslvrExampleOnZ.dll
194 data=EPOCROOT##epoc32\data\z\RAMOnly\dummycustomresolver1.dll RAMOnly\dummycustomresolver1.dll
198 // One that is not in \epoc32\data\z\ramonly.
199 data=ABI_DIR\BUILD_DIR\z\ramonly\cachedcustomresolver2.dll RAMONLY\cachedcustomresolver2.dll
202 data=EPOCROOT##epoc32\data\z\Test\Data\EcomTest.spi Test\Data\EcomTest.spi
203 data=EPOCROOT##epoc32\data\z\Test\Data\EcomTestType3.spi Test\Data\EcomTestType3.spi
205 //multiple SPI test files
206 data=EPOCROOT##epoc32\data\z\Test\Data\ecom-0-2.s02 private\10009D8F\ecom-0-2.s02
207 data=EPOCROOT##epoc32\data\z\Test\Data\ecom-0-3.s03 private\10009D8F\ecom-0-3.s03
209 //epocsrvr.ini test files
210 data=EPOCROOT##epoc32\data\z\Test\Data\EComSrvr.ini Test\Data\EComSrvr.ini
211 data=EPOCROOT##epoc32\data\z\Test\Data\EComTestBehaviour.ini Test\Data\EComTestBehaviour.ini
212 //T_EcomEntry test file .
213 data=EPOCROOT##epoc32\data\z\Test\Data\ECOMTEST.aif Test\Data\ECOMTEST.aif
215 //corrupt file to replace language and drive index files for robustness tests
216 data=EPOCROOT##epoc32\data\z\Test\Data\corruptfile.txt Test\Data\corruptfile.txt
221 // The following include and macro mimic the way that ECOM production code
222 // handles patchable constants. The patchdata commands are copied from
223 // ECom.iby (except ecomserver.exe is changed to t_disabledrives.exe).
224 // To test your new constants, copy the constant and its associated
225 // macro from ECom.iby to disabledrivestest.hby and add a test in t_disabledrives.cpp.
226 #include <disabledrivestest.hby>
228 #ifdef ECOM_PATCHDATA_KTESTDISCOVERYDISABLEDDRIVELIST
229 patchdata t_disabledrives.exe@KDiscoveryDisabledDriveList ECOM_PATCHDATA_KTESTDISCOVERYDISABLEDDRIVELIST
232 #ifdef ECOM_PATCHDATA_KCUSTOMRESOLVERCACHESIZE
233 patchdata t_disabledrives.exe@KCustomResolverCacheSize ECOM_PATCHDATA_KCUSTOMRESOLVERCACHESIZE
236 #ifdef ECOM_PATCHDATA_KCUSTOMRESOLVERCACHETIMEOUT
237 patchdata t_disabledrives.exe@KCustomResolverCacheTimeout ECOM_PATCHDATA_KCUSTOMRESOLVERCACHETIMEOUT
240 #endif //__ECOMTEST_IBY__