diff -r 000000000000 -r 9cfd9a3ee49c lbstest/lbstestproduct/lbsextendedmtlr/inc/ctlbsextendedmtlrstep.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lbstest/lbstestproduct/lbsextendedmtlr/inc/ctlbsextendedmtlrstep.h Tue Feb 02 01:50:39 2010 +0200 @@ -0,0 +1,65 @@ +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// @file ctlbsextendedmtlrserver.h +// This contains the header file for LBS Extended PM MTLR Test Step Base +// +// + +#ifndef __CT_LBS_EXTENDED_MTLR_STEP_H__ +#define __CT_LBS_EXTENDED_MTLR_STEP_H__ +#include +#include +#include + +#include "ctlbsextendedmtlrserver.h" + +/** Must be the Id of the protool module used for the test */ +const TUid KRequestUid = {0x10285AB7}; // the extended protcol module! +/** Delta timout value used in all tests */ +const TInt KDelta = 2.0 * 1000 * 1000; //2 seconds + +class CT_LbsExtendedMTLRStep : public CTestStep, MT_AgpsModuleEventHandler +{ + +public: + virtual ~CT_LbsExtendedMTLRStep(); + + virtual TVerdict doTestStepPreambleL(); + virtual TVerdict doTestStepPostambleL(); + +protected: + CT_LbsExtendedMTLRStep(CT_LbsExtendedMTLRServer& aParent); + void ConstructL(); + +private: // from MT_AgpsModuleEventHandler + void OnSetGpsOptions(const TLbsGpsOptions& aGpsOptions); + + +private: + RPointerArray iExpectedModuleGpsOptions; + TInt iExpectedModuleGpsOptionsIndex; + CT_AgpsModuleEventListener* iAgpsModuleEventListener; + +protected: + CT_LbsExtendedMTLRServer& iParent; +}; + +struct SData + { + TLbsNetSessionId sessionId; + TVerdict response; + }; + + +#endif // __CT_LBS_EXTENDED_MTLR_STEP_H__