diff -r 00c6709d25aa -r 9d7ce34704c8 general/commsframeworktest.iby --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/general/commsframeworktest.iby Tue Aug 31 16:25:36 2010 +0300 @@ -0,0 +1,408 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ +#ifndef __NETWORKING_TEST_IBY__ +#define __NETWORKING_TEST_IBY__ + +// ***************************************************************************** +// From 9.5 onwards ROM space is becoming a little tight +// Rom builds from 9.5 onwards should specify the subset of tests to be +// included with the -D flag. E.g. -DNW_TEST_ROM1 +// +// If a subset of tests is not specified all will be included - maintaining +// compatibility for unaware rom builds +// ***************************************************************************** + +#if !(defined(NW_TEST_ROM_1) || defined(NW_TEST_ROM_2) || defined(NW_TEST_ROM_3) \ + || defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2) || defined(CI_TEST_ROM_3) || defined(CI_TEST_ROM_4) \ + || defined(WAPSTACK_TEST_ROM) \ + || defined(SERCOMMS_TEST_ROM) \ + || defined(__NETWORKING_TEST_OBY__) \ + ) + +// Rom build hasn't explicitly defined a subset of tests to include so to avoid +// disappointment we'll include the whole shebang +#define NW_TEST_ROM_1 +#define NW_TEST_ROM_2 +#define NW_TEST_ROM_3 + +#define CI_TEST_ROM_1 +#define CI_TEST_ROM_2 +#define CI_TEST_ROM_3 +#define CI_TEST_ROM_4 + +#define WAPSTACK_TEST_ROM +#define SERCOMMS_TEST_ROM +//#define NETWORKING_UPS_TESTS +//#define SYMBIAN_FLEXMM_ZERO_COPY_NETWORKING +#define __NETWORKING_TEST_OBY__ + +#endif + +#ifdef NW_TEST_ROM_1 +REM "NW_TEST_ROM_1": Generated ROM will include test components for running nw1 test group +#endif +#ifdef NW_TEST_ROM_2 +REM "NW_TEST_ROM_2": Generated ROM will include test components for running nw2 test group +#endif +#ifdef NW_TEST_ROM_3 +REM "NW_TEST_ROM_3": Generated ROM will include test components for running nw3 test group +#endif + +#ifdef CI_TEST_ROM_1 +REM "CI_TEST_ROM_1": Generated ROM will include test components for running ci1 test group +#endif +#ifdef CI_TEST_ROM_2 +REM "CI_TEST_ROM_2": Generated ROM will include test components for running ci2 test group +#endif +#ifdef CI_TEST_ROM_3 +REM "CI_TEST_ROM_3": Generated ROM will include test components for running ci3 test group +#endif +#ifdef CI_TEST_ROM_4 +REM "CI_TEST_ROM_4": Generated ROM will include test components for running ci4 test group +#endif + +#ifdef WAPSTACK_TEST_ROM +REM "WAPSTACK_TEST_ROM": Generated ROM will include test components for running ws1 test group +#endif + +#ifdef SERCOMMS_TEST_ROM +REM "SERCOMMS_TEST_ROM": Generated ROM will include test components for running sc1 test group +#endif + + + +// This iby file contains all Networking Test Harnesses. + +REM ---------- General --------------- + +// Scheduletest Test +file=ABI_DIR\DEBUG_DIR\ts_selftest.dll System\Libs\ts_selftest.dll + +// Initialisation before any tests are run +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard.script TestData\scripts\te_initialiseboard.script + +#ifdef CI_TEST_ROM_1 +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard1.script TestData\scripts\te_initialiseboard1.script +#endif +#ifdef CI_TEST_ROM_2 +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard2.script TestData\scripts\te_initialiseboard2.script +#endif +#ifdef CI_TEST_ROM_3 +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard3.script TestData\scripts\te_initialiseboard3.script +#endif +#ifdef CI_TEST_ROM_4 +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard4.script TestData\scripts\te_initialiseboard4.script +#endif +#ifdef NW_TEST_ROM_1 +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard5.script TestData\scripts\te_initialiseboard5.script +#endif +#ifdef NW_TEST_ROM_3 +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard6.script TestData\scripts\te_initialiseboard6.script +#endif +#ifdef SERCOMMS_TEST_ROM +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard7.script TestData\scripts\te_initialiseboard7.script +#endif +#ifdef WAPSTACK_TEST_ROM +data=EPOCROOT##epoc32\data\z\testdata\scripts\te_initialiseboard8.script TestData\scripts\te_initialiseboard8.script +#endif + + +REM ---------- Comms-Infras ---------- + +// ced is not included in release builds by default (in commdb.iby) +// so we include it explicitly here if _DEBUG is NOT defined +#ifndef _DEBUG +#include +#include +#include +#endif + +// CommDB Tests +#if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_4) +#include +#endif + +#ifdef CI_TEST_ROM_1 +#include +#endif + +#ifdef CI_TEST_ROM_1 +// CommsFramework Tests +#include +#include +#endif + +// ESOCK Tests - All test roms +// (CI_TEST_ROM_1-te_ini,te_ipc,te_socket,etc) +// (CI_TEST_ROM_2-te_eintsock,te_esock) +// (NW_TEST_ROM_3-te_rconnectionsuite,te_rsubconnectionsuite) +// (Anything using esock test steps) +#include + +// Flogger Tests +// No Exports + + +// MBufMgr Tests +#if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2) || defined(CI_TEST_ROM_4) +#include +#endif + +#ifdef CI_TEST_ROM_2 +#include +#endif + +// zerocopy tests +#ifdef SYMBIAN_FLEXMM_ZERO_COPY_NETWORKING +#include +#include +#include +#include +#include +#include +#include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// RootServer Tests +#ifdef CI_TEST_ROM_3 +#include +#endif + +//COMMSELEMENTSTESTS +#ifdef CI_TEST_ROM_2 +#include +#endif + +REM ---------- Networking ---------- + +//Ethernet nif - Any roms with ethernet tests (this is ensuring ethernet support, these aren't tests) +#include + + +// TE_DIALOG Tests +#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) +#include +#endif + +// TE_DHCP Tests +#if defined(NW_TEST_ROM_1) || defined(WAPSTACK_TEST_ROM) +#include +#endif + +#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) +//Unit test code to launch DHCP server +#include +#endif + +// IP Event Notifier Tests +// 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 +#include + +//Napt tests +// 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 +// #include + +//Unit test code +// #include + +// FTP Tests +REM #include + +// IntegrationTest framework +#ifdef NW_TEST_ROM_1 +#include +#endif + + +// NULL AGT Tests +#ifdef NW_TEST_ROM_1 +#include +#endif + +// Useful Internet Utilities for all test roms +#include +#include +#include +#include +#include +#if !defined(TEXT_ONLY_ROM) +#include +#endif // TEXT_ONLY_ROM + +//Some handy tools for all test roms +#include +#include + + +// PPP Tests +#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#endif + + +// SPUD Tests +#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) +#include +#include +#endif + + +// UmtsGprsSCPR Tests +#ifdef NW_TEST_ROM_3 +#include +#endif + + +// QoS Tests +//////#include + +// Sockbench Tests +//#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_2) +//#include +//#endif + +// TLS (SSL) Tests +#ifdef NW_TEST_ROM_1 +#include +#endif + +//-- DND LLMNR test +#include + + + +// agent dummy notifier +#include + +//Ipsec tests +#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) +#include +#endif + +//-- additional optional protocols +#include +#include <6to4.iby> + + +// Not test components - maybe shouldn't be in here?? On all roms +#include +#include +#include +#include + + +#if defined(NW_TEST_ROM_1) || defined(NW_TEST_ROM_3) || defined(CI_TEST_ROM_3) || defined(CI_TEST_ROM_1) +#include +#endif + +#if defined(CI_TEST_ROM_1) || defined(NW_TEST_ROM_1) +#include +#endif + +#include +#include + +// Needed by several tests +#include + +#include + +REM ---------- WAP-Stack ---------- + +// SWS test +#if defined(CI_TEST_ROM_1) || defined(WAPSTACK_TEST_ROM) +// this iby file is removed from the tb92sf code +// #include +#endif + +REM ---------- SER-COMMS ---------- +#if defined(CI_TEST_ROM_1) || defined(SERCOMMS_TEST_ROM) +#include +#endif + +#if defined(SERCOMMS_TEST_ROM) +#include +#endif + +REM --- NEEDED FOR THE SECURITY TESTS --- +#include + +REM --- NETSTEB PERFORMANCE TEST FRAMEWORK --- +REM #include + +REM --- EAP Tests --- +REM #include + +REM --- MBMS Broadcast Tests --- +#include + +REM --- UPS --- +#include +#include + +#if defined(CI_TEST_ROM_1) || defined(CI_TEST_ROM_2) +#include +REM #include +#endif + +#ifdef NW_TEST_ROM_2 +#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW +#include +#endif +#endif + +#ifdef NW_TEST_ROM_1 +#ifdef SYMBIAN_INCLUDE_PUNYCODE +#include +#include +#endif //SYMBIAN_INCLUDE_PUNYCODE +#endif //NW_TEST_ROM_1 + +REM --- DNS Proxy test +#ifndef SYMBIAN_EXCLUDE_DNS_Proxy +#include +#endif + +#endif