mmsharing/mmshavailability/tsrc/ut_availability/inc/UT_CMusAvaOptionHandler.h
changeset 22 496ad160a278
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_CMUSAVAOPTIONHANDLER_H__
       
    20 #define __UT_CMUSAVAOPTIONHANDLER_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 CSIPConnection;
       
    31 class CSIPProfile;
       
    32 class CSipSseTestTls;
       
    33 class CMusAvaOptionHandler;
       
    34 class CMusAvaObserverImp;
       
    35 class CMusAvaSettingsImp;	
       
    36 class CMusAvaSharedObject;
       
    37 class CMusAvaAvailabilityObserverImp;
       
    38 class CMusAvaSettingsObserverImp;
       
    39 
       
    40 //  CLASS DEFINITION
       
    41 /**
       
    42  *
       
    43  * EUnitWizard generated test class. 
       
    44  *
       
    45  */
       
    46 class UT_CMusAvaOptionHandler
       
    47      : public CEUnitTestSuiteClass
       
    48     {
       
    49     public:     // Constructors and destructors
       
    50 
       
    51         /**
       
    52          * Two phase construction
       
    53          */
       
    54         static UT_CMusAvaOptionHandler* NewL();
       
    55         static UT_CMusAvaOptionHandler* NewLC();
       
    56         /**
       
    57          * Destructor
       
    58          */
       
    59         ~UT_CMusAvaOptionHandler();
       
    60 
       
    61     private:    // Constructors and destructors
       
    62 
       
    63         UT_CMusAvaOptionHandler();
       
    64         void ConstructL();
       
    65 
       
    66 	public: 	// From observer interface
       
    67 		
       
    68 		
       
    69 
       
    70     private:    // New methods
       
    71 
       
    72         void SetupL();
       
    73 
       
    74         void Teardown();
       
    75 
       
    76         void UT_CMusAvaOptionHandler_NewLL();
       
    77 
       
    78         void UT_CMusAvaOptionHandler_DoExecuteLL();
       
    79 
       
    80         void UT_CMusAvaOptionHandler_NameL();
       
    81 
       
    82         void UT_CMusAvaOptionHandler_StatusL();
       
    83 
       
    84         void UT_CMusAvaOptionHandler_StopL();
       
    85 
       
    86         void UT_CMusAvaOptionHandler_CapabilitiesResolvedL();
       
    87         
       
    88         void UT_CMusAvaOptionHandler_CapabilitiesResolvedForCingularL();
       
    89 
       
    90         void UT_CMusAvaOptionHandler_SipHeadersL();
       
    91         
       
    92         void UT_CMusAvaOptionHandler_VideoCodecsResolvedLL();
       
    93         
       
    94         void UT_CMusAvaOptionHandler_DoSetStateL();
       
    95         
       
    96         void UT_CMusAvaOptionHandler_DoSetStateFastModeL();
       
    97         
       
    98         void UT_CMusAvaOptionHandler_FastModeResolvedL();
       
    99         
       
   100         void UT_CMusAvaOptionHandler_CapabilityQueryAnsweredL();
       
   101 
       
   102         
       
   103 		EUNIT_DECLARE_TEST_TABLE; 
       
   104 		CSipSseTestTls* iStorage;
       
   105 				
       
   106 		CMusAvaOptionHandler* iOptionHandler;
       
   107 	    
       
   108 	    CMusAvaAvailabilityObserverImp* iAvailabilityObserver;
       
   109 		
       
   110 		CMusAvaSettingsImp* iConcreteSettings;
       
   111 	  
       
   112         CMusAvaSharedObject* iSharedObject; 
       
   113 
       
   114         CSIPProfile* iProfile;
       
   115         
       
   116         CMusAvaSettingsObserverImp* iSettingsObserver;
       
   117         
       
   118     };
       
   119 
       
   120 #endif      //  __UT_CMUSAVAOPTIONHANDLER_H__
       
   121 
       
   122 // End of file