50
|
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) \
|
63
|
33 |
|| defined(__NETWORKING_TEST_OBY__) \
|
50
|
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
|
63
|
49 |
//#define NETWORKING_UPS_TESTS
|
|
50 |
//#define SYMBIAN_FLEXMM_ZERO_COPY_NETWORKING
|
|
51 |
#define __NETWORKING_TEST_OBY__
|
50
|
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)
|
72
|
136 |
#include <te_tcommdb.iby>
|
50
|
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)
|
72
|
162 |
REM #include <testmbuf.iby>
|
|
163 |
#include <te_testmbuf.iby>
|
50
|
164 |
#endif
|
|
165 |
|
|
166 |
#ifdef CI_TEST_ROM_2
|
|
167 |
#include <te_netmetaunittest.iby>
|
|
168 |
#endif
|
|
169 |
|
|
170 |
// zerocopy tests
|
|
171 |
#ifdef SYMBIAN_FLEXMM_ZERO_COPY_NETWORKING
|
|
172 |
#include <zerocopy_loopback_driver.iby>
|
|
173 |
#include <legacy_loopback_driver.iby>
|
63
|
174 |
#include <commsbufskern.iby>
|
50
|
175 |
#include <zerocopy_loopback_driver_test.iby>
|
|
176 |
#include <legacy_loopback_driver_test.iby>
|
|
177 |
#include <zerocopy_loopback_link_protocol.iby>
|
|
178 |
#include <legacy_loopback_link_protocol.iby>
|
63
|
179 |
#endif
|
|
180 |
|
50
|
181 |
#include <te_loopback.iby>
|
63
|
182 |
#include <Te_Cap_RConnDHCP.IBY>
|
|
183 |
#include <Te_Cap_RES.IBY>
|
|
184 |
#include <Te_Cap_Esock.IBY>
|
|
185 |
#include <Te_Cap_RConnServ.IBY>
|
|
186 |
#include <te_cap_esock_transfer.iby>
|
|
187 |
#include <te_cap_rootserver.iby>
|
|
188 |
#include <Te_Cap_Configurator.IBY>
|
|
189 |
#include <te_esockteststepssuite.iby>
|
|
190 |
#include <te_UmtsGprsScpr.iby>
|
|
191 |
#include <SerComms.IBY>
|
50
|
192 |
|
|
193 |
// RootServer Tests
|
|
194 |
#ifdef CI_TEST_ROM_3
|
72
|
195 |
//#include <ts_rootserver.iby>
|
|
196 |
#include <te_rootserver.iby>
|
50
|
197 |
#endif
|
|
198 |
|
|
199 |
//COMMSELEMENTSTESTS
|
|
200 |
#ifdef CI_TEST_ROM_2
|
|
201 |
#include <te_elementserver.iby>
|
|
202 |
#endif
|
|
203 |
|
|
204 |
REM ---------- Networking ----------
|
|
205 |
|
|
206 |
//Ethernet nif - Any roms with ethernet tests (this is ensuring ethernet support, these aren't tests)
|
|
207 |
#include <ether802.iby>
|
|
208 |
|
|
209 |
|
|
210 |
// TE_DIALOG Tests
|
|
211 |
#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1)
|
|
212 |
#include <te_dialogserver.iby>
|
|
213 |
#endif
|
|
214 |
|
|
215 |
// TE_DHCP Tests
|
|
216 |
#if defined(NW_TEST_ROM_1) || defined(WAPSTACK_TEST_ROM)
|
|
217 |
#include <te_dhcpTestServer.iby>
|
|
218 |
#endif
|
|
219 |
|
|
220 |
#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1)
|
|
221 |
//Unit test code to launch DHCP server
|
|
222 |
#include <te_dhcpservtest.iby>
|
|
223 |
#endif
|
|
224 |
|
|
225 |
// IP Event Notifier Tests
|
|
226 |
// 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
|
|
227 |
#include <te_ipeventnotifiersuite.iby>
|
|
228 |
|
|
229 |
//Napt tests
|
|
230 |
// 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
|
|
231 |
// #include <te_napt.iby>
|
|
232 |
|
|
233 |
//Unit test code
|
|
234 |
// #include <te_napttest.iby>
|
|
235 |
|
|
236 |
// FTP Tests
|
|
237 |
REM #include <tftp_e.iby>
|
|
238 |
|
|
239 |
// IntegrationTest framework
|
|
240 |
#ifdef NW_TEST_ROM_1
|
|
241 |
#include <integrationtest.iby>
|
|
242 |
#endif
|
|
243 |
|
|
244 |
|
|
245 |
// NULL AGT Tests
|
|
246 |
#ifdef NW_TEST_ROM_1
|
|
247 |
#include <nullagttests.iby>
|
|
248 |
#endif
|
|
249 |
|
|
250 |
// Useful Internet Utilities for all test roms
|
|
251 |
#include <ipconfig.iby>
|
|
252 |
#include <route.iby>
|
|
253 |
#include <Tftp.iby>
|
|
254 |
#include <Tracert.iby>
|
|
255 |
#include <ping.iby>
|
|
256 |
#if !defined(TEXT_ONLY_ROM)
|
|
257 |
#include <pingapp.iby>
|
|
258 |
#endif // TEXT_ONLY_ROM
|
|
259 |
|
|
260 |
//Some handy tools for all test roms
|
|
261 |
#include <ftp_e.iby>
|
|
262 |
#include <telnet_e.iby>
|
|
263 |
|
|
264 |
|
|
265 |
// PPP Tests
|
|
266 |
#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1)
|
|
267 |
#include <te_pppsize.iby>
|
|
268 |
#include <ts_dummyppp.iby>
|
63
|
269 |
#include <zerocopy_loopback_driver.iby>
|
|
270 |
#include <te_loopback.iby>
|
50
|
271 |
#include <te_pppcomp.iby>
|
63
|
272 |
#include <te_configutil.iby>
|
|
273 |
#include <te_Configuratorsuite.iby>
|
|
274 |
#include <te_http.iby>
|
|
275 |
#include <integrationtest.iby>
|
|
276 |
#include <te_sblpsuite.iby>
|
|
277 |
#include <te_DedicatedSignalling1ryCtx.iby>
|
|
278 |
#include <TE_SpudUnit.iby>
|
|
279 |
#include <integrationtest.iby>
|
|
280 |
#include <te_cedsuite.iby>
|
|
281 |
#include <wapmessage.iby>
|
50
|
282 |
#include <te_vjcomp.iby>
|
|
283 |
#include <te_incoming_ppp.iby>
|
|
284 |
#endif
|
|
285 |
|
|
286 |
|
|
287 |
// SPUD Tests
|
|
288 |
#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1)
|
|
289 |
#include <TE_spudNetworkSide.iby>
|
|
290 |
#include <TE_spudrsubconn.iby>
|
|
291 |
#endif
|
|
292 |
|
|
293 |
|
|
294 |
// UmtsGprsSCPR Tests
|
|
295 |
#ifdef NW_TEST_ROM_3
|
|
296 |
#include <te_UmtsGprsScpr.iby>
|
|
297 |
#endif
|
|
298 |
|
|
299 |
|
|
300 |
// QoS Tests
|
|
301 |
//////#include <qostesting.iby>
|
|
302 |
|
|
303 |
// Sockbench Tests
|
|
304 |
//#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_2)
|
|
305 |
//#include <sockbench.iby>
|
|
306 |
//#endif
|
|
307 |
|
|
308 |
// TLS (SSL) Tests
|
|
309 |
#ifdef NW_TEST_ROM_1
|
|
310 |
#include <ts_tls.iby>
|
|
311 |
#endif
|
|
312 |
|
|
313 |
//-- DND LLMNR test
|
|
314 |
#include <TE_LlmnrServer.iby>
|
|
315 |
|
|
316 |
|
|
317 |
|
|
318 |
// agent dummy notifier
|
|
319 |
#include <agentdummynotifier.iby>
|
|
320 |
|
|
321 |
//Ipsec tests
|
|
322 |
#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1)
|
|
323 |
#include <ts_ipsec.iby>
|
|
324 |
#endif
|
|
325 |
|
|
326 |
//-- additional optional protocols
|
|
327 |
#include <probe.iby>
|
|
328 |
#include <6to4.iby>
|
|
329 |
|
|
330 |
|
|
331 |
// Not test components - maybe shouldn't be in here?? On all roms
|
|
332 |
#include <netStSrv.iby>
|
|
333 |
#include <DHCPServ.iby>
|
|
334 |
#include <elements.iby>
|
|
335 |
#include <ipeventnotifier.iby>
|
|
336 |
|
|
337 |
|
|
338 |
#if defined(NW_TEST_ROM_1) || defined(NW_TEST_ROM_3) || defined(CI_TEST_ROM_3) || defined(CI_TEST_ROM_1)
|
|
339 |
#include <te_qossuite.iby>
|
|
340 |
#endif
|
|
341 |
|
|
342 |
#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1)
|
|
343 |
#include <TE_C32Bca.iby>
|
|
344 |
#endif
|
|
345 |
|
|
346 |
#include <TE_PacketLoopback.iby>
|
|
347 |
#include <packetloopback.iby>
|
|
348 |
|
|
349 |
// Needed by several tests
|
|
350 |
#include <simtsy.iby>
|
|
351 |
|
|
352 |
#include <te_AnvlClient.iby>
|
|
353 |
|
|
354 |
REM ---------- WAP-Stack ----------
|
|
355 |
|
|
356 |
// SWS test
|
|
357 |
#if defined(CI_TEST_ROM_1) || defined(WAPSTACK_TEST_ROM)
|
|
358 |
// this iby file is removed from the tb92sf code
|
|
359 |
// #include <wapstacksuite.iby>
|
|
360 |
#endif
|
|
361 |
|
|
362 |
REM ---------- SER-COMMS ----------
|
|
363 |
#if defined(CI_TEST_ROM_1) || defined(SERCOMMS_TEST_ROM)
|
|
364 |
#include <te_c32.iby>
|
|
365 |
#endif
|
|
366 |
|
|
367 |
#if defined(SERCOMMS_TEST_ROM)
|
|
368 |
#include <loopback.iby>
|
|
369 |
#endif
|
|
370 |
|
|
371 |
REM --- NEEDED FOR THE SECURITY TESTS ---
|
|
372 |
#include <swi.iby>
|
|
373 |
|
|
374 |
REM --- NETSTEB PERFORMANCE TEST FRAMEWORK ---
|
|
375 |
REM #include <te_STEBTestSuite.iby>
|
|
376 |
|
|
377 |
REM --- EAP Tests ---
|
|
378 |
REM #include <te_eap.iby>
|
|
379 |
|
|
380 |
REM --- MBMS Broadcast Tests ---
|
|
381 |
#include <TE_MbmsUnit.iby>
|
|
382 |
|
|
383 |
REM --- UPS ---
|
|
384 |
#include <upstestnotifier.iby>
|
|
385 |
#include <netups_test.iby>
|
|
386 |
|
63
|
387 |
#if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2)
|
|
388 |
#include <netups.iby>
|
50
|
389 |
REM #include <te_ipups.iby>
|
|
390 |
#endif
|
|
391 |
|
|
392 |
#ifdef NW_TEST_ROM_2
|
|
393 |
#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
394 |
#include <te_tcpip6suite.iby>
|
|
395 |
#endif
|
|
396 |
#endif
|
|
397 |
|
|
398 |
#ifdef NW_TEST_ROM_1
|
|
399 |
#ifdef SYMBIAN_INCLUDE_PUNYCODE
|
|
400 |
#include <te_punycodeconverter.iby>
|
|
401 |
#include <te_unittestidna.iby>
|
|
402 |
#endif //SYMBIAN_INCLUDE_PUNYCODE
|
|
403 |
#endif //NW_TEST_ROM_1
|
|
404 |
|
|
405 |
REM --- DNS Proxy test
|
|
406 |
#ifndef SYMBIAN_EXCLUDE_DNS_Proxy
|
|
407 |
#include <t_dnsproxy.iby>
|
|
408 |
#endif
|
|
409 |
|
|
410 |
#endif
|