telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp Wed Jun 09 10:58:06 2010 +0300
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp Mon Jun 21 16:59:31 2010 +0300
@@ -1981,6 +1981,12 @@
// start rawipnif instance opposite the SPUD's secondary context, and open a socket on it
CConnectionStart *secondaryIfStart = CConnectionStart::NewLC(iEsock, *this, oppositeSecondaryIapId);
+
+ TRequestStatus progressReqSt;
+
+ secondaryIfStart->iInterface.ProgressNotification(iProgressBuf, progressReqSt, 7000);
+ WaitForProgressNotificationL(progressReqSt, 7000, 0); // We can wait here forever. Set timeout on test step.
+
#ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
WaitForQoSEventL(_L("SecondaryActivationEvent2"), _L("SecondaryActivationEvent2Reason"));
#else
@@ -2238,6 +2244,20 @@
TestL(p->Start(iap1prefs),primaryCreationErr, _L("RConnection::Start the interface"));
}
+ //check if all contexts are still there
+ for (TInt i = 0; i < maximumConnections; i++)
+ {
+ TBuf<32> primaryIap;
+ primaryIap.Format(KPrimaryIapFormatLit, i + 1);
+ if (!GetIntFromConfig(ConfigSection(), primaryIap, primaryIapId))
+ {
+ User::Leave(KErrNotFound);
+ }
+ INFO_PRINTF2(_L("Verify context #%d is still there"), i);
+ VerifySubconnectionCountL(2, primaryIapId);
+ INFO_PRINTF2(_L("Context #%d is still there"), i);
+ }
+
for (TInt i = (interfaces.Count() - 1); i >= 0; i--)
{