1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef __NETWORKING_TEST_IBY__ |
|
18 #define __NETWORKING_TEST_IBY__ |
|
19 |
|
20 // ***************************************************************************** |
|
21 // From 9.5 onwards ROM space is becoming a little tight |
|
22 // Rom builds from 9.5 onwards should specify the subset of tests to be |
|
23 // included with the -D flag. E.g. -DNW_TEST_ROM1 |
|
24 // |
|
25 // If a subset of tests is not specified all will be included - maintaining |
|
26 // compatibility for unaware rom builds |
|
27 // ***************************************************************************** |
|
28 |
|
29 #if !(defined(NW_TEST_ROM_1) || defined(NW_TEST_ROM_2) || defined(NW_TEST_ROM_3) \ |
|
30 || defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2) || defined(CI_TEST_ROM_3) || defined(CI_TEST_ROM_4) \ |
|
31 || defined(WAPSTACK_TEST_ROM) \ |
|
32 || defined(SERCOMMS_TEST_ROM) \ |
|
33 || defined(__NETWORKING_TEST_OBY__) \ |
|
34 ) |
|
35 |
|
36 // Rom build hasn't explicitly defined a subset of tests to include so to avoid |
|
37 // disappointment we'll include the whole shebang |
|
38 #define NW_TEST_ROM_1 |
|
39 #define NW_TEST_ROM_2 |
|
40 #define NW_TEST_ROM_3 |
|
41 |
|
42 #define CI_TEST_ROM_1 |
|
43 #define CI_TEST_ROM_2 |
|
44 #define CI_TEST_ROM_3 |
|
45 #define CI_TEST_ROM_4 |
|
46 |
|
47 #define WAPSTACK_TEST_ROM |
|
48 #define SERCOMMS_TEST_ROM |
|
49 //#define NETWORKING_UPS_TESTS |
|
50 //#define SYMBIAN_FLEXMM_ZERO_COPY_NETWORKING |
|
51 #define __NETWORKING_TEST_OBY__ |
|
52 |
|
53 #endif |
|
54 |
|
55 #ifdef NW_TEST_ROM_1 |
|
56 REM "NW_TEST_ROM_1": Generated ROM will include test components for running nw1 test group |
|
57 #endif |
|
58 #ifdef NW_TEST_ROM_2 |
|
59 REM "NW_TEST_ROM_2": Generated ROM will include test components for running nw2 test group |
|
60 #endif |
|
61 #ifdef NW_TEST_ROM_3 |
|
62 REM "NW_TEST_ROM_3": Generated ROM will include test components for running nw3 test group |
|
63 #endif |
|
64 |
|
65 #ifdef CI_TEST_ROM_1 |
|
66 REM "CI_TEST_ROM_1": Generated ROM will include test components for running ci1 test group |
|
67 #endif |
|
68 #ifdef CI_TEST_ROM_2 |
|
69 REM "CI_TEST_ROM_2": Generated ROM will include test components for running ci2 test group |
|
70 #endif |
|
71 #ifdef CI_TEST_ROM_3 |
|
72 REM "CI_TEST_ROM_3": Generated ROM will include test components for running ci3 test group |
|
73 #endif |
|
74 #ifdef CI_TEST_ROM_4 |
|
75 REM "CI_TEST_ROM_4": Generated ROM will include test components for running ci4 test group |
|
76 #endif |
|
77 |
|
78 #ifdef WAPSTACK_TEST_ROM |
|
79 REM "WAPSTACK_TEST_ROM": Generated ROM will include test components for running ws1 test group |
|
80 #endif |
|
81 |
|
82 #ifdef SERCOMMS_TEST_ROM |
|
83 REM "SERCOMMS_TEST_ROM": Generated ROM will include test components for running sc1 test group |
|
84 #endif |
|
85 |
|
86 |
|
87 |
|
88 // This iby file contains all Networking Test Harnesses. |
|
89 |
|
90 REM ---------- General --------------- |
|
91 |
|
92 // Scheduletest Test |
|
93 file=ABI_DIR\DEBUG_DIR\ts_selftest.dll System\Libs\ts_selftest.dll |
|
94 |
|
95 // Initialisation before any tests are run |
|
96 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard.script TestData\scripts\te_initialiseboard.script |
|
97 |
|
98 #ifdef CI_TEST_ROM_1 |
|
99 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard1.script TestData\scripts\te_initialiseboard1.script |
|
100 #endif |
|
101 #ifdef CI_TEST_ROM_2 |
|
102 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard2.script TestData\scripts\te_initialiseboard2.script |
|
103 #endif |
|
104 #ifdef CI_TEST_ROM_3 |
|
105 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard3.script TestData\scripts\te_initialiseboard3.script |
|
106 #endif |
|
107 #ifdef CI_TEST_ROM_4 |
|
108 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard4.script TestData\scripts\te_initialiseboard4.script |
|
109 #endif |
|
110 #ifdef NW_TEST_ROM_1 |
|
111 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard5.script TestData\scripts\te_initialiseboard5.script |
|
112 #endif |
|
113 #ifdef NW_TEST_ROM_3 |
|
114 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard6.script TestData\scripts\te_initialiseboard6.script |
|
115 #endif |
|
116 #ifdef SERCOMMS_TEST_ROM |
|
117 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard7.script TestData\scripts\te_initialiseboard7.script |
|
118 #endif |
|
119 #ifdef WAPSTACK_TEST_ROM |
|
120 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard8.script TestData\scripts\te_initialiseboard8.script |
|
121 #endif |
|
122 |
|
123 |
|
124 REM ---------- Comms-Infras ---------- |
|
125 |
|
126 // ced is not included in release builds by default (in commdb.iby) |
|
127 // so we include it explicitly here if _DEBUG is NOT defined |
|
128 #ifndef _DEBUG |
|
129 #include <XmlFramework.iby> |
|
130 #include <ced.iby> |
|
131 #include <ceddump.iby> |
|
132 #endif |
|
133 |
|
134 // CommDB Tests |
|
135 #if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_4) |
|
136 #include <tcommdb.iby> |
|
137 #endif |
|
138 |
|
139 #ifdef CI_TEST_ROM_1 |
|
140 #include <te_commsdat.iby> |
|
141 #endif |
|
142 |
|
143 #ifdef CI_TEST_ROM_1 |
|
144 // CommsFramework Tests |
|
145 #include <tcommsfw.iby> |
|
146 #include <te_commsfw_transport.iby> |
|
147 #endif |
|
148 |
|
149 // ESOCK Tests - All test roms |
|
150 // (CI_TEST_ROM_1-te_ini,te_ipc,te_socket,etc) |
|
151 // (CI_TEST_ROM_2-te_eintsock,te_esock) |
|
152 // (NW_TEST_ROM_3-te_rconnectionsuite,te_rsubconnectionsuite) |
|
153 // (Anything using esock test steps) |
|
154 #include <esock_test.iby> |
|
155 |
|
156 // Flogger Tests |
|
157 // No Exports |
|
158 |
|
159 |
|
160 // MBufMgr Tests |
|
161 #if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2) || defined(CI_TEST_ROM_4) |
|
162 #include <testmbuf.iby> |
|
163 #endif |
|
164 |
|
165 #ifdef CI_TEST_ROM_2 |
|
166 #include <te_netmetaunittest.iby> |
|
167 #endif |
|
168 |
|
169 // zerocopy tests |
|
170 #ifdef SYMBIAN_FLEXMM_ZERO_COPY_NETWORKING |
|
171 #include <zerocopy_loopback_driver.iby> |
|
172 #include <legacy_loopback_driver.iby> |
|
173 #include <commsbufskern.iby> |
|
174 #include <zerocopy_loopback_driver_test.iby> |
|
175 #include <legacy_loopback_driver_test.iby> |
|
176 #include <zerocopy_loopback_link_protocol.iby> |
|
177 #include <legacy_loopback_link_protocol.iby> |
|
178 #endif |
|
179 |
|
180 #include <te_loopback.iby> |
|
181 #include <Te_Cap_RConnDHCP.IBY> |
|
182 #include <Te_Cap_RES.IBY> |
|
183 #include <Te_Cap_Esock.IBY> |
|
184 #include <Te_Cap_RConnServ.IBY> |
|
185 #include <te_cap_esock_transfer.iby> |
|
186 #include <te_cap_rootserver.iby> |
|
187 #include <Te_Cap_Configurator.IBY> |
|
188 #include <te_esockteststepssuite.iby> |
|
189 #include <te_UmtsGprsScpr.iby> |
|
190 #include <SerComms.IBY> |
|
191 |
|
192 // RootServer Tests |
|
193 #ifdef CI_TEST_ROM_3 |
|
194 #include <ts_rootserver.iby> |
|
195 #endif |
|
196 |
|
197 //COMMSELEMENTSTESTS |
|
198 #ifdef CI_TEST_ROM_2 |
|
199 #include <te_elementserver.iby> |
|
200 #endif |
|
201 |
|
202 REM ---------- Networking ---------- |
|
203 |
|
204 //Ethernet nif - Any roms with ethernet tests (this is ensuring ethernet support, these aren't tests) |
|
205 #include <ether802.iby> |
|
206 |
|
207 |
|
208 // TE_DIALOG Tests |
|
209 #if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) |
|
210 #include <te_dialogserver.iby> |
|
211 #endif |
|
212 |
|
213 // TE_DHCP Tests |
|
214 #if defined(NW_TEST_ROM_1) || defined(WAPSTACK_TEST_ROM) |
|
215 #include <te_dhcpTestServer.iby> |
|
216 #endif |
|
217 |
|
218 #if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) |
|
219 //Unit test code to launch DHCP server |
|
220 #include <te_dhcpservtest.iby> |
|
221 #endif |
|
222 |
|
223 // IP Event Notifier Tests |
|
224 // Can't see this running in 9.5netmnt, not sure what rom its suppossed to be in so put it in all to be safe |
|
225 #include <te_ipeventnotifiersuite.iby> |
|
226 |
|
227 //Napt tests |
|
228 // Can't see this running in 9.5netmnt, not sure what rom its suppossed to be in so put it in all to be safe |
|
229 // #include <te_napt.iby> |
|
230 |
|
231 //Unit test code |
|
232 // #include <te_napttest.iby> |
|
233 |
|
234 // FTP Tests |
|
235 REM #include <tftp_e.iby> |
|
236 |
|
237 // IntegrationTest framework |
|
238 #ifdef NW_TEST_ROM_1 |
|
239 #include <integrationtest.iby> |
|
240 #endif |
|
241 |
|
242 |
|
243 // NULL AGT Tests |
|
244 #ifdef NW_TEST_ROM_1 |
|
245 #include <nullagttests.iby> |
|
246 #endif |
|
247 |
|
248 // Useful Internet Utilities for all test roms |
|
249 #include <ipconfig.iby> |
|
250 #include <route.iby> |
|
251 #include <Tftp.iby> |
|
252 #include <Tracert.iby> |
|
253 #include <ping.iby> |
|
254 #if !defined(TEXT_ONLY_ROM) |
|
255 #include <pingapp.iby> |
|
256 #endif // TEXT_ONLY_ROM |
|
257 |
|
258 //Some handy tools for all test roms |
|
259 #include <ftp_e.iby> |
|
260 #include <telnet_e.iby> |
|
261 |
|
262 |
|
263 // PPP Tests |
|
264 #if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) |
|
265 #include <te_pppsize.iby> |
|
266 #include <ts_dummyppp.iby> |
|
267 #include <zerocopy_loopback_driver.iby> |
|
268 #include <te_loopback.iby> |
|
269 #include <te_pppcomp.iby> |
|
270 #include <te_configutil.iby> |
|
271 #include <te_Configuratorsuite.iby> |
|
272 #include <te_http.iby> |
|
273 #include <integrationtest.iby> |
|
274 #include <te_sblpsuite.iby> |
|
275 #include <te_DedicatedSignalling1ryCtx.iby> |
|
276 #include <TE_SpudUnit.iby> |
|
277 #include <integrationtest.iby> |
|
278 #include <te_cedsuite.iby> |
|
279 #include <wapmessage.iby> |
|
280 #include <te_vjcomp.iby> |
|
281 #include <te_incoming_ppp.iby> |
|
282 #endif |
|
283 |
|
284 |
|
285 // SPUD Tests |
|
286 #if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) |
|
287 #include <TE_spudNetworkSide.iby> |
|
288 #include <TE_spudrsubconn.iby> |
|
289 #endif |
|
290 |
|
291 |
|
292 // UmtsGprsSCPR Tests |
|
293 #ifdef NW_TEST_ROM_3 |
|
294 #include <te_UmtsGprsScpr.iby> |
|
295 #endif |
|
296 |
|
297 |
|
298 // QoS Tests |
|
299 //////#include <qostesting.iby> |
|
300 |
|
301 // Sockbench Tests |
|
302 //#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_2) |
|
303 //#include <sockbench.iby> |
|
304 //#endif |
|
305 |
|
306 // TLS (SSL) Tests |
|
307 #ifdef NW_TEST_ROM_1 |
|
308 #include <ts_tls.iby> |
|
309 #endif |
|
310 |
|
311 //-- DND LLMNR test |
|
312 #include <TE_LlmnrServer.iby> |
|
313 |
|
314 |
|
315 |
|
316 // agent dummy notifier |
|
317 #include <agentdummynotifier.iby> |
|
318 |
|
319 //Ipsec tests |
|
320 #if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) |
|
321 #include <ts_ipsec.iby> |
|
322 #endif |
|
323 |
|
324 //-- additional optional protocols |
|
325 #include <probe.iby> |
|
326 #include <6to4.iby> |
|
327 |
|
328 |
|
329 // Not test components - maybe shouldn't be in here?? On all roms |
|
330 #include <netStSrv.iby> |
|
331 #include <DHCPServ.iby> |
|
332 #include <elements.iby> |
|
333 #include <ipeventnotifier.iby> |
|
334 |
|
335 |
|
336 #if defined(NW_TEST_ROM_1) || defined(NW_TEST_ROM_3) || defined(CI_TEST_ROM_3) || defined(CI_TEST_ROM_1) |
|
337 #include <te_qossuite.iby> |
|
338 #endif |
|
339 |
|
340 #if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) |
|
341 #include <TE_C32Bca.iby> |
|
342 #endif |
|
343 |
|
344 #include <TE_PacketLoopback.iby> |
|
345 #include <packetloopback.iby> |
|
346 |
|
347 // Needed by several tests |
|
348 #include <simtsy.iby> |
|
349 |
|
350 #include <te_AnvlClient.iby> |
|
351 |
|
352 REM ---------- WAP-Stack ---------- |
|
353 |
|
354 // SWS test |
|
355 #if defined(CI_TEST_ROM_1) || defined(WAPSTACK_TEST_ROM) |
|
356 // this iby file is removed from the tb92sf code |
|
357 // #include <wapstacksuite.iby> |
|
358 #endif |
|
359 |
|
360 REM ---------- SER-COMMS ---------- |
|
361 #if defined(CI_TEST_ROM_1) || defined(SERCOMMS_TEST_ROM) |
|
362 #include <te_c32.iby> |
|
363 #endif |
|
364 |
|
365 #if defined(SERCOMMS_TEST_ROM) |
|
366 #include <loopback.iby> |
|
367 #endif |
|
368 |
|
369 REM --- NEEDED FOR THE SECURITY TESTS --- |
|
370 #include <swi.iby> |
|
371 |
|
372 REM --- NETSTEB PERFORMANCE TEST FRAMEWORK --- |
|
373 REM #include <te_STEBTestSuite.iby> |
|
374 |
|
375 REM --- EAP Tests --- |
|
376 REM #include <te_eap.iby> |
|
377 |
|
378 REM --- MBMS Broadcast Tests --- |
|
379 #include <TE_MbmsUnit.iby> |
|
380 |
|
381 REM --- UPS --- |
|
382 #include <upstestnotifier.iby> |
|
383 #include <netups_test.iby> |
|
384 |
|
385 #if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2) |
|
386 #include <netups.iby> |
|
387 REM #include <te_ipups.iby> |
|
388 #endif |
|
389 |
|
390 #ifdef NW_TEST_ROM_2 |
|
391 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
392 #include <te_tcpip6suite.iby> |
|
393 #endif |
|
394 #endif |
|
395 |
|
396 #ifdef NW_TEST_ROM_1 |
|
397 #ifdef SYMBIAN_INCLUDE_PUNYCODE |
|
398 #include <te_punycodeconverter.iby> |
|
399 #include <te_unittestidna.iby> |
|
400 #endif //SYMBIAN_INCLUDE_PUNYCODE |
|
401 #endif //NW_TEST_ROM_1 |
|
402 |
|
403 REM --- DNS Proxy test |
|
404 #ifndef SYMBIAN_EXCLUDE_DNS_Proxy |
|
405 #include <t_dnsproxy.iby> |
|
406 #endif |
|
407 |
|
408 #endif |
|