locsrv_pub/landmarks_search_api/tsrc/inc/testposlmareacriteria.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 19:06:58 +0300
branchRCL_3
changeset 18 d746aee05493
parent 0 667063e416a2
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2007 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:  CTestPosLmAreaCriteria class
*
*/



#ifndef C_TESTPOSLMAREACRITERIA_H
#define C_TESTPOSLMAREACRITERIA_H

#include <e32base.h>

/**
 *  This class is used to test functions of CPosLmAreaCriteria class
 *
 *  @p  CTestPosLmAreaCriteria clss contians functions to test methods of
 *  CPosLmAreaCriteria class
 *
 *  @lib testlmksearchapi.lib
 *  @since S60 v3.2
 */
class CTestPosLmAreaCriteria : public CBase
    {

public:

    /**
     * Two-phased constructor.
     * 
     */
     static CTestPosLmAreaCriteria* NewLC();
    

    /**
    * Destructor.
    */
    virtual ~CTestPosLmAreaCriteria();
    
    /**
     * This class will test the NewLC function of CPosLmAreaCriteria class
     * @param[in] aSouthLat The southern latitude border of the search area.
     * @param[in] aNorthLat The northern latitude border of the search area.
     * @param[in] aWestLong The western longitude border of the search area.
     * @param[in] aEastLong The eastern longitude border of the search area
     * 
     */
    void TestNewLC(TReal64 aSouthLat,TReal64 aNorthLat,TReal64 aWestLong,TReal64 aEastLong);
	
	/**
     * This class will test the GetSearchArea function of CPosLmAreaCriteria class
	 */	
	void TestGetSearchAreaL();
	
	/**
     * This class will test the SetSearchArea function of CPosLmAreaCriteria class
     * @param[in] aSouthLat The southern latitude border of the search area.
     * @param[in] aNorthLat The northern latitude border of the search area.
     * @param[in] aWestLong The western longitude border of the search area.
     * @param[in] aEastLong The eastern longitude border of the search area
     * 
     */

    void TestSetSearchAreaL(TReal64 aSouthLat,TReal64 aNorthLat,TReal64 aWestLong,TReal64 aEastLong);
protected:


private:

	/**
    * Constructor.
    */
    CTestPosLmAreaCriteria();
    

    };



#endif // C_TESTPOSLMAREACRITERIA_H