landmarks/locationlandmarks/tsrc/LandmarkTestModule/inc/FT_CPosTp161.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 CPOSTp161_H
       
    21 #define CPOSTp161_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "FT_CLandmarkTestProcedureBase.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Test procedure 161
       
    30 */
       
    31 class CPosTp161 :public CLandmarkTestProcedureBase
       
    32     {
       
    33     public:  // Constructors and destructor
       
    34         
       
    35         /**
       
    36         * C++ default constructor.
       
    37         */
       
    38         
       
    39         CPosTp161(TInt tpno, CStifLogger* aLog) : CLandmarkTestProcedureBase(tpno, aLog) {};
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         ~CPosTp161() {};
       
    44 
       
    45     public: // Functions from base classes
       
    46 
       
    47        
       
    48         /**
       
    49         * From CLandmarkTestProcedureBase
       
    50         * Runs the test in the module
       
    51         */
       
    52         void StartL();
       
    53         
       
    54         void CloseTest();
       
    55 
       
    56     private:
       
    57     
       
    58         void TestImportL(const TDesC& aFile, const TDesC8& aMime);
       
    59         
       
    60         void TestParseL(const TDesC& aFile, const TDesC8& aMime);
       
    61         void CheckLandmarkL(TPosLmItemId aLandmarkId, RArray<TPosLmItemId> aCategoriesList);
       
    62         CPosLandmarkParser* iLandmarkParser;
       
    63         TInt iErrorsFound;
       
    64     };
       
    65     
       
    66 
       
    67 #endif      // CPOSTp161_H
       
    68             
       
    69 // End of File