datacommsserver/esockserver/test/TE_EsockTestSteps/inc/ConnectionServer.TestSteps.h
changeset 0 dfb7c4ff071f
child 4 928ed51ddc43
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 /**
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file ConnectionServer.TestSteps.h
       
    22 */
       
    23 
       
    24 #if (!defined CONNECTIONSERVER_TESTSTEPS_H)
       
    25 #define CONNECTIONSERVER_TESTSTEPS_H
       
    26 
       
    27 #include <test/testexecutestepbase.h>
       
    28 #include "Te_EsockStepBase.h"
       
    29 #include <comms-infras/es_connectionserv.h>
       
    30 #include <comms-infras/cs_connservparams.h>
       
    31 
       
    32 //#include <comms-infras/connservwifiparams.h>
       
    33 
       
    34 #include <networking/mbmsparams.h>
       
    35 #include <networking/qos3gpp_subconparams.h>
       
    36 #include <genericscprparams.h>
       
    37 
       
    38 #include <comms-infras/es_availability.h>
       
    39 #include <etelmm.h>
       
    40 
       
    41 _LIT(KConnectionServName, "ConnServName");
       
    42 _LIT(KConnectionServTierId, "TierId");
       
    43 
       
    44 // Test step classes
       
    45 //------------------
       
    46 
       
    47 /**
       
    48 Class implementing CreateRConnectionServStep
       
    49 
       
    50 @internalComponent
       
    51 */
       
    52 class CCreateRConnectionServStep : public CTe_EsockStepBase
       
    53 	{
       
    54 public:
       
    55 	CCreateRConnectionServStep(CCEsockTestBase*& aEsockTest);
       
    56 	TVerdict doTestStepPreambleL();
       
    57 	TVerdict doSingleTestStep();
       
    58 	TInt ConfigureFromIni();
       
    59 
       
    60 private:
       
    61 	TPtrC iConnectionServName;
       
    62 	};
       
    63 
       
    64 _LIT(KCreateRConnectionServStep, "CreateRConnectionServStep");
       
    65 
       
    66 
       
    67 /**
       
    68 Class implementing CConnectRConnectionServStep
       
    69 
       
    70 @internalComponent
       
    71 */
       
    72 class CConnectRConnectionServStep : public CTe_EsockStepBase
       
    73 	{
       
    74 public:
       
    75 	CConnectRConnectionServStep(CCEsockTestBase*& aEsockTest);
       
    76 	TVerdict doSingleTestStep();
       
    77 	TInt ConfigureFromIni();
       
    78 	TInt TierNameToTierId(const TDesC& aTierName, TUint& aTierId);
       
    79 	
       
    80 private:
       
    81 	TPtrC iConnectionServName;
       
    82 	TUint iTierId;
       
    83 	};
       
    84 
       
    85 _LIT(KConnectRConnectionServStep, "ConnectRConnectionServStep");
       
    86 
       
    87 
       
    88 /**
       
    89 Class implementing CRConnectionServApiExtStep
       
    90 
       
    91 @internalComponent
       
    92 */
       
    93 class CRConnectionServApiExtStep : public CTe_EsockStepBase
       
    94 	{
       
    95 public:
       
    96 	CRConnectionServApiExtStep(CCEsockTestBase*& aEsockTest);
       
    97 	TVerdict doSingleTestStep();
       
    98 	TInt ConfigureFromIni();
       
    99 	
       
   100 private:
       
   101 	RCommsDataMonitoringApiExt iExt;
       
   102 	TPtrC iConnectionServName;
       
   103 	TUint iTierId;
       
   104 	};
       
   105 
       
   106 _LIT(KRConnectionServApiExtStep, "RConnectionServApiExtStep");
       
   107 
       
   108 
       
   109 
       
   110 /**
       
   111 Class implementing CCloseRConnectionServStep
       
   112 
       
   113 @internalComponent
       
   114 */
       
   115 class CCloseRConnectionServStep : public CTe_EsockStepBase
       
   116 	{
       
   117 public:
       
   118 	CCloseRConnectionServStep(CCEsockTestBase*& aEsockTest);
       
   119 	TVerdict doSingleTestStep();
       
   120 	TInt ConfigureFromIni();
       
   121 	
       
   122 private:
       
   123 	TPtrC iConnectionServName;
       
   124 	};
       
   125 
       
   126 _LIT(KCloseRConnectionServStep, "CloseRConnectionServStep");
       
   127 
       
   128 
       
   129 class TExpectedAccessPointStatusMask : public ConnectionServ::TAccessPointStatusFilter
       
   130 	{
       
   131 public:
       
   132 	TBool CompareToAPStatus(const ConnectionServ::TAccessPointStatus& aStatus) const;
       
   133 		
       
   134 private:
       
   135 	TBool CompareStatusFlagToMaskFlag(
       
   136 		const ConnectionServ::TAccessPointFlagValue apFlag,
       
   137 		const ConnectionServ::TAccessPointFlagFilterValue apMaskValue) const;
       
   138 	};
       
   139 
       
   140 
       
   141 class TExpectedAccessPointParameters
       
   142 	{
       
   143 public:
       
   144 	TExpectedAccessPointParameters(
       
   145 		const TAccessPointInfo& aInfo,
       
   146 		const TExpectedAccessPointStatusMask& aStatus)
       
   147 			: iInfo(aInfo), iStatus(aStatus) {}
       
   148 	const TExpectedAccessPointStatusMask& AccessPointStatus() const {return iStatus;}
       
   149 	const TAccessPointInfo& AccessPointInfo() const {return iInfo;}
       
   150 
       
   151 private:
       
   152 	TAccessPointInfo iInfo;
       
   153 	TExpectedAccessPointStatusMask iStatus;
       
   154 	};
       
   155 
       
   156 /**
       
   157 Base class for query based RConnectionServ tests
       
   158 
       
   159 @internalComponent
       
   160 */
       
   161 class CRConnectionServQueryTestStepBase : public CTe_EsockStepBase
       
   162 	{
       
   163 public:
       
   164 	CRConnectionServQueryTestStepBase(CCEsockTestBase*& aEsockTest) : CTe_EsockStepBase(aEsockTest) {}
       
   165 
       
   166 protected:
       
   167 	void BundleToString(const CParameterBundleBase* aBundle, TDes& aBuf);
       
   168 	void ParamSetCtrToString(const CParameterSetContainer* aCtnr,TDes& aBuf);
       
   169 	void GenericParamsToString(const ConnectionServ::XAccessPointGenericParameterSet* aSet, TDes& aBuf);
       
   170 	//void WifiParamsToString(const ConnectionServ::XAccessPointWifiParameterSet* aSet, TDes& aBuf);
       
   171 	void MBMSParamsToString(const ConnectionServ::XMBMSServiceQuerySet* aSet,
       
   172 			TDes& aBuf);
       
   173 	void MBMSServiceParamsToString(const ConnectionServ::XMBMSServiceParameterSet* aSet,
       
   174 				TDes& aBuf); 
       
   175 	TChar GetApFlagChar(ConnectionServ::TAccessPointFlagValue val);
       
   176 
       
   177 	TInt BuildQueryL(ConnectionServ::CConnectionServParameterBundle& aQueryBundle);
       
   178 	TInt BuildExpectedResultsL(
       
   179 		RArray<TExpectedAccessPointParameters>& aExpectedAPParameters,
       
   180 		TInt& aNumExpectedAPs);
       
   181 	void FetchFilterL(const TDesC& aFilterDes, ConnectionServ::TAccessPointStatusFilter& aFetchedFilter);
       
   182 	ConnectionServ::TAccessPointFlagFilterValue ReadFlagFilterValueL(TChar ch);
       
   183 
       
   184 	TBool CompareAgainstExpected(
       
   185 		TInt aNumExpected,
       
   186 		RArray<TExpectedAccessPointParameters>& aAPsExpected,
       
   187 		ConnectionServ::CConnectionServParameterBundle& aResultsBundle);
       
   188 	};
       
   189 
       
   190 /**
       
   191 Class implementing CAccessPointStatusQueryStep
       
   192 
       
   193 @internalComponent
       
   194 */
       
   195 class CAccessPointStatusQueryStep : public CRConnectionServQueryTestStepBase
       
   196 	{
       
   197 public:
       
   198 	CAccessPointStatusQueryStep(CCEsockTestBase*& aEsockTest);
       
   199 	TVerdict doSingleTestStep();
       
   200 	TInt ConfigureFromIni();
       
   201 
       
   202 private:
       
   203 	~CAccessPointStatusQueryStep();
       
   204 
       
   205 	TPtrC iConnectionServName;
       
   206 	ConnectionServ::CConnectionServParameterBundle*	iQueryBundle;
       
   207 	ConnectionServ::CConnectionServParameterBundle*	iResultsBundle;
       
   208 	TInt iExpectedError;
       
   209 	TInt iNumExpectedAPs;
       
   210 	RArray<TExpectedAccessPointParameters> iExpectedAPParameters;
       
   211 	};
       
   212 
       
   213 _LIT(KAccessPointStatusQueryStep, "AccessPointStatusQueryStep");
       
   214 
       
   215 
       
   216 /**
       
   217 Class implementing CCancelAccessPointStatusQueryStep
       
   218 
       
   219 @internalComponent
       
   220 */
       
   221 class CCancelAccessPointStatusQueryStep : public CRConnectionServQueryTestStepBase
       
   222 	{
       
   223 public:
       
   224 	CCancelAccessPointStatusQueryStep(CCEsockTestBase*& aEsockTest);
       
   225 	TVerdict doSingleTestStep();
       
   226 	TInt ConfigureFromIni();
       
   227 
       
   228 private:
       
   229 	~CCancelAccessPointStatusQueryStep();
       
   230 
       
   231 	TPtrC iConnectionServName;
       
   232 	ConnectionServ::CConnectionServParameterBundle*	iQueryBundle;
       
   233 	ConnectionServ::CConnectionServParameterBundle*	iResultsBundle;
       
   234 	TInt iNumExpectedAPs;
       
   235 	RArray<TExpectedAccessPointParameters> iExpectedAPParameters;
       
   236 	};
       
   237 
       
   238 _LIT(KCancelAccessPointStatusQueryStep, "CancelAccessPointStatusQueryStep");
       
   239 
       
   240 
       
   241 /**
       
   242 Class implementing CRequestAccessPointNotification
       
   243 
       
   244 @internalComponent
       
   245 */
       
   246 class CRequestAccessPointNotificationStep : public CRConnectionServQueryTestStepBase
       
   247 	{
       
   248 public:
       
   249 	CRequestAccessPointNotificationStep(CCEsockTestBase*& aEsockTest);
       
   250 	TVerdict doSingleTestStep();
       
   251 	TInt ConfigureFromIni();
       
   252 
       
   253 private:
       
   254 	TPtrC iConnectionServName;
       
   255 	TPtrC iNotifName;
       
   256 	ConnectionServ::CConnectionServParameterBundle*	iQueryBundle;
       
   257 	ConnectionServ::CConnectionServParameterBundle*	iResultsBundle;
       
   258 	TInt iExpectedError;
       
   259 	TInt iNumExpectedAPs;
       
   260 	RArray<TExpectedAccessPointParameters> iExpectedAPParameters;
       
   261 	};
       
   262 
       
   263 _LIT(KRequestAccessPointNotificationStep, "RequestAccessPointNotificationStep");
       
   264 
       
   265 
       
   266 /**
       
   267 Class implementing CReceiveAccessPointNotification
       
   268 
       
   269 @internalComponent
       
   270 */
       
   271 class CReceiveAccessPointNotificationStep : public CRConnectionServQueryTestStepBase
       
   272 	{
       
   273 public:
       
   274 	CReceiveAccessPointNotificationStep(CCEsockTestBase*& aEsockTest);
       
   275 	TVerdict doSingleTestStep();
       
   276 	TInt ConfigureFromIni();
       
   277 
       
   278 private:
       
   279 	TPtrC iConnectionServName;
       
   280 	TPtrC iNotifName;
       
   281 	RArray<TExpectedAccessPointParameters> iExpectedAPParameters;
       
   282 	TInt iNumExpectedAPs;
       
   283 	TInt iInitialDelayInSeconds;
       
   284 	TBool iExpectingNotification;
       
   285 	};
       
   286 
       
   287 _LIT(KReceiveAccessPointNotificationStep, "ReceiveAccessPointNotificationStep");
       
   288 
       
   289 
       
   290 
       
   291 /**
       
   292 Class implementing CCancelAccessPointNotification
       
   293 
       
   294 @internalComponent
       
   295 */
       
   296 class CCancelAccessPointNotificationStep : public CRConnectionServQueryTestStepBase
       
   297 	{
       
   298 public:
       
   299 	CCancelAccessPointNotificationStep(CCEsockTestBase*& aEsockTest);
       
   300 	TVerdict doSingleTestStep();
       
   301 	TInt ConfigureFromIni();
       
   302 
       
   303 private:
       
   304 	TPtrC iNotifName;
       
   305 	TInt iInitialDelayInSeconds;
       
   306 	};
       
   307 
       
   308 _LIT(KCancelAccessPointNotificationStep, "CancelAccessPointNotificationStep");
       
   309 
       
   310 
       
   311 
       
   312 class MObserverTimeout
       
   313 	{
       
   314 public:
       
   315 	virtual void Timeout() = 0;
       
   316 	};
       
   317 
       
   318 
       
   319 // CConnServNotificationWatcher
       
   320 //-----------------------------
       
   321 class CConnServNotificationWatcher :
       
   322 	public CBase,
       
   323 	public ConnectionServ::MAccessPointNotificationObserver
       
   324 	{
       
   325 public:
       
   326 	// Thread entry point
       
   327 	//-------------------
       
   328 	static TInt EntryPoint(TAny* aArgs);
       
   329 	void RunNotificationL();
       
   330 	
       
   331 	CConnServNotificationWatcher(ConnectionServ::RConnectionServ* aConnServ)
       
   332 		: iConnServ(*aConnServ) {}
       
   333 
       
   334 	static CConnServNotificationWatcher* NewLC(
       
   335 		ConnectionServ::RConnectionServ* aConnServ,
       
   336 		ConnectionServ::CConnectionServParameterBundle* aQueryBundle);
       
   337 	
       
   338 	void ConstructL(ConnectionServ::CConnectionServParameterBundle* aQueryBundle);
       
   339 
       
   340 	// MAccessPointNotificationObserver
       
   341 	//---------------------------------
       
   342 	virtual void AccessPointNotification(ConnectionServ::CConnectionServParameterBundle* aResult);
       
   343 	virtual void AccessPointNotificationError(TInt aErrCode);
       
   344 
       
   345 	void Wait() {iMutex.Wait();}
       
   346 	void Signal() {iMutex.Signal();}
       
   347 	
       
   348 	void AwaitStartupCompletionL() const;
       
   349 	void WaitOnQueueL() const;
       
   350 	
       
   351 	void PerformNotificationRequestL();
       
   352 	ConnectionServ::CConnectionServParameterBundle* GetResultsBundle();
       
   353 
       
   354 	
       
   355 	void CancelNotification();
       
   356 	TInt ErrCode() const { return iErrCode; }
       
   357 	void DoCancel();
       
   358 	~CConnServNotificationWatcher();
       
   359 	
       
   360 private:
       
   361 	TInt iErrCode;
       
   362 	ConnectionServ::RConnectionServ iConnServ;
       
   363 	ConnectionServ::CConnectionServParameterBundle* iQueryBundle;
       
   364 	RPointerArray<ConnectionServ::CConnectionServParameterBundle> iNotificationBundles;
       
   365 	TInt iTimeout;
       
   366 	RMutex iMutex;
       
   367 	RProperty iQueueProp;
       
   368 	TBool iHaveReceivedNotifSetupAck;
       
   369 	
       
   370 public:
       
   371 	RThread iNotifThread;
       
   372 	RThread iCommandThread;
       
   373 	TRequestStatus* iCancelStatus;
       
   374 	};
       
   375 
       
   376 
       
   377 // CNotifCancelControl
       
   378 //--------------------
       
   379 class CNotifCancelControl : public CActive
       
   380 	{
       
   381 public:
       
   382 	CNotifCancelControl(CConnServNotificationWatcher& aNotifMgr)
       
   383 		: iNotifManager(aNotifMgr), CActive(EPriorityStandard) {}
       
   384 	
       
   385 	static CNotifCancelControl* NewL(CConnServNotificationWatcher& aNotifMgr)
       
   386 		{
       
   387 		CNotifCancelControl* mine = new(ELeave) CNotifCancelControl(aNotifMgr);
       
   388 		CActiveScheduler::Add(mine);
       
   389 		return mine;
       
   390 		}
       
   391 
       
   392 	void Wait()
       
   393 		{
       
   394 		iStatus = KRequestPending;
       
   395 		SetActive();
       
   396 		iNotifManager.iCancelStatus = &iStatus;
       
   397 		}
       
   398 
       
   399 private:
       
   400 	void DoCancel() {}
       
   401 	void RunL()
       
   402 		{
       
   403 		// Stop the active scheduler which will cancel all outstanding requests
       
   404 		CActiveScheduler::Stop();
       
   405 		}
       
   406 		
       
   407 private:
       
   408 	CConnServNotificationWatcher& iNotifManager;
       
   409 	};
       
   410 
       
   411 
       
   412 /**
       
   413 Class implementing CSetAccessPointAvailabilityStep
       
   414 
       
   415 @internalComponent
       
   416 @description Enables the setting of availability status on access points for simulation of availability
       
   417 */
       
   418 class CSetAccessPointAvailabilityStep : public CTe_EsockStepBase
       
   419 	{
       
   420 public:
       
   421 	CSetAccessPointAvailabilityStep(CCEsockTestBase*& aEsockTest);
       
   422 	TVerdict doTestStepPreambleL();
       
   423 	TVerdict doSingleTestStep();
       
   424 	TInt ConfigureFromIni();
       
   425 
       
   426 private:
       
   427 	TInt iAccessPointId;
       
   428 	TInt iAvailabilityScore;
       
   429 	};
       
   430 
       
   431 _LIT(KSetAccessPointAvailabilityStep, "SetAccessPointAvailabilityStep");
       
   432 
       
   433 /**
       
   434 Class implementing CSetPppAccessPointAvailabilityStep
       
   435 
       
   436 @internalComponent
       
   437 @description Enables the setting of Ppp availability status on access points for simulation of availability
       
   438 */
       
   439 class CSetPppAccessPointAvailabilityStep : public CTe_EsockStepBase
       
   440 	{
       
   441 public:
       
   442 	CSetPppAccessPointAvailabilityStep(CCEsockTestBase*& aEsockTest);
       
   443 	TVerdict doTestStepPreambleL();
       
   444 	TVerdict doSingleTestStep();
       
   445 	TInt ConfigureFromIni();
       
   446 
       
   447 private:
       
   448 	RMobilePhone::TMobilePhoneRegistrationStatus iRegStatus;
       
   449 	};
       
   450 
       
   451 _LIT(KSetPppAccessPointAvailabilityStep, "SetPppAccessPointAvailabilityStep");
       
   452 
       
   453 /**
       
   454 Class implementing CSetWifiAccessPointAvailabilityStep
       
   455 
       
   456 @internalComponent
       
   457 @description Enables the setting of Ppp availability status on access points for simulation of availability
       
   458 */
       
   459 class CSetWifiAccessPointAvailabilityStep : public CTe_EsockStepBase
       
   460 	{
       
   461 public:
       
   462 	CSetWifiAccessPointAvailabilityStep(CCEsockTestBase*& aEsockTest);
       
   463 	TVerdict doTestStepPreambleL();
       
   464 	TVerdict doSingleTestStep();
       
   465 	TInt ConfigureFromIni();
       
   466 
       
   467 private:
       
   468 	TInt	iAPAvailable;
       
   469 	TPtrC	iSsid;
       
   470 	TPtrC	iBssid;
       
   471 	TPtrC	iSupportedRates;
       
   472 	TPtrC	iNetworkType;
       
   473 	TPtrC	iAuthenticated;
       
   474 	TPtrC	iEncrypt;
       
   475 	TPtrC	iAPEncryptionType;
       
   476 	TPtrC	iAssociated;
       
   477 	TPtrC	iChannel;
       
   478 	TPtrC	iRssi;
       
   479 	};
       
   480 
       
   481 _LIT(KSetWifiAccessPointAvailabilityStep, "SetWifiAccessPointAvailabilityStep");
       
   482 
       
   483 // Changes for MBMS Broadcast related test cases starts here 
       
   484 enum TTypeOfNotification
       
   485 		{
       
   486 		EMbmsBearerAvailNtfn =1,
       
   487 		EMbmsServiceAvailNtfn,
       
   488 		EMbmsRemoveServiceNtfn,
       
   489 		EMbmsActiveListNtfn,
       
   490 		EMbmsMonitorListNtfn
       
   491 		};
       
   492 
       
   493 _LIT(KRequestMBMSNtfnStep, "RequestMBMSNtfnStep");
       
   494 _LIT(KReceiveMBMSNtfnStep, "ReceiveMBMSNtfnStep");
       
   495 _LIT(KCancelMBMSNtfnStep, "CancelMBMSNtfnStep");
       
   496 
       
   497 /**
       
   498 Class implementing CRequestMBMSNtfnStep
       
   499 @internalComponent
       
   500 */
       
   501 
       
   502 class CRequestMBMSNtfnStep : public CRConnectionServQueryTestStepBase
       
   503 	{
       
   504 public:
       
   505 	CRequestMBMSNtfnStep(CCEsockTestBase*& aEsockTest);
       
   506 	TVerdict doSingleTestStep();
       
   507 	TInt ConfigureFromIni();
       
   508 
       
   509 private:
       
   510 	 enum TAction
       
   511 			   {
       
   512 			    EAddService =1,
       
   513 			    ERemoveService =2,
       
   514 			    ERemoveAllServices=3
       
   515 			    };
       
   516 	 
       
   517 	~CRequestMBMSNtfnStep();
       
   518 	TInt BuildBearerAvailQueryL(ConnectionServ::CConnectionServParameterBundle& aQueryBundle);
       
   519 	TInt BuildServiceAvailQueryL(ConnectionServ::CConnectionServParameterBundle& aQueryBundle);
       
   520 	TInt BuildRemoveServiceQueryL(ConnectionServ::CConnectionServParameterBundle& aQueryBundle,TAction aAction);
       
   521 	TInt BuildActiveListQueryL(ConnectionServ::CConnectionServParameterBundle& aQueryBundle);
       
   522 	TInt BuildMonitorListQueryL(ConnectionServ::CConnectionServParameterBundle& aQueryBundle);
       
   523 			
       
   524 	TPtrC iConnectionServName;
       
   525 	TPtrC iNotifName;   
       
   526 	ConnectionServ::CConnectionServParameterBundle*	iQueryBundle;
       
   527 	ConnectionServ::CConnectionServParameterBundle*	iQueryBundleAdd;
       
   528 		
       
   529 	TTypeOfNotification iNotificationType;
       
   530 
       
   531 	TBool iIsMultiClient; 
       
   532 	TUint iNumTmgis; 
       
   533 	TUint iMCC;
       
   534 	TUint iMNC;
       
   535 	TInt iServiceId;
       
   536 	TInt iAccessBearer;
       
   537 	TInt iServiceMode;
       
   538 	
       
   539 	CArrayFixFlat <TTmgi> *iTmgiList;
       
   540 		
       
   541 	TBool iAllTmgiValid;
       
   542 	TBool iAllTmgiInvalid;
       
   543 	TBool iRemoveAll;
       
   544 	};
       
   545 
       
   546 /**
       
   547 Class implementing CReceiveMBMSNtfnStep
       
   548 @internalComponent
       
   549 */
       
   550 
       
   551 class CReceiveMBMSNtfnStep : public CRConnectionServQueryTestStepBase
       
   552 	{
       
   553 public:
       
   554 	CReceiveMBMSNtfnStep(CCEsockTestBase*& aEsockTest);
       
   555 	TVerdict doSingleTestStep();
       
   556 	TInt ConfigureFromIni();
       
   557 
       
   558 private:
       
   559 	~CReceiveMBMSNtfnStep();
       
   560 	
       
   561 	TPtrC iConnectionServName;
       
   562 	TPtrC iNotifName;   
       
   563 	TInt iInitialDelayInSeconds;
       
   564 	TInt iExpectedValue;
       
   565 	TInt iExpectedValue1;
       
   566 	TTypeOfNotification iNotificationType;
       
   567 	
       
   568 	TUint iNumTmgis; 
       
   569 	TUint iMCC;
       
   570 	TUint iMNC;
       
   571 	TUint iServiceId;
       
   572 	TBool iAllTmgiValid;
       
   573 	TBool iAllTmgiInvalid;
       
   574 	TBool iRemoveAll;
       
   575 	
       
   576 	CArrayFixFlat <TTmgi> *iTmgiList;
       
   577 	};
       
   578 
       
   579 /**
       
   580 Class implementing CancelMBMSNtfnStep
       
   581 @internalComponent
       
   582 */
       
   583 
       
   584 class CCancelMBMSNtfnStep : public CRConnectionServQueryTestStepBase
       
   585 	{
       
   586 public:
       
   587 	CCancelMBMSNtfnStep(CCEsockTestBase*& aEsockTest);
       
   588 	TVerdict doSingleTestStep();
       
   589 	TInt ConfigureFromIni();
       
   590 
       
   591 private:
       
   592 	~CCancelMBMSNtfnStep();
       
   593 		
       
   594 	TPtrC iConnectionServName;
       
   595 	TPtrC iNotifName;   
       
   596 	};
       
   597 
       
   598 	
       
   599 #endif // CONNECTIONSERVER_TESTSTEPS_H
       
   600