datasourceadaptation/gpsdatasourceadaptation/psytester/psytestercrtester/inc/epos_cpospsycrcapabilitytest.h
author Stefan Karlsson <stefan.karlsson@nokia.com>
Sat, 10 Apr 2010 13:42:34 +0100
branchCompilerCompatibility
changeset 17 a5b42059aefa
parent 0 9cfd9a3ee49c
permissions -rw-r--r--
Got rid of some trivial warnings (nested comments and tokens after #endif).

/*
* Copyright (c) 2004-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 CPOSPSYCRCAPABILITYTEST_H
#define CPOSPSYCRCAPABILITYTEST_H

//  INCLUDES
#include "EPos_CPosPSYTestBase.h"
#include "EPos_CPosPSYRequester.h"

// CLASS DECLARATION
/**
*  Class for PSY Central Repository Capability validation tests
*/
class CPosPSYCRCapabilityTest : public CPosPSYTestBase
    {
    public:  // Constructors and destructor

        /**
        * Two-phased constructor.
        */
        static CPosPSYCRCapabilityTest* NewL();

        /**
        * Destructor.
        */
        ~CPosPSYCRCapabilityTest();

    public: // Functions from base classes

        /**
        * From CPosPSYTestBase GetName
        * @param aName The name of the test
        */
        void GetName(
        /* OUT */    TDes& aName
        ) const;

        /**
        * From CPosPSYTestBase StartTest function for starting execution of the test case
        * @param aPSYInfo the information about the psy to be tested
        * @param aStatus status flag from calling object
		* @param aTestParameters test parameters specifying number 
		*		 of location requests to be done etc.
        */
        void StartTest(
        /* IN */        const TPosPSYInfo& aPSYInfo, 
        /* IN/OUT */    TRequestStatus& aStatus,
		/* IN */		const TPosPSYTestParameters& aTestParameters
        );

		void CancelTest();

    private:

        /**
        * C++ default constructor.
        */
        CPosPSYCRCapabilityTest();
    
        /**
        * By default EPOC constructor is private.
        */
        void ConstructL();

        /**
        * Executes all tests of the test case
        */ 
        void ExecuteTestL();
                
        // By default, prohibit copy constructor
        CPosPSYCRCapabilityTest( const CPosPSYCRCapabilityTest& );
        
        // Prohibit assigment operator
        CPosPSYCRCapabilityTest& operator= ( const CPosPSYCRCapabilityTest& );

    private:    // Data
	  
    };

#endif      // CPOSPSYPARAMETERTEST_H

// End of File