datasourcemodules/networkpositioningmodule/test/src/te_lbsnetpsysuite.h
changeset 51 95c570bf4a05
parent 45 15a2125aa2f3
child 60 9a7e3d5f461a
equal deleted inserted replaced
45:15a2125aa2f3 51:95c570bf4a05
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This is the test server for Lbs Net PSY tests.
       
    15 // 
       
    16 //
       
    17 
       
    18 #if (!defined __TE_LBSNETPSYSUITE_H__)
       
    19 #define __TE_LBSNETPSYSUITE_H__
       
    20 
       
    21 #include <test/testexecuteserverbase.h>
       
    22 
       
    23 #include "te_lbspsystaticdata.h"
       
    24 
       
    25 /**
       
    26 This is the test server for Lbs Net PSY tests.
       
    27 */
       
    28 class CTe_LbsNetPsySuite : public CTestServer, public MTe_LbsPsyStaticData
       
    29 	{
       
    30 public:
       
    31 	static CTe_LbsNetPsySuite* NewL();
       
    32 	virtual ~CTe_LbsNetPsySuite();
       
    33 
       
    34 	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
       
    35 	
       
    36 	//From MTe_PsySpecificData
       
    37 	virtual TUid ModuleUid() const;
       
    38 	virtual const RLbsPositionUpdateRequests::TChannelIdentifer& UpdateReqChanId() const;
       
    39 	virtual TUint CountPositioner();
       
    40 	virtual CTestExecuteLogger& Logger() const;
       
    41 	
       
    42 protected:
       
    43 	void ConstructL();
       
    44 	
       
    45 private:
       
    46 	CTestStep* CreateTestStepL(const TDesC& aStepName);
       
    47 	
       
    48 	TBuf8<KMaxFileName> iFirstExe;
       
    49 	TUint iPositionerCount;
       
    50 	CTestStep* iCurrentStep;
       
    51 	};
       
    52 
       
    53 #endif //__TE_LBSNETPSYSUITE_H__