telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/version1/TE_spudNetworkSide_nifman.script
changeset 69 b982c3e940f3
parent 59 ac20d6a0a19d
child 73 70d75957b98f
equal deleted inserted replaced
59:ac20d6a0a19d 69:b982c3e940f3
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Secondary PDP-context UMTS Driver integration tests using NIFMAN
       
    15 //
       
    16 
       
    17 //! @file TE_SpudNetworkSide_nifman.script
       
    18 
       
    19 RUN_UTILS  MkDir c:\simtsy\
       
    20 RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
       
    21 RUN_UTILS  MakeReadWrite c:\config.txt
       
    22 RUN_UTILS  DeleteFile c:\simtsy\config.txt
       
    23 RUN_UTILS  DeleteFile c:\config.txt
       
    24 RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSide_nifman_config.txt c:\simtsy\config.txt
       
    25 RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSide_nifman_config.txt c:\config.txt
       
    26 
       
    27 RUN_UTILS  MakeReadWrite c:\loopback.ini
       
    28 RUN_UTILS  DeleteFile c:\loopback.ini
       
    29 RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSideLoopbackCSY.ini c:\loopback.ini
       
    30 
       
    31 RUN_UTILS  DeleteFile c:\qospolicies.ini
       
    32 RUN_UTILS  DeleteFile c:\private\101F7989\esock\qospolicies.ini
       
    33 
       
    34 RUN_UTILS  CopyFile z:\TestData\Configs\qospolicies.ini c:\qospolicies.ini
       
    35 RUN_UTILS  CopyFile z:\TestData\Configs\qospolicies.ini c:\private\101F7989\esock\qospolicies.ini
       
    36 
       
    37 
       
    38 LOAD_SUITE TE_SpudNetworkSide
       
    39 
       
    40 // TestSection suffix numbers correspond to SIM TSY's test section numbers. i.e. PrimaryActivationFails201 uses SIM TSYs test201 
       
    41 
       
    42 //
       
    43 // Configure CommDB for the tests using RawIP as lower NIF.
       
    44 //
       
    45 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
    46 ced -i z:\TestData\Configs\TE_SpudNetworkSide_nifman.xml
       
    47 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
    48 
       
    49 
       
    50 
       
    51 //
       
    52 // Nifman stops SPUD when there is just the primary PDP context.
       
    53 //
       
    54 
       
    55 
       
    56 START_TESTCASE          NET-Spud-NetworkSide-0401
       
    57 //! @SYMTestCaseID      NET-Spud-NetworkSide-0401
       
    58 //! @SYMTestCaseDesc Stop the interface when SPUD is deleting the primary context as a result of lower NIF LinkLayerDown.
       
    59 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
    60 //! @SYMTestActions Start Spud & successfully activate the primary context. Write to the primary, such that the lower NIF errors our on the read and report LinkLayerDown. Spud issues deletion request on the primary. When the request is outstanding, RConnection::Stop(EStopNormal) is called on Spud.
       
    61 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app on Spud.
       
    62 //! @SYMTestPriority Critical
       
    63 //! @SYMTestStatus Implemented
       
    64 //! @SYMTestType CIT
       
    65 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryDeletionInterfaceStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopPrimaryDeleting1
       
    66 DELAY 3000
       
    67 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
    68 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
    69 END_TESTCASE            NET-Spud-NetworkSide-0401
       
    70 
       
    71 
       
    72 
       
    73 START_TESTCASE          NET-Spud-NetworkSide-0402
       
    74 //! @SYMTestCaseID      NET-Spud-NetworkSide-0402
       
    75 //! @SYMTestCaseDesc Stop the interface using Idle timeout, when SPUD is deleting the primary context as a result of lower NIF LinkLayerDown.
       
    76 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
    77 //! @SYMTestActions Start Spud & successfully activate the primary context. Write to the primary, such that the lower NIF errors our on the read and report LinkLayerDown. Spud issues deletion request on the primary. When the request is outstanding, Nifman idle timeout stops the Spud with KErrTimedOut.
       
    78 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrTimedOut is received by the test app on Spud.
       
    79 //! @SYMTestPriority Critical
       
    80 //! @SYMTestStatus Implemented
       
    81 //! @SYMTestType CIT
       
    82 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryDeletionInterfaceStop z:\testdata\configs\te_spudNetworkSide_nifman.ini TimeoutStopPrimaryDeleting1
       
    83 DELAY 3000
       
    84 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
    85 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
    86 END_TESTCASE            NET-Spud-NetworkSide-0402
       
    87 
       
    88 
       
    89 
       
    90 START_TESTCASE          NET-Spud-NetworkSide-0403
       
    91 //! @SYMTestCaseID      NET-Spud-NetworkSide-0403
       
    92 //! @SYMTestCaseDesc Stop (EStopNormal) the interface when the primary context is suspended.
       
    93 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
    94 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY suspends the primary. RConnection::Stop(EStopNormal) is called.
       
    95 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
    96 //! @SYMTestPriority Critical
       
    97 //! @SYMTestStatus Implemented
       
    98 //! @SYMTestType CIT
       
    99 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopOnPrimarySuspended1
       
   100 DELAY 3000
       
   101 END_TESTCASE            NET-Spud-NetworkSide-0403
       
   102 
       
   103 START_TESTCASE          NET-Spud-NetworkSide-0404
       
   104 //! @SYMTestCaseID      NET-Spud-NetworkSide-0404
       
   105 //! @SYMTestCaseDesc Stop (EStopNormal) the interface when the primary context is being deactivated.
       
   106 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   107 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY changes the state of the primary to Deactivating. RConnection::Stop(EStopNormal) is called.
       
   108 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   109 //! @SYMTestPriority Critical
       
   110 //! @SYMTestStatus Implemented
       
   111 //! @SYMTestType CIT
       
   112 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopOnPrimaryDeactivating1
       
   113 DELAY 3000
       
   114 END_TESTCASE            NET-Spud-NetworkSide-0404
       
   115 
       
   116 START_TESTCASE          NET-Spud-NetworkSide-0405
       
   117 //! @SYMTestCaseID      NET-Spud-NetworkSide-0405
       
   118 //! @SYMTestCaseDesc Stop (EStopNormal) the interface when the primary context is inactive.
       
   119 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   120 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY changes the state of the primary to Inactive. RConnection::Stop(EStopNormal) is called.
       
   121 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app on Spud.
       
   122 //! @SYMTestPriority Critical
       
   123 //! @SYMTestStatus Implemented
       
   124 //! @SYMTestType CIT
       
   125 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopOnPrimaryInactive1
       
   126 DELAY 3000
       
   127 END_TESTCASE            NET-Spud-NetworkSide-0405
       
   128 
       
   129 START_TESTCASE          NET-Spud-NetworkSide-0406
       
   130 //! @SYMTestCaseID      NET-Spud-NetworkSide-0406
       
   131 //! @SYMTestCaseDesc Stop (EStopAuthoritative) the interface when the primary context is suspended.
       
   132 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   133 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY changes the state of the primary to Suspended. RConnection::Stop(EStopAuhoritative) is called.
       
   134 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrConnectionTerminated is received by the test app.
       
   135 //! @SYMTestPriority Critical
       
   136 //! @SYMTestStatus Implemented
       
   137 //! @SYMTestType CIT
       
   138 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini AuthStopOnPrimarySuspended1
       
   139 DELAY 3000
       
   140 END_TESTCASE            NET-Spud-NetworkSide-0406
       
   141 
       
   142 START_TESTCASE          NET-Spud-NetworkSide-0407
       
   143 //! @SYMTestCaseID      NET-Spud-NetworkSide-0407
       
   144 //! @SYMTestCaseDesc Stop (EStopAuthoritative) the interface when the primary context is being deactivated.
       
   145 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   146 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY changes the state of the primary to Deactivating. RConnection::Stop(EStopAuthoritative) is called.
       
   147 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrConnectionTerminated is received by the test app.
       
   148 //! @SYMTestPriority Critical
       
   149 //! @SYMTestStatus Implemented
       
   150 //! @SYMTestType CIT
       
   151 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini AuthStopOnPrimaryDeactivating1
       
   152 DELAY 3000
       
   153 END_TESTCASE            NET-Spud-NetworkSide-0407
       
   154 
       
   155 
       
   156 START_TESTCASE          NET-Spud-NetworkSide-0408
       
   157 //! @SYMTestCaseID      NET-Spud-NetworkSide-0408
       
   158 //! @SYMTestCaseDesc Stop (EStopAuthoritative) the interface when the primary context is inactive.
       
   159 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   160 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY changes the state of the primary to Inactive. RConnection::Stop(EStopAuthoritative) is called.
       
   161 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrConnectionTerminated is received by the test app.
       
   162 //! @SYMTestPriority Critical
       
   163 //! @SYMTestStatus Implemented
       
   164 //! @SYMTestType CIT
       
   165 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini AuthStopOnPrimaryInactive1
       
   166 DELAY 3000
       
   167 END_TESTCASE            NET-Spud-NetworkSide-0408
       
   168 
       
   169 START_TESTCASE          NET-Spud-NetworkSide-0409
       
   170 //! @SYMTestCaseID      NET-Spud-NetworkSide-0409
       
   171 //! @SYMTestCaseDesc Stop (EStopAuthoritative) the interface when the primary context is the only context, and is active.
       
   172 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   173 //! @SYMTestActions Start Spud & successfully activate the primary context. RConnection::Stop(EStopAuthoritative) is called.
       
   174 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrConnectionTerminated is received by the test app.
       
   175 //! @SYMTestPriority Critical
       
   176 //! @SYMTestStatus Implemented
       
   177 //! @SYMTestType CIT
       
   178 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceStop z:\testdata\configs\te_spudNetworkSide_nifman.ini PrimaryOnlyAuthoritativeStop1
       
   179 DELAY 3000
       
   180 END_TESTCASE            NET-Spud-NetworkSide-0409
       
   181 
       
   182 START_TESTCASE          NET-Spud-NetworkSide-0410
       
   183 //! @SYMTestCaseID      NET-Spud-NetworkSide-0410
       
   184 //! @SYMTestCaseDesc Stop (EStopNormal) the interface when the primary context is the only context, and is active.
       
   185 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   186 //! @SYMTestActions Start Spud & successfully activate the primary context. SIM TSY changes the state of the primary to Inactive. RConnection::Stop(EStopNormal) is called.
       
   187 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   188 //! @SYMTestPriority Critical
       
   189 //! @SYMTestStatus Implemented
       
   190 //! @SYMTestType CIT
       
   191 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudPrimaryInterfaceStop z:\testdata\configs\te_spudNetworkSide_nifman.ini PrimaryOnlyNormalStop1
       
   192 DELAY 3000
       
   193 END_TESTCASE            NET-Spud-NetworkSide-0410
       
   194 
       
   195 
       
   196 
       
   197 //
       
   198 // Nifman stops SPUD where there is a primary and a secondary context.
       
   199 //
       
   200 
       
   201 
       
   202 // ****** GUQoS crashes ESock.
       
   203 START_TESTCASE          NET-Spud-NetworkSide-0411
       
   204 //! @SYMTestCaseID      NET-Spud-NetworkSide-0411
       
   205 //! @SYMTestCaseDesc Stop the interface when SPUD is activating the secondary context.
       
   206 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   207 //! @SYMTestActions Open a socket, set QoS and trigger 2ndary context activation. When activation request on SIM TSY is outstanding, RConnection::Stop(EStopNormal) is called.
       
   208 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   209 //! @SYMTestPriority Critical
       
   210 //! @SYMTestStatus Implemented
       
   211 //! @SYMTestType CIT 
       
   212 RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudSecondaryStartingStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopSecondaryActivating1
       
   213 DELAY 3000
       
   214 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   215 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   216 END_TESTCASE            NET-Spud-NetworkSide-0411
       
   217 
       
   218 
       
   219 // ****** GUQoS crashes ESock.
       
   220 START_TESTCASE          NET-Spud-NetworkSide-0412
       
   221 //! @SYMTestCaseID      NET-Spud-NetworkSide-0412
       
   222 //! @SYMTestCaseDesc Stop the interface when SPUD is setting TFT on the secondary context.
       
   223 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   224 //! @SYMTestActions Open a socket, set QoS and trigger 2ndary context creation. When setting TFT request on SIM TSY is outstanding, RConnection::Stop(EStopNormal) is called.
       
   225 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   226 //! @SYMTestPriority Critical
       
   227 //! @SYMTestStatus Implemented
       
   228 //! @SYMTestType CIT 
       
   229 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudSecondaryStartingStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopSecondarySettingTFT25
       
   230 DELAY 3000
       
   231 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   232 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   233 END_TESTCASE            NET-Spud-NetworkSide-0412
       
   234 
       
   235 
       
   236 
       
   237 
       
   238 START_TESTCASE          NET-Spud-NetworkSide-0413
       
   239 //! @SYMTestCaseID      NET-Spud-NetworkSide-0413
       
   240 //! @SYMTestCaseDesc Trigger GUQoS deletion request due to timeout, after stop was called by Nifman.
       
   241 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   242 //! @SYMTestActions Open a socket, set QoS and sucessfully activate the 2ndary context. Close the socket and wait. RConnection::Stop(EStopNormal) is called. Spud deletes the 2ndary.  When the deletion request on SIM TSY is outstading, GUQoS deletes the secondary due to its timeout. 
       
   243 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   244 //! @SYMTestPriority Critical
       
   245 //! @SYMTestStatus Implemented
       
   246 //! @SYMTestType CIT
       
   247 RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudSecondaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini GUQoSDeleteOnNormalStop1
       
   248 DELAY 3000
       
   249 END_TESTCASE            NET-Spud-NetworkSide-0413
       
   250 
       
   251 
       
   252 // ****** GUQoS crashes ESock.
       
   253 START_TESTCASE          NET-Spud-NetworkSide-0414
       
   254 //! @SYMTestCaseID      NET-Spud-NetworkSide-0414
       
   255 //! @SYMTestCaseDesc Stop the interface when SPUD is deleting the 2ndary context as a result of lower NIF LinkLayerDown.
       
   256 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   257 //! @SYMTestActions Open a socket, set QoS and sucessfully activate the 2ndary context. Trigger 2ndary's lower NIF to signal LinkLayerDown. Spud deletes the 2ndary. When the deletion request on SIM TSY is outstading,  RConnection::Stop(EStopNormal) is called.
       
   258 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   259 //! @SYMTestPriority Critical
       
   260 //! @SYMTestStatus Implemented
       
   261 //! @SYMTestType CIT
       
   262 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudSecondaryLowerNifDownStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopSecondaryLowerNifDown1
       
   263 DELAY 3000
       
   264 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   265 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   266 END_TESTCASE            NET-Spud-NetworkSide-0414
       
   267 
       
   268 
       
   269 START_TESTCASE          NET-Spud-NetworkSide-0415
       
   270 //! @SYMTestCaseID      NET-Spud-NetworkSide-0415
       
   271 //! @SYMTestCaseDesc Stop the interface when SPUD is deleting the 2ndary context following a GUQoS deletion request due to timeout.
       
   272 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   273 //! @SYMTestActions Open a socket, set QoS and sucessfully activate the 2ndary context. Close the socket. GUQoS deletes the secondary after a timeout. When the deletion request on SIM TSY is outstading,  RConnection::Stop(EStopNormal) is called.
       
   274 //! @SYMTestExpectedResults Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   275 //! @SYMTestPriority Critical
       
   276 //! @SYMTestStatus Implemented
       
   277 //! @SYMTestType CIT
       
   278 RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudSecondaryInterfaceEventStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopGUQoSDeletingSecondary1
       
   279 DELAY 3000
       
   280 END_TESTCASE            NET-Spud-NetworkSide-0415
       
   281 
       
   282 
       
   283 
       
   284 START_TESTCASE          NET-Spud-NetworkSide-0416
       
   285 //! @SYMTestCaseID      NET-Spud-NetworkSide-0416
       
   286 //! @SYMTestCaseDesc Stop (EStopAuthoritative) the interface when the primary & 2ndary contexts are active.
       
   287 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   288 //! @SYMTestActions Successfully activate the primary and the secondary contexts. RConnection::Stop(EStopAuthoritative) is called.
       
   289 //! @SYMTestExpectedResults EQoSEventConfirm is received. Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrConnectionTerminated is received by the test app.
       
   290 //! @SYMTestPriority Critical
       
   291 //! @SYMTestStatus Implemented
       
   292 //! @SYMTestType CIT 
       
   293 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudSecondaryInterfaceStop z:\testdata\configs\te_spudNetworkSide_nifman.ini AuthStopSecondaryActive1
       
   294 DELAY 3000
       
   295 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   296 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   297 END_TESTCASE            NET-Spud-NetworkSide-0416
       
   298 
       
   299 START_TESTCASE          NET-Spud-NetworkSide-0417
       
   300 //! @SYMTestCaseID      NET-Spud-NetworkSide-0417
       
   301 //! @SYMTestCaseDesc Stop (EStopNormal) the interface when the primary & 2ndary contexts are active.
       
   302 //! @SYMFssID NETWORKING/Spud/Control Plane/ PDP Context Deactivation
       
   303 //! @SYMTestActions Successfully activate the primary and the secondary contexts. RConnection::Stop(EStopNormal) is called.
       
   304 //! @SYMTestExpectedResults EQoSEventConfirm is received. Spud shuts down gracefully, does not crash/hang, etc. KLinkLayerClosed with KErrCancel is received by the test app.
       
   305 //! @SYMTestPriority Critical
       
   306 //! @SYMTestStatus Implemented
       
   307 //! @SYMTestType CIT 
       
   308 RUN_TEST_STEP 180 TE_SpudNetworkSide CSpudSecondaryInterfaceStop z:\testdata\configs\te_spudNetworkSide_nifman.ini NormalStopSecondaryActive1
       
   309 DELAY 3000
       
   310 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   311 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   312 END_TESTCASE            NET-Spud-NetworkSide-0417
       
   313 
       
   314 
       
   315 
       
   316 
       
   317 
       
   318 // We must make sure SIM TSY fails when opening RPhone. We get rid of the config file.
       
   319 RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
       
   320 RUN_UTILS  MakeReadWrite c:\config.txt
       
   321 RUN_UTILS  DeleteFile c:\simtsy\config.txt
       
   322 RUN_UTILS  DeleteFile c:\config.txt
       
   323 
       
   324 
       
   325 START_TESTCASE          NET-Spud-NetworkSide-0418
       
   326 //! @SYMTestCaseID      NET-Spud-NetworkSide-0418
       
   327 //! @SYMTestCaseDesc Leave when trying to construct SPUD.  
       
   328 //! @SYMFssID NETWORKING/Spud/Control Plane/Secondary PDP Context Creation
       
   329 //! @SYMTestActions  Cause RPhone::Open to fail, resulting CSpudMan construction to Leave with KErrNone.
       
   330 //! @SYMTestExpectedResults Spud start fails gracefully. No crash in ESock. KLinkLayerClosed with KErrNotFound is received by the test app. 
       
   331 //! @SYMTestPriority Critical
       
   332 //! @SYMTestStatus Implemented
       
   333 //! @SYMTestType CIT
       
   334 RUN_TEST_STEP 120 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide_nifman.ini LeaveInSpudCreation
       
   335 DELAY 3000
       
   336 END_TESTCASE            NET-Spud-NetworkSide-0418
       
   337 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   338 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   339 
       
   340 
       
   341 
       
   342 RUN_UTILS  DeleteFile c:\loopback.ini
       
   343 RUN_UTILS  DeleteFile c:\qospolicies.ini
       
   344 RUN_UTILS  DeleteFile c:\private\101F7989\esock\qospolicies.ini
       
   345 
       
   346 
       
   347 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   348