smsprotocols/smsstack/smsprot/Test/TE_SMSPRTSTRESS/TE_smsprtstressbase.h
changeset 20 244d7c5f118e
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
19:1f776524b15c 20:244d7c5f118e
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 #ifndef _TE_SMSPRTBASE_H_
    16 #ifndef TE_SMSPRTBASE_H
    17 #define _TE_SMSPRTBASE_H_
    17 #define TE_SMSPRTBASE_H
    18 
    18 
    19 #include <testconfigfileparser.h>
    19 //#include <connect/sbeclient.h>
    20 #include <test/testexecuteserverbase.h>
       
    21 
    20 
    22 #include <e32test.h>
    21 #include "smsstacktestutilities.h"
    23 #include <es_sock.h>
    22 #include "smsstackbaseteststeps.h"
    24 #include <logwrap.h>
       
    25 #include "smsuact.h"
       
    26 #include "gsmubuf.h"
       
    27 #include "Gsmumsg.h"
    23 #include "Gsmumsg.h"
    28 #include "gsmuset.h"
    24 #include "gsmuset.h"
    29 #include "smsuaddr.H"
    25 #include "gsmubuf.h"
    30 #include "smsustrm.h"
    26 #include "smsustrm.h"
    31 #include <mmretrieve.h>
       
    32 #include <smsustrm.h>
       
    33 #include <mmlist.h>
       
    34 #include <simtsy.h>
       
    35 #include "smspdudb.h"
    27 #include "smspdudb.h"
    36 #include "attributes.h"
       
    37 #include "smspproc.h"
       
    38 #include "smsstacktestutilities.h"
       
    39 #include <bacline.h>        // CCommandLineArguments
       
    40 #include <connect/sbeclient.h>
       
    41 
    28 
    42 using namespace conn;
    29 //using namespace conn;
    43 
       
    44 _LIT(KTSmsPrtStressConfigFileName, "tsmsprtStress_config.txt");
       
    45 _LIT(KSmsMsgStressTestReport, "tsmsprtStress_testreport.txt");
       
    46 _LIT8(KSmsCompInfo, "SMSPROT.PRT");
       
    47 _LIT(KGmsSmsConfigFileName,"setupgsmsms.txt");
       
    48 
       
    49 // Here are the section names
       
    50 _LIT8(KSetupTelNumbers,           "Defaults");
       
    51 
       
    52 // Here are the item names
       
    53 _LIT8(KServiceCenter,               "ServiceCenter");
       
    54 _LIT8(KTelefoneNumber,              "TelephoneNumber");
       
    55 
    30 
    56 const TInt KActiveReceiverPriority = CActive::EPriorityStandard;
    31 const TInt KActiveReceiverPriority = CActive::EPriorityStandard;
    57 const TUint KSocketMessageSlots = 16;
       
    58 
    32 
    59 class CSmsPrtStressTestStep : public CTestStep
    33 class CSmsPrtStressTestStep : public CSmsBaseTestStep
    60 {
    34 {
    61 public:
    35 public:
    62 	void PrepareRegTestLC(RSocketServ& aSocketServer, TInt aTestNumber) ;
       
    63 	void EndRegTest() ;
       
    64 	void InitGlobalsL();
       
    65 	void ParseSettingsFromFileL();
       
    66 	TBool DoGetCmdLineArguments(TDes& aCmdarg, const TDesC& aToFind, TDes& aCmd);
       
    67 	void GetCmdLineArguments();
       
    68 	TInt CommInit();
       
    69 	TVerdict doTestStepPreambleL();
    36 	TVerdict doTestStepPreambleL();
    70 	TVerdict doTestStepPostambleL();
    37 	TVerdict doTestStepPostambleL();
    71 	void DoESockMemoryLeakTestL();
    38 
    72 public:
    39 public:
    73 	RFs iFs;
    40 //	CSBEClient*  iSecureBackupEngine;
    74 	CSmsStackTestUtils* iSmsStackTestUtils;
       
    75 	TSmsServiceCenterAddress iTelephoneNumber;
       
    76 	TSmsServiceCenterAddress iServiceCenterNumber;
       
    77 	CActiveScheduler*  iScheduler;
       
    78 	CSBEClient*  iSecureBackupEngine;
       
    79 };
    41 };
    80 
    42 
    81 #endif
    43 #endif