mmsharing/mmshavailability/tsrc/ut_availability/inc/UT_CMusAvaSipProfileRegistryObserver.h
changeset 22 496ad160a278
parent 0 f0cf47e981f9
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2004 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __UT_CMUSAVASIPPROFILEREGISTRYOBSERVER_H__
       
    20 #define __UT_CMUSAVASIPPROFILEREGISTRYOBSERVER_H__
       
    21 
       
    22 //  EXTERNAL INCLUDES
       
    23 #include <digia/eunit/ceunittestsuiteclass.h>
       
    24 
       
    25 //  INTERNAL INCLUDES
       
    26 #include <e32def.h>
       
    27 #include <e32property.h>
       
    28 
       
    29 //  FORWARD DECLARATIONS
       
    30 class CMusAvaAvailabilityObserverImp;
       
    31 class CMusAvaSharedObject;
       
    32 class CMusAvaSipProfileRegistryObserver;        
       
    33 //  CLASS DEFINITION
       
    34 
       
    35 // Next row is to disable warning emerging from EUnit code.
       
    36 // Placement is due to a fact that most test case files // include this file. Directive can be removed when // EUnit is fixed.  
       
    37 #pragma warn_illtokenpasting off
       
    38 /**
       
    39  *
       
    40  * EUnitWizard generated test class. 
       
    41  *
       
    42  */
       
    43 class UT_CMusAvaSipProfileRegistryObserver
       
    44      : public CEUnitTestSuiteClass
       
    45     {
       
    46     public:     // Constructors and destructors
       
    47 
       
    48         /**
       
    49          * Two phase construction
       
    50          */
       
    51         static UT_CMusAvaSipProfileRegistryObserver* NewL();
       
    52         static UT_CMusAvaSipProfileRegistryObserver* NewLC();
       
    53         /**
       
    54          * Destructor
       
    55          */
       
    56         ~UT_CMusAvaSipProfileRegistryObserver();
       
    57 
       
    58     private:    // Constructors and destructors
       
    59 
       
    60         UT_CMusAvaSipProfileRegistryObserver();
       
    61         void ConstructL();
       
    62 
       
    63 	
       
    64     private:    // New methods
       
    65 
       
    66         void SetupL();
       
    67 
       
    68         void Teardown();
       
    69 
       
    70         void UT_CMusAvaSipProfileRegistryObserver_NewLL();   
       
    71 
       
    72         void UT_CMusAvaSipProfileRegistryObserver_AddAdapterLL();
       
    73 		
       
    74         void UT_CMusAvaSipProfileRegistryObserver_RemoveAdapterL();
       
    75          		
       
    76         void UT_CMusAvaSipProfileRegistryObserver_ProfileRegistryEventOccurredL();
       
    77           
       
    78         void UT_CMusAvaSipProfileRegistryObserver_ProfileRegistryErrorOccurredL();
       
    79         
       
    80 
       
    81 	EUNIT_DECLARE_TEST_TABLE; 
       
    82 		
       
    83 	private:			
       
    84         CMusAvaSipProfileRegistryObserver* iSipprofileRegistryObserver;	
       
    85     };
       
    86 
       
    87 #endif      //  __UT_CMUSAVASIPPROFILEREGISTRYOBSERVER_H__
       
    88 
       
    89 // End of file