diff -r 000000000000 -r 9cfd9a3ee49c lbstest/lbstestproduct/lbsclient/inc/ctlbsclientpostp254.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lbstest/lbstestproduct/lbsclient/inc/ctlbsclientpostp254.h Tue Feb 02 01:50:39 2010 +0200 @@ -0,0 +1,83 @@ +/* +* Copyright (c) 2001-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_TP254_H__ +#define __CT_LBS_CLIENT_POS_TP254_H__ + +// INCLUDES +#include "ctlbsportedstepbase.h" + +// FORWARD DECLARATION +class CPosRequestLog; + +// CLASS DECLARATION + +/** +* Test procedure 254 +* +*/ +class CT_LbsClientPosTp254 : public CT_LbsPortedStepBase + { + public: // Constructors and destructor + + /** + * C++ default constructor. + */ + CT_LbsClientPosTp254(CT_LbsServer& aParent); + + /** + * Destructor. + */ + ~CT_LbsClientPosTp254(); + + public: // Functions from base classes + + /** + * From CT_LbsPortedStepBase + * Deinitializes the test. + */ + void CloseTest(); + + /** + * From CT_LbsPortedStepBase + */ + void StartL(); + + private: // New functions + + /** + * Deletes a file from the file system + * @param aFile the file name + */ + void DeleteFileL(const TDesC& aFile); + + /** + * Check if the specified file exists + * @param aFile the file name + */ + TBool FileExistsL(const TDesC& aFile); + + void CheckPositionL(TPosition& aPosition, TPosition& aLastPosition); + + void CheckPositionInfoL(TPositionInfo& aInfo, TPositionInfo& aLastInfo); + }; + +#endif // __CT_LBS_CLIENT_POS_TP254_H__ + +// End of File