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