common/tools/ats/smoketest/lbs/lbsclient/inc/ctlbsclientpostp2.h
changeset 748 e13acd883fbe
child 872 17498133d9ad
equal deleted inserted replaced
747:76f9aaeefbab 748:e13acd883fbe
       
     1 /*
       
     2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __CT_LBS_CLIENT_POS_TP2_H__
       
    21 #define __CT_LBS_CLIENT_POS_TP2_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include "ctlbsportedstepbase.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class TPositionSatelliteInfo;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Test procedure 2
       
    33 *
       
    34 */
       
    35 class CT_LbsClientPosTp2 : public CT_LbsPortedStepBase
       
    36     {
       
    37     public:  // Constructors and destructor
       
    38 
       
    39         /**
       
    40         * C++ default constructor.
       
    41         */
       
    42     	CT_LbsClientPosTp2(CT_LbsServer& aParent);
       
    43 
       
    44         /**
       
    45         * Destructor.
       
    46         */
       
    47         ~CT_LbsClientPosTp2();
       
    48 
       
    49     public: // Functions from base classes
       
    50 
       
    51         /**
       
    52         * From CT_LbsPortedStepBase
       
    53         * Runs the test in the module
       
    54         */
       
    55         void StartL();
       
    56 
       
    57 	private: // New functions
       
    58 
       
    59         /**
       
    60         * Leaves if aCondition is false.
       
    61         * @param aCondition something that should be true
       
    62         */
       
    63         void AssertTrueL(TBool aCondition, const TDesC& aErrorMsg);
       
    64 
       
    65 		void RequestL(TPositionInfoBase& aInfoBase);
       
    66 
       
    67 		void CheckPositionL(TPosition& aPosition);
       
    68 
       
    69 		void CheckPositionInfoL(TPositionInfo& aInfo);
       
    70 		void CheckPositionCourseInfoL(TPositionCourseInfo& aInfo);
       
    71 		void CheckPositionSatelliteInfoL(TPositionSatelliteInfo& aInfo);
       
    72 		void CheckGenericInfoL(HPositionGenericInfo& aInfo);
       
    73 
       
    74     };
       
    75 
       
    76 #endif      // __CT_LBS_CLIENT_POS_TP2_H__
       
    77 
       
    78 // End of File