smsprotocols/smsstack/smsprot/Test/TE_SMSPRTSTRESS/TE_smsprtstressbase.h
changeset 20 244d7c5f118e
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
--- a/smsprotocols/smsstack/smsprot/Test/TE_SMSPRTSTRESS/TE_smsprtstressbase.h	Fri Mar 19 09:55:57 2010 +0200
+++ b/smsprotocols/smsstack/smsprot/Test/TE_SMSPRTSTRESS/TE_smsprtstressbase.h	Fri Apr 16 16:12:37 2010 +0300
@@ -13,69 +13,31 @@
 // Description:
 //
 
-#ifndef _TE_SMSPRTBASE_H_
-#define _TE_SMSPRTBASE_H_
-
-#include <testconfigfileparser.h>
-#include <test/testexecuteserverbase.h>
+#ifndef TE_SMSPRTBASE_H
+#define TE_SMSPRTBASE_H
 
-#include <e32test.h>
-#include <es_sock.h>
-#include <logwrap.h>
-#include "smsuact.h"
-#include "gsmubuf.h"
+//#include <connect/sbeclient.h>
+
+#include "smsstacktestutilities.h"
+#include "smsstackbaseteststeps.h"
 #include "Gsmumsg.h"
 #include "gsmuset.h"
-#include "smsuaddr.H"
+#include "gsmubuf.h"
 #include "smsustrm.h"
-#include <mmretrieve.h>
-#include <smsustrm.h>
-#include <mmlist.h>
-#include <simtsy.h>
 #include "smspdudb.h"
-#include "attributes.h"
-#include "smspproc.h"
-#include "smsstacktestutilities.h"
-#include <bacline.h>        // CCommandLineArguments
-#include <connect/sbeclient.h>
 
-using namespace conn;
-
-_LIT(KTSmsPrtStressConfigFileName, "tsmsprtStress_config.txt");
-_LIT(KSmsMsgStressTestReport, "tsmsprtStress_testreport.txt");
-_LIT8(KSmsCompInfo, "SMSPROT.PRT");
-_LIT(KGmsSmsConfigFileName,"setupgsmsms.txt");
-
-// Here are the section names
-_LIT8(KSetupTelNumbers,           "Defaults");
-
-// Here are the item names
-_LIT8(KServiceCenter,               "ServiceCenter");
-_LIT8(KTelefoneNumber,              "TelephoneNumber");
+//using namespace conn;
 
 const TInt KActiveReceiverPriority = CActive::EPriorityStandard;
-const TUint KSocketMessageSlots = 16;
 
-class CSmsPrtStressTestStep : public CTestStep
+class CSmsPrtStressTestStep : public CSmsBaseTestStep
 {
 public:
-	void PrepareRegTestLC(RSocketServ& aSocketServer, TInt aTestNumber) ;
-	void EndRegTest() ;
-	void InitGlobalsL();
-	void ParseSettingsFromFileL();
-	TBool DoGetCmdLineArguments(TDes& aCmdarg, const TDesC& aToFind, TDes& aCmd);
-	void GetCmdLineArguments();
-	TInt CommInit();
 	TVerdict doTestStepPreambleL();
 	TVerdict doTestStepPostambleL();
-	void DoESockMemoryLeakTestL();
+
 public:
-	RFs iFs;
-	CSmsStackTestUtils* iSmsStackTestUtils;
-	TSmsServiceCenterAddress iTelephoneNumber;
-	TSmsServiceCenterAddress iServiceCenterNumber;
-	CActiveScheduler*  iScheduler;
-	CSBEClient*  iSecureBackupEngine;
+//	CSBEClient*  iSecureBackupEngine;
 };
 
 #endif