landmarks/locationlandmarks/tsrc/LandmarkTestModule/inc/FT_CPosTp145.h
branchRCL_3
changeset 44 2b4ea9893b66
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
       
     1 /*
       
     2 * Copyright (c) 2005 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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *   ?description_line
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPOSTP145_H
       
    21 #define CPOSTP145_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "FT_CLandmarkTestProcedureBase.h"
       
    25 #include <StifLogger.h>
       
    26 #include "lcfsbucommondefinitions.h"
       
    27 
       
    28 
       
    29 
       
    30 /**
       
    31 *  Test procedure 145
       
    32 */
       
    33 class CPosTp145 :public CLandmarkTestProcedureBase
       
    34     {
       
    35     public:  // Constructors and destructor
       
    36         
       
    37         /**
       
    38         * C++ default constructor.
       
    39         */
       
    40         CPosTp145(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {};
       
    41         
       
    42         /**
       
    43         * Destructor.
       
    44         */
       
    45         ~CPosTp145() {};
       
    46 
       
    47     public: // Functions from base classes
       
    48 
       
    49         
       
    50         void StartL();
       
    51 
       
    52     private:
       
    53 
       
    54 		//void DumpBuffer(const TDesC8& aBuffer);
       
    55          // check category serialization
       
    56         void CheckLmCatSerializationL();
       
    57         void CheckLmCatSerialization_SubL(CPosLandmarkCategory* aTest);
       
    58         void CompareBuffers(const TDesC8& aBuf1, const TDesC8& aBuf2);
       
    59         CPosLandmarkCategory* CreateDummyCategoryLC();
       
    60         void CompareCategoriesL(CPosLandmarkCategory& aCat1, CPosLandmarkCategory& aCat2);
       
    61         
       
    62     private:
       
    63         // common variables used in tests
       
    64         TInt                    iErrorCounter;
       
    65 
       
    66 
       
    67     };
       
    68 
       
    69 #endif      // CPOSTP145_H
       
    70             
       
    71 // End of File