--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lbstest/lbstestproduct/lbsclient/inc/ctlbsclientpostp271.h Tue Feb 02 01:50:39 2010 +0200
@@ -0,0 +1,80 @@
+/*
+* Copyright (c) 2002-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:
+*
+*/
+
+
+
+#ifndef __CT_LBS_CLIENT_POS_TP271_H__
+#define __CT_LBS_CLIENT_POS_TP271_H__
+
+// INCLUDES
+#include "ctlbsportedstepbase.h"
+
+// CLASS DECLARATION
+
+/**
+* Test procedure 271
+*/
+class CT_LbsClientPosTp271 : public CT_LbsPortedStepBase
+ {
+ public: // Constructors and destructor
+
+ /**
+ * C++ default constructor.
+ */
+ CT_LbsClientPosTp271(CT_LbsServer& aParent);
+
+ /**
+ * Destructor.
+ */
+ ~CT_LbsClientPosTp271();
+
+ public: // Functions from base classes
+
+ /**
+ * From CT_LbsPortedStepBase
+ * Runs the test in the module
+ */
+ void StartL();
+
+ /**
+ * From CT_LbsPortedStepBase
+ * Always called, even if the test leaves
+ */
+ void CloseTest();
+
+ private: // Functions
+
+ void SetupProxyPSYsL();
+
+ void AssertTrueSecL(TBool aCondition, const TDesC& aErrorMsg, TInt aErrorCode=KErrGeneral);
+
+ void VerifyPsyStartedTrackingL(TPositionModuleId& aUid);
+
+ void VerifyPsyStoppedTrackingL(TPositionModuleId& aUid, TRequestStatus& aStatus);
+
+ void VerifyPsyStoppedTrackingL(TPositionModuleId& aUid);
+
+ private: // data
+
+ TPositionModuleStatusEvent iModuleEvent;
+
+ TRequestStatus iEventStatus;
+ };
+
+#endif // __CT_LBS_CLIENT_POS_TP271_H__
+
+// End of File