telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_spudNetworkSide.script
changeset 0 3553901f7fa8
child 3 962e6306d9d2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_spudNetworkSide.script	Tue Feb 02 01:41:59 2010 +0200
@@ -0,0 +1,491 @@
+// Copyright (c) 2004-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:
+// Secondary PDP-context UMTS Driver integration tests of network-initiated conditions.
+//
+
+//! @file TE_spudNetworkSide.script
+
+RUN_UTILS  MkDir c:\simtsy\
+RUN_UTILS  MkDir c:\private\
+RUN_UTILS  MkDir c:\private\101F7989\
+RUN_UTILS  MkDir c:\private\101F7989\esock\
+RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
+RUN_UTILS  MakeReadWrite c:\config.txt
+RUN_UTILS  MakeReadWrite c:\loopback.ini
+RUN_UTILS  DeleteFile c:\simtsy\config.txt
+RUN_UTILS  DeleteFile c:\config.txt
+RUN_UTILS  DeleteFile c:\loopback.ini
+RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSide_config.txt c:\simtsy\config.txt
+RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSide_config.txt c:\config.txt
+RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSideLoopbackCSY.ini c:\loopback.ini
+
+// Configure CommDB for the tests
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+ced -i z:\TestData\Configs\te_spudnetworkside.xml
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+LOAD_SUITE TE_SpudNetworkSide
+
+
+// TestSection suffix numbers correspond to SIM TSY's test section numbers. i.e. PrimaryActivationFails201 uses SIM TSYs test201 
+
+//
+// Sanity check tests: before testing the error cases, we test the success cases to make sure the system is OK.
+//
+
+START_TESTCASE          NET-Spud-NetworkSide-0801
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0801
+//! @SYMTestCaseDesc Sanity check: successfully activate Primary context. 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
+//! @SYMTestActions Explicitly start the SPUD interface. SIM TSY, etc successfully activate the primary context.
+//! @SYMTestExpectedResults  Primary PDP context is activated, SPUD is started: RConnection::Start on SPUD returns KErrNone.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationOk1
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0801
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+START_TESTCASE          NET-Spud-NetworkSide-0802
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0802
+//! @SYMTestCaseDesc Sanity check: successfully activate Secondary context. 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions Implicitly start the SPUD interface by opening a socket bound to its secondary context. Set QoS on the socket, prompting GUQoS to activate secondary context.
+//! @SYMTestExpectedResults Both the primary & secondary contexts are activated. EQoSEventAddPolicy and EQoSEventConfirm are received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryActivationOk1
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0802
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+//
+// Operation errors: Creation, TFT, QoS, Activation, Deactivation, Deletion errors.
+//
+START_TESTCASE          NET-Spud-NetworkSide-0803
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0803
+//! @SYMTestCaseDesc Activation of Primary fails. 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
+//! @SYMTestActions Explicitly start Spud. SIM TSY returns an error on activation of the primary context. 
+//! @SYMTestExpectedResults Spud cannot be started: RConnection::Start returns an error.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationFails201
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0803
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+START_TESTCASE          NET-Spud-NetworkSide-0804
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0804
+//! @SYMTestCaseDesc Activation of Secondary fails.
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions Implicitly start SPUD by opening a socket bound to the secondary context. Set QoS on the socket, prompting GUQoS to activate secondary context. SIM TSY errors secondary context activation request. 
+//! @SYMTestExpectedResults  EQoSEventAddPolicy and EQoSEventFailure are received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryActivationFails301
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0804
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0805
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0805
+//! @SYMTestCaseDesc Network deletes Activated Primary.
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions Activate the primary context only by explicitly starting Spud. After a pause, SIM.TSY deletes the primary context. 
+//! @SYMTestExpectedResults Spud is started successfully - the RConnection is started with KErrNone. KLinkLayerClosed / KErrDisconnected notification is received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimaryEvent z:\testdata\configs\te_spudNetworkSide.ini PrimaryQoSEventDelete1
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0805
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0806
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0806
+//! @SYMTestCaseDesc  GUQoS triggers the KContextDelete on SPUDMAN after the Seondary PDP Context is created. -  This does not happen anymore in Guqos
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions Activate the primary and the secondary contexts by opening a socket & setting QoS on it, GuQoS deletes the created secondary context.
+//! @SYMTestExpectedResults EQoSEventAddPolicy, EQoSEventFailure are received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+//! DUE TO BEHAVIOURAL CHANGES IN GUQOS - THIS CASE IS NO LONGER VALID AND THEREFORE NOT RUN
+//RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini KContextDelete
+//DELAY 3000
+//RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0806
+
+//run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+//run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0807
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0807
+//! @SYMTestCaseDesc  The QoS parameter changes on the Primary PDP Context.
+//! @SYMFssID NETWORKING/Spud/Control Plane/Network initiated PDP Context Modification
+//! @SYMTestActions Explicitly start the SPUD interface to activate the primary context, use sim.tsy to trigger the QoS parameter changes on the Primary PDP Context.
+//! @SYMTestExpectedResults SPUD starts successfully. SPUD receives the QoS parameter change event successfully. RConnection times out and returns the error code KErrTimedOut.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimaryEvent z:\testdata\configs\te_spudNetworkSide.ini ENetworkQoSChangePrimary
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0807
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0808
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0808
+//! @SYMTestCaseDesc Triggers the Primary PDP Context deletion before the lower NIF is up.
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions Explicitly start the SPUD interface to activate the primary context, it fails then deletes the Primary Context. 
+//! @SYMTestExpectedResults Spud start fails. RConnection::Start returns the error.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryDeleteBeforeLowerNif
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0808
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0809
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0809
+//! @SYMTestCaseDesc Triggers the Secondary PDP Context deletion before the lower NIF is up.
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions Activate the primary and the secondary contexts by opening a socket & setting QoS on it,fails to creat the secondary context.
+//! @SYMTestExpectedResults EQoSEventAddPolicy, EQoSEventFailure are received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryDeleteBeforeLowerNif
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0809
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0810
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0810
+//! @SYMTestCaseDesc Failure to Start a lower NIF for primary context (LinkLayerDown from lower NIF) 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
+//! @SYMTestActions Explicitly start SPUD. Spud starts the lower NIF for the primary context. Lower NIF reports LinkLayerDown with an error. 
+//! @SYMTestExpectedResults Spud start fails. RConnection::Start returns the error.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide_platsec.ini PrimaryLowerNifStartFails210
+DELAY 3000
+RUN_TEST_STEP 30 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0810
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0811
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0811
+//! @SYMTestCaseDesc Failure to Start a lower NIF for secondary context (LinkLayerDown from lower NIF) 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions Request activation of the secondary PDP context by opening a socket & setting QoS on it. Spud start the lower NIF for the secondary context. Lower NIF reports LinkLayerDown with error. 
+//! @SYMTestExpectedResults The primary context is activated, secondary is not. EQoSEventAddPolicy and EQoSEventFailure with the error code are received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide_platsec.ini SecondaryLowerNifStartFails310
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0811
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0812
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0812
+//! @SYMTestCaseDesc Test Etel suspension of primary context
+//! @SYMFssID NETWORKING/Spud/Control Plane/Network initiated PDP Context Modification
+//! @SYMTestActions Create/send data on a socket with no QoS parameters (therefore a primary context), and read from the opposite loopback port. Suspend the context. Send more data and attempt to read from the opposite port. Resume the context. Send more data and attempt to read from the opposite port.
+//! @SYMTestExpectedResults The read on the loopback comm port should work before the context is suspended, and after it is resumed. It should time-out when the context is suspended.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudSuspendContext z:\testdata\configs\te_spudNetworkSide.ini PrimaryContextSuspendAndResume
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+DELAY 3000
+END_TESTCASE            NET-Spud-NetworkSide-0812
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0813
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0813
+//! @SYMTestCaseDesc Test Etel suspension of secondary context
+//! @SYMFssID NETWORKING/Spud/Control Plane/Network initiated PDP Context Modification
+//! @SYMTestActions Create/send data on a socket with QoS parameters (therefore a secondary context), and read from the opposite loopback port. Suspend the context. Send more data and attempt to read from the opposite port. Resume the context. Send more data and attempt to read from the opposite port.
+//! @SYMTestExpectedResults The read on the loopback comm port should work before the context is suspended, and after it is resumed. It should time-out when the context is suspended.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudSuspendContext z:\testdata\configs\te_spudNetworkSide.ini SecondaryContextSuspendAndResume
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+DELAY 3000
+END_TESTCASE            NET-Spud-NetworkSide-0813
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0814
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0814
+//! @SYMTestCaseDesc Primary PDP context activation fails
+//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
+//! @SYMTestActions Primary PDP context activation fails by modifying the TFT values
+//! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationFails18
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0814
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0815
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0815
+//! @SYMTestCaseDesc Secondary PDP context: Setting TFT fails
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions Setting TFT values on secondary PDP context fails due to using incorrect TFT values
+//! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryActivationFails19
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0815
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0816
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0816
+//! @SYMTestCaseDesc Secondary PDP context: Setting requested QoS parameters fails
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions Setting QoS parameters on secondary PDP context fails due to using incorrect QoS parameter values
+//! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryActivationFails20
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0816
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0817
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0817
+//! @SYMTestCaseDesc Primary PDP context deletion fails
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions Primary PDP context deletion fails by modifying the TFT values
+//! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryDeletionFails21
+DELAY 8000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0817
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0818
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0818
+//! @SYMTestCaseDesc Secondary PDP context deletion fails
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions Secondary PDP context deletion fails by modifying the TFT values
+//! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudSecondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryDeletionFails22
+DELAY 8000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0818
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0819
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0819
+//! @SYMTestCaseDesc  Network deletes a primary context
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions  Starts a secondary context by creating a socket with QoS, starts a rawipnif instance opposite the secondary context, deletes the primary context then sends data on the primary context's socket.
+//! @SYMTestExpectedResults   Since the primary context is down, the data is sent on the secondary context, and is received by the rawipnif instance opposite the secondary context.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 600 TE_SpudNetworkSide CSpudDeletePrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryQoSEventDeleteWithSecondary
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0819
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0820
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0820
+//! @SYMTestCaseDesc Call RConnection::Stop while SPUDFSM is initialising the phone  
+//! @SYMFssId NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions  Cause RPhone::Initialise to take a very long time to complete, and call RConnection::Stop while it is running
+//! @SYMTestExpectedResults Connection stops successfully.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudPrimayStartingStop z:\testdata\configs\te_spudNetworkSide.ini PrimarySlowInitialisePhone
+DELAY 3000
+END_TESTCASE            NET-Spud-NetworkSide-0820
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+START_TESTCASE          NET-Spud-NetworkSide-0821
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0821
+//! @SYMTestCaseDesc Sanity check: successfully activate many primary contexts. 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
+//! @SYMTestActions Explicitly start the SPUD interfaces. SIM TSY, etc successfully activate the primary contexts.
+//! @SYMTestExpectedResults  The Primary PDP contexts are activated, SPUD started: RConnection::Start on the SPUDs returns KErrNone.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 100 TE_SpudNetworkSide CSpudMultiPrimary z:\testdata\configs\te_spudNetworkSide.ini MultiPrimaryActivationOk1
+DELAY 3000
+RUN_TEST_STEP 100 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0821
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0822
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0822
+//! @SYMTestCaseDesc Set requested Qos (SSD, IM CN SI) on a Secondary PDP context.
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions  Activate the primary and the secondary contexts by opening a socket & setting requested Qos (SSD = Speech, SI = True, IM CN SI = True) on secondary PDP context
+//! @SYMTestExpectedResults Both the primary & secondary contexts are activated. EQoSEventAddPolicy and EQoSEventConfirm are received by the test app.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudQosR5Secondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryR5ActivationOk1
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0822
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+
+START_TESTCASE          NET-Spud-NetworkSide-0823
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0823
+//! @SYMTestCaseDesc Secondary PDP context: Setting requested QoS parameters fails
+//! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
+//! @SYMTestActions Setting QoS parameters on secondary PDP context fails due to using incorrect QoS parameter values
+//! @SYMTestExpectedResults The SpudMan code should respond to this event correctly without Leave and Panic.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudQosR5Secondary z:\testdata\configs\te_spudNetworkSide.ini SecondaryR5ActivationFails20
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0823
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+START_TESTCASE          NET-Spud-NetworkSide-0824
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0824
+//! @SYMTestCaseDesc  Network deletes a primary context where SI is set on Secondary PDP context.
+//! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
+//! @SYMTestActions  Starts a secondary context by creating a socket with QoS, starts a rawipnif instance opposite the secondary context, deletes the primary context then sends data on the primary context's socket.
+//! @SYMTestExpectedResults   Since the primary context is down, the data is sent on the secondary context, and is received by the rawipnif instance opposite the secondary context.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 600 TE_SpudNetworkSide CSpudDeletePrimaryR5Qos z:\testdata\configs\te_spudNetworkSide.ini PrimaryQoSR5EventDeleteWithSecondary
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0824
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+START_TESTCASE          NET-Spud-NetworkSide-0825
+//! @SYMTestCaseID      NET-Spud-NetworkSide-0825
+//! @SYMTestCaseDesc Sanity check: Primary context Progress Test 
+//! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
+//! @SYMTestActions Explicitly start the SPUD interface. SIM TSY, etc successfully activate the primary context. Check the Progress.
+//! @SYMTestExpectedResults  Primary PDP context is activated, SPUD is started: RConnection::Start on SPUD returns KErrNone. Check the Progress of connection.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimaryContextEventProgress z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationOk1
+DELAY 3000
+RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
+END_TESTCASE            NET-Spud-NetworkSide-0825
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+
+
+RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
+RUN_UTILS  MakeReadWrite c:\config.txt
+RUN_UTILS  DeleteFile c:\simtsy\config.txt
+RUN_UTILS  DeleteFile c:\config.txt
+RUN_UTILS  DeleteFile c:\loopback.ini
+