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