diff -r 3f227a47ad75 -r 2492a6e4aed7 telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_spudNetworkSide.script --- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_spudNetworkSide.script Wed Apr 14 17:11:46 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_spudNetworkSide.script Tue Apr 27 17:51:07 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2004-2010 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" @@ -570,10 +570,31 @@ END_TESTCASE NET-Spud-NetworkSide-0830 run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script +//The agentdialog.ini contains UID of agent dummy notifier which will make sure that authorization info is returned successfully. +RUN_UTILS CopyFile z:\TestData\Configs\agentdialog.ini c:\private\101F7989\esock\agentdialog.ini +ced -i z:\TestData\Configs\te_spudnetworkside_promptforauth.xml +run_script z:\TestData\scripts\te_esock_test_loadesock.script + +START_TESTCASE NET-Spud-NetworkSide-0831 +//! @SYMTestCaseID NET-Spud-NetworkSide-0831 +//! @SYMTestCaseDesc Sanity check: successfully activate Primary context when prompt for authorization is true. +//! @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-0831 + +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 +RUN_UTILS DeleteFile c:\private\101F7989\esock\agentdialog.ini