common/tools/ats/smoketest/lbs/lbsclient/inc/ctlbsclientstepupdateoptions.h
changeset 748 e13acd883fbe
child 872 17498133d9ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/smoketest/lbs/lbsclient/inc/ctlbsclientstepupdateoptions.h	Tue Nov 10 13:50:58 2009 +0000
@@ -0,0 +1,58 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// @file CT_LbsClientUpdateOptions.h
+// This contains the header file for  Update Options Tests
+// 
+//
+
+#ifndef __CT_LBS_CLIENT_UPDATEOPTIONS_H__
+#define __CT_LBS_CLIENT_UPDATEOPTIONS_H__
+
+#include "ctlbsclientstep.h"
+#include "ctlbsclientserver.h"
+#include <lbsadmin.h>
+
+
+// Literals used
+_LIT(KLbsClientStep_UpdateOptions, "LbsClientStep_UpdateOptions");
+
+class CT_LbsClientStep_UpdateOptions : public CT_LbsClientStep
+	{
+public:
+	~CT_LbsClientStep_UpdateOptions();
+
+	static CT_LbsClientStep_UpdateOptions* New(CT_LbsClientServer& aParent);
+	virtual TVerdict doTestStepL();
+		
+private:
+	CT_LbsClientStep_UpdateOptions(CT_LbsClientServer& aParent);
+	
+	void CT_LbsClientStep_UpdateOptions::TempSetRequestorL();
+	TBool CT_LbsClientStep_UpdateOptions::CompareUpdateOptions(TPositionUpdateOptions aPosA, TPositionUpdateOptions aPosB);
+	
+	TBool VerifyFirstPosTime(const TTime& aTimeRequested, const TPositionInfo& aPosInfo, const TPositionUpdateOptions& aUpdateOpts);
+	TBool VerifyPosTime(const TTime& aTimeFirstPosReceived, const TPositionUpdateOptions& aUpdateOpts, TPositionInfo& aPosInfo, TInt aPosCount);
+
+	
+private:
+
+	// to allow changing admin settings:
+	CLbsAdmin*	iLbsAdmin;
+
+	TBool	iRequestedAssData;
+	TBool	iReceivedAssData;
+		
+	};
+
+#endif //__CT_LBS_CLIENT_UPDATEOPTIONS_H__