telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_spudNetworkSide.script
branchRCL_3
changeset 3 962e6306d9d2
parent 0 3553901f7fa8
child 5 7ef16719d8cb
equal deleted inserted replaced
0:3553901f7fa8 3:962e6306d9d2
   479 DELAY 3000
   479 DELAY 3000
   480 RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
   480 RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
   481 END_TESTCASE            NET-Spud-NetworkSide-0825
   481 END_TESTCASE            NET-Spud-NetworkSide-0825
   482 
   482 
   483 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
   483 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
   484 
   484 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   485 
       
   486 // Unusual cases tests. This happens if TSY acting wrong.
       
   487 
       
   488 START_TESTCASE          NET-Spud-NetworkSide-0826
       
   489 //! @SYMTestCaseID      NET-Spud-NetworkSide-0826
       
   490 //! @SYMTestCaseDesc Sanity check: Primary context activation ends up with inactive context.
       
   491 //! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
       
   492 //! @SYMTestActions Activate a primary PDP context, simtsy is set up to make context activation end up with an inactive context but return error code = KErrNone. SpudTel should treat this situation accordingly and return KErrCompletion.
       
   493 //! @SYMTestExpectedResults  Primary context activation should return KErrCompletion.
       
   494 //! @SYMTestPriority Normal
       
   495 //! @SYMTestStatus Implemented
       
   496 //! @SYMTestType CIT
       
   497 RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationEndUpWithInactiveContext
       
   498 DELAY 3000
       
   499 RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
       
   500 END_TESTCASE            NET-Spud-NetworkSide-0826
       
   501 
       
   502 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   503 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   504 
       
   505 START_TESTCASE          NET-Spud-NetworkSide-0827
       
   506 //! @SYMTestCaseID      NET-Spud-NetworkSide-0827
       
   507 //! @SYMTestCaseDesc  Sanity check: Primary context activation ends up with inactive context.
       
   508 //! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
       
   509 //! @SYMTestActions Activate a primary PDP context, simtsy is set up to make context activation end up with an inactive context but return error code = KErrGeneral. SpudTel should treat this situation accordingly and return KErrGeneral.
       
   510 //! @SYMTestExpectedResults  Primary context activation should return KErrGeneral.
       
   511 //! @SYMTestPriority Normal
       
   512 //! @SYMTestStatus Implemented
       
   513 //! @SYMTestType CIT
       
   514 RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationEndUpWithInactiveContext2
       
   515 DELAY 3000
       
   516 RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
       
   517 END_TESTCASE            NET-Spud-NetworkSide-0827
       
   518 
       
   519 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   520 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   521 
       
   522 START_TESTCASE          NET-Spud-NetworkSide-0828
       
   523 //! @SYMTestCaseID      NET-Spud-NetworkSide-0828
       
   524 //! @SYMTestCaseDesc  Sanity check: Primary context activation ends up with inactive context.
       
   525 //! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
       
   526 //! @SYMTestActions Activate a primary PDP context, simtsy is set up to make context activation end up with an inactive context but return an extended error code. SpudTel should treat this situation accordingly and return that extended error code.
       
   527 //! @SYMTestExpectedResults  Primary context activation should return -65536.
       
   528 //! @SYMTestPriority Normal
       
   529 //! @SYMTestStatus Implemented
       
   530 //! @SYMTestType CIT
       
   531 RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationEndUpWithInactiveContext3
       
   532 DELAY 3000
       
   533 RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
       
   534 END_TESTCASE            NET-Spud-NetworkSide-0828
       
   535 
       
   536 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
       
   537 run_script z:\TestData\scripts\te_esock_test_loadesock.script
       
   538 
       
   539 //The following testcase is for covering all the corner of the code for the case when primary context activation ends up with inactive context.
       
   540 
       
   541 START_TESTCASE          NET-Spud-NetworkSide-0829
       
   542 //! @SYMTestCaseID      NET-Spud-NetworkSide-0829
       
   543 //! @SYMTestCaseDesc  Sanity check: Primary context activation ends up with inactive context.
       
   544 //! @SYMFssID NETWORKING/Spud/Control Plane/Primary PDP Context Creation
       
   545 //! @SYMTestActions Activate a primary PDP context, simtsy is set up to make context activation end up with an inactive context. The function GetLastErrorCause, which is used for getting the last error code, will complete with KErrGeneral. 
       
   546 //! @SYMTestExpectedResults  Primary context activation should return KErrCompletion.
       
   547 //! @SYMTestPriority Normal
       
   548 //! @SYMTestStatus Implemented
       
   549 //! @SYMTestType CIT
       
   550 RUN_TEST_STEP 60 TE_SpudNetworkSide CSpudPrimary z:\testdata\configs\te_spudNetworkSide.ini PrimaryActivationEndUpWithInactiveContext4
       
   551 DELAY 3000
       
   552 RUN_TEST_STEP 60 TE_SpudNetworkSide CESockCheck z:\testdata\configs\te_spudNetworkSide.ini ESockCheck
       
   553 END_TESTCASE            NET-Spud-NetworkSide-0829
       
   554 
       
   555 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
   485 
   556 
   486 RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
   557 RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
   487 RUN_UTILS  MakeReadWrite c:\config.txt
   558 RUN_UTILS  MakeReadWrite c:\config.txt
   488 RUN_UTILS  DeleteFile c:\simtsy\config.txt
   559 RUN_UTILS  DeleteFile c:\simtsy\config.txt
   489 RUN_UTILS  DeleteFile c:\config.txt
   560 RUN_UTILS  DeleteFile c:\config.txt