idlefw/tsrc/ai_utilities_api/inc/mt_apiaipspropertyobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 10:13:44 +0300
branchRCL_3
changeset 28 053c6c7c14f3
permissions -rw-r--r--
Revision: 201026 Kit: 201033

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

//  EXTERNAL INCLUDES
#include <digia/eunit/ceunittestsuiteclass.h>

//  INTERNAL INCLUDES


//  FORWARD DECLARATIONS
class MAiPSPropertyObserver;

#include <e32def.h>
#ifndef NONSHARABLE_CLASS
    #define NONSHARABLE_CLASS(x) class x
#endif

//  CLASS DEFINITION
/**
 *
 * EUnitWizard generated test class. 
 *
 */
NONSHARABLE_CLASS( MT_ApiAiPSPropertyObserver )
     : public CEUnitTestSuiteClass
    {
    public:     // Constructors and destructors

        /**
         * Two phase construction
         */
        static MT_ApiAiPSPropertyObserver* NewL();
        static MT_ApiAiPSPropertyObserver* NewLC();
        /**
         * Destructor
         */
        ~MT_ApiAiPSPropertyObserver();

    private:    // Constructors and destructors

        MT_ApiAiPSPropertyObserver();
        void ConstructL();

    public:     // From observer interface

        

    private:    // New methods

         void SetupL();
        
         void Teardown();

         void TestBasicFunctionalityL();

         void TestGettersL();

         void TestDoCancelL();
         
         static TInt HandleSystemStateChangedL(TAny* aPtr);
        
    private:    // Data

        EUNIT_DECLARE_TEST_TABLE; 
        
        MAiPSPropertyObserver* iPSObserver;
    
        TBool iStateOk;


    };

#endif      //  __MT_ApiAiPSPropertyObserver_H__

// End of file