networkingsrv_info/networkingrom/group/NetworkTest.iby
changeset 0 af10295192d8
child 29 c0a997472b1c
child 37 052078dda061
child 53 7e41d162e158
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     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))
       
    31 
       
    32 // Rom build hasn't explicitly defined a subset of tests to include so to avoid
       
    33 // disappointment we'll include the whole shebang
       
    34 #define NW_TEST_ROM_1
       
    35 #define NW_TEST_ROM_2
       
    36 #define NW_TEST_ROM_3
       
    37 
       
    38 #define CI_TEST_ROM_1
       
    39 #define CI_TEST_ROM_2
       
    40 #define CI_TEST_ROM_3
       
    41 
       
    42 #endif
       
    43 
       
    44 #ifdef NW_TEST_ROM_1
       
    45 REM "NW_TEST_ROM_1": Generated ROM will include test components for running nw1 test group
       
    46 #endif
       
    47 #ifdef NW_TEST_ROM_2
       
    48 REM "NW_TEST_ROM_2": Generated ROM will include test components for running nw2 test group
       
    49 #endif
       
    50 #ifdef NW_TEST_ROM_3
       
    51 REM "NW_TEST_ROM_3": Generated ROM will include test components for running nw3 test group
       
    52 #endif
       
    53 
       
    54 #ifdef CI_TEST_ROM_1
       
    55 REM "CI_TEST_ROM_1": Generated ROM will include test components for running ci1 test group
       
    56 #endif
       
    57 #ifdef CI_TEST_ROM_2
       
    58 REM "CI_TEST_ROM_2": Generated ROM will include test components for running ci2 test group
       
    59 #endif
       
    60 #ifdef CI_TEST_ROM_3
       
    61 REM "CI_TEST_ROM_3": Generated ROM will include test components for running ci3 test group
       
    62 #endif
       
    63 
       
    64 // This iby file contains all Networking Test Harnesses.
       
    65 
       
    66 REM ---------- General ---------------
       
    67 
       
    68 // Scheduletest Test
       
    69 file=ABI_DIR\DEBUG_DIR\ts_selftest.dll		System\Libs\ts_selftest.dll
       
    70 
       
    71 // Initialisation before any tests are run
       
    72 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard.script		TestData\scripts\te_initialiseboard.script
       
    73 
       
    74 REM ---------- Comms-Infras ----------
       
    75 
       
    76 // ced is not included in release builds by default (in commdb.iby)
       
    77 // so we include it explicitly here if _DEBUG is NOT defined
       
    78 #ifndef _DEBUG
       
    79 #include <XmlFramework.iby>
       
    80 #include <ced.iby>
       
    81 #include <ceddump.iby>
       
    82 #endif
       
    83 
       
    84 // ESOCK Tests - All test roms
       
    85 // (CI_TEST_ROM_1-te_ini,te_ipc,te_socket,etc)
       
    86 // (CI_TEST_ROM_2-te_eintsock,te_esock)
       
    87 // (NW_TEST_ROM_3-te_rconnectionsuite,te_rsubconnectionsuite)
       
    88 // (Anything using esock test steps)
       
    89 #include <esock_test.iby>
       
    90 
       
    91 // Commselements tools
       
    92 #include <messageintercept.iby>
       
    93 
       
    94 // Nifman Tests
       
    95 // The following #ifndef ensures this is not in 9.5 onwards, so no need for specific ROM ifdef
       
    96 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
    97 #include <te_nifman.iby>
       
    98 #endif
       
    99 
       
   100 REM ---------- Networking ----------
       
   101 
       
   102 //Ethernet nif - Any roms with ethernet tests (this is ensuring ethernet support, these aren't tests)
       
   103 #include <ether802.iby>
       
   104 
       
   105 // CSD AGT Tests
       
   106 // The following #ifndef ensures this is not in 9.5 onwards, so no need for specific ROM ifdef
       
   107 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   108 #include <tcsdagt.iby>
       
   109 #endif
       
   110 
       
   111 // TE_DHCP Tests
       
   112 #ifdef NW_TEST_ROM_2
       
   113 #include <te_dhcpTestServer.iby>
       
   114 #endif
       
   115 
       
   116 #ifdef NW_TEST_ROM_2
       
   117 #ifdef SYMBIAN_NETWORKING_ADDRESS_PROVISION
       
   118 //Unit test code to launch DHCP server
       
   119 #include <te_dhcpservtest.iby>
       
   120 #endif //SYMBIAN_NETWORKING_ADDRESS_PROVISION
       
   121 #endif
       
   122 
       
   123 // IP Event Notifier Tests
       
   124 // 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
       
   125 #include <te_ipeventnotifiersuite.iby>
       
   126 
       
   127 #ifdef NW_TEST_ROM_2
       
   128 //Napt tests
       
   129 #include <te_napt.iby>
       
   130 #include <te_naptunittest.iby>
       
   131 #endif //NW_TEST_ROM_2
       
   132 
       
   133 // FTP Tests
       
   134 #include <tftp_e.iby>
       
   135 
       
   136 // IntegrationTest framework
       
   137 #ifdef NW_TEST_ROM_1
       
   138 #include <integrationtest.iby>
       
   139 #endif
       
   140 
       
   141 // NULL AGT Tests
       
   142 #ifdef NW_TEST_ROM_1
       
   143 #include <nullagttests.iby>
       
   144 #endif
       
   145 
       
   146 // Useful  Internet Utilities for all test roms
       
   147 #include <ipconfig.iby>
       
   148 #include <route.iby>
       
   149 #include <Tftp.iby>
       
   150 #include <Tracert.iby>
       
   151 #include <ping.iby>
       
   152 #if !defined(TEXT_ONLY_ROM)
       
   153 #include <pingapp.iby>
       
   154 #endif // TEXT_ONLY_ROM
       
   155 
       
   156 //Some handy tools for all test roms
       
   157 #include <ftp_e.iby>
       
   158 #include <telnet_e.iby>
       
   159 
       
   160 
       
   161 // PPP Tests
       
   162 #ifdef NW_TEST_ROM_1
       
   163 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   164 #include <te_ppp.iby>
       
   165 #endif
       
   166 #include <te_pppsize.iby>
       
   167 #include <ts_dummyppp.iby>
       
   168 
       
   169 #include <te_pppcomp.iby>
       
   170 #include <te_vjcomp.iby>
       
   171 #include <te_incoming_ppp.iby>
       
   172 #endif
       
   173 
       
   174 
       
   175 // SPUD Tests
       
   176 #ifdef NW_TEST_ROM_1
       
   177 #include <TE_spudNetworkSide.iby>
       
   178 #include <TE_spudrsubconn.iby>
       
   179 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   180 #include <TE_SpudUnit.iby>
       
   181 #include <sockbench_spud.iby>
       
   182 #endif
       
   183 #endif
       
   184 
       
   185 
       
   186 // UmtsGprsSCPR Tests
       
   187 #ifdef NW_TEST_ROM_3
       
   188 #ifdef SYMBIAN_NETWORKING_3GPPDEFAULTQOS
       
   189 #include <te_UmtsGprsScpr.iby>
       
   190 #endif
       
   191 #endif
       
   192 
       
   193 // PSD AGT Tests
       
   194 // The following #ifndef ensures this is not in 9.5 onwards, so no need for specific ROM ifdef
       
   195 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   196 #include <tpsdagt.iby>
       
   197 #endif
       
   198 
       
   199 // QoS Tests
       
   200 //////#include <qostesting.iby>
       
   201 
       
   202 #ifdef CI_TEST_ROM_2
       
   203 #include <sockbench.iby>
       
   204 #endif
       
   205 
       
   206 // TLS (SSL) Tests
       
   207 #ifdef NW_TEST_ROM_2
       
   208 #include <ts_tls.iby>
       
   209 #include <TlsProvtestServer.iby>
       
   210 #endif
       
   211 
       
   212 //-- DND LLMNR test
       
   213 #include <TE_LlmnrServer.iby>
       
   214 
       
   215 // agent dummy notifier
       
   216 #include <agentdummynotifier.iby>
       
   217 
       
   218 //Ipsec tests
       
   219 #ifdef NW_TEST_ROM_2
       
   220 #include <ts_ipsec.iby>
       
   221 #endif
       
   222 
       
   223 //-- additional optional protocols
       
   224 #include <probe.iby>
       
   225 #include <6to4.iby>
       
   226 
       
   227 // tests introduced by CDMA team (MS3.7)
       
   228 // The following #ifndef ensures this is not in 9.5 onwards, so no need for specific ROM ifdef
       
   229 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   230 #include <TE_ConnectionControl.iby>
       
   231 #include <te_mobileiptosimpleipfallback.iby>
       
   232 #endif
       
   233 
       
   234 
       
   235 // additional files needed to run tests submitted by CDMA team
       
   236 // The following #ifndef ensures this is not in 9.5 onwards, so no need for specific ROM ifdef
       
   237 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   238 #include <ConfigDaemon.iby>
       
   239 #endif
       
   240 
       
   241 // Not test components - maybe shouldn't be in here?? On all roms
       
   242 #include <netStSrv.iby>	
       
   243 #include <DHCPServ.iby>
       
   244 #include <elements.iby>
       
   245 #include <ipeventnotifier.iby>
       
   246 
       
   247 
       
   248 #ifdef NW_TEST_ROM_3
       
   249 #include <te_qossuite.iby>
       
   250 #endif
       
   251 
       
   252 #ifdef NW_TEST_ROM_1
       
   253 #include <TE_C32Bca.iby>
       
   254 #endif
       
   255 
       
   256 #include <TE_PacketLoopback.iby>
       
   257 #include <packetloopback.iby>
       
   258 
       
   259 // Needed by several tests
       
   260 #include <simtsy.iby>
       
   261 
       
   262 #include <te_AnvlClient.iby>
       
   263 
       
   264 REM ---------- WAP-Stack ----------
       
   265 
       
   266 // SWS test
       
   267 #ifdef NW_TEST_ROM_3
       
   268 #include <wapstacksuite.iby>
       
   269 #endif
       
   270 
       
   271 REM --- NEEDED FOR THE SECURITY TESTS ---
       
   272 #include <swi.iby>
       
   273 //#include <plpvariant.iby>
       
   274 
       
   275 REM --- NETSTEB PERFORMANCE TEST FRAMEWORK ---
       
   276 #include <te_STEBTestSuite.iby>
       
   277 
       
   278 REM --- EAP Tests ---
       
   279 REM #include <te_eap.iby>
       
   280 
       
   281 REM --- MBMS Broadcast Tests ---
       
   282 #include <TE_MbmsUnit.iby>
       
   283 
       
   284 REM --- UPS ---
       
   285 #include <upstestnotifier.iby>
       
   286 #include <netups_test.iby>
       
   287 
       
   288 #ifdef CI_TEST_ROM_3
       
   289 #include <te_ipups.iby>
       
   290 #endif
       
   291 
       
   292 #ifdef NW_TEST_ROM_2
       
   293 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
       
   294 #include <te_tcpip6suite.iby>
       
   295 #endif
       
   296 #endif
       
   297 
       
   298 #ifdef NW_TEST_ROM_2
       
   299 #ifdef SYMBIAN_INCLUDE_PUNYCODE
       
   300 #include <te_punycodeconverter.iby>
       
   301 #include <te_unittestidna.iby>
       
   302 #endif //SYMBIAN_INCLUDE_PUNYCODE
       
   303 #endif //NW_TEST_ROM_2
       
   304 
       
   305 REM --- DNS Proxy test
       
   306 #ifndef SYMBIAN_EXCLUDE_DNS_Proxy 
       
   307 #include <t_dnsproxy.iby>
       
   308 #endif 
       
   309 
       
   310 #endif