multimediacommsengine/mmcesrv/mmceserver/tsrc/ut_server/inc/UT_CMCESIPManager.h
changeset 0 1bce908db942
child 18 91f50911ea81
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     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 
       
    20 
       
    21 #ifndef __UT_CMceSipMANAGER_H__
       
    22 #define __UT_CMceSipMANAGER_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 #include "mceclientserver.h"
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class CMceSipManager;
       
    32 class CMceServerCore;
       
    33 class CMceCsSession;
       
    34 class CMCETls;
       
    35 
       
    36 //  CLASS DEFINITION
       
    37 /**
       
    38  *
       
    39  * EUnitWizard generated test class. 
       
    40  *
       
    41  */
       
    42 class UT_CMceSipManager
       
    43      : public CEUnitTestSuiteClass
       
    44     {
       
    45     public:     // Constructors and destructors
       
    46 
       
    47         /**
       
    48          * Two phase construction
       
    49          */
       
    50         static UT_CMceSipManager* NewL();
       
    51         static UT_CMceSipManager* NewLC();
       
    52         /**
       
    53          * Destructor
       
    54          */
       
    55         ~UT_CMceSipManager();
       
    56 
       
    57     private:    // Constructors and destructors
       
    58 
       
    59         UT_CMceSipManager();
       
    60         void ConstructL();
       
    61 
       
    62     private:    // New methods
       
    63 
       
    64         void SetupL();
       
    65 
       
    66         void Teardown();
       
    67          
       
    68         void UT_CMceSipManager_ProfileL_1_L();
       
    69 
       
    70         void UT_CMceSipManager_ProfileL_2_L();
       
    71 
       
    72         void UT_CMceSipManager_ConnectionLL();
       
    73         
       
    74         void UT_CMceSipManager_IncomingRequestL();
       
    75 
       
    76         void UT_CMceSipManager_TimedOutL();
       
    77 
       
    78         void UT_CMceSipManager_ProfileRegistryEventOccurredL();
       
    79 
       
    80         void UT_CMceSipManager_ProfileRegistryErrorOccurredL();
       
    81 
       
    82         void UT_CMceSipManager_MediaErrorL();
       
    83 
       
    84         void UT_CMceSipManager_NextDialogIdL();
       
    85 
       
    86         void UT_CMceSipManager_UnRegisterClientL();
       
    87 
       
    88         void UT_CMceSipManager_CreateSubSessionL_1L();
       
    89 
       
    90         void UT_CMceSipManager_CreateSubSessionL_2L();
       
    91         
       
    92         void UT_CMceSipManager_CreateSubSessionL_3L();
       
    93 
       
    94         void UT_CMceSipManager_CreateSubSessionNoProfileL();
       
    95         
       
    96         void UT_CMceSipManager_UnRegisterSubSessionL();
       
    97 
       
    98         void UT_CMceSipManager_UnRegisterSubSessionNoProfileL();
       
    99 
       
   100         void UT_CMceSipManager_MediaManagerL();
       
   101 
       
   102         void UT_CMceSipManager_SIPClientL();
       
   103 
       
   104         void UT_CMceSipManager_OrphanSubSessionCountL();
       
   105          
       
   106 
       
   107     private:    // Data
       
   108 
       
   109 		EUNIT_DECLARE_TEST_TABLE; 
       
   110 		TMceIds iIds;
       
   111 	    CMceServerCore* iServerCore;
       
   112         CMceSipManager* iManager;
       
   113         CMceCsSession* iSession;
       
   114 	    
       
   115     private: //not Owned
       
   116     	    
       
   117         CMCETls* iStorage;
       
   118 	    
       
   119 		
       
   120     };
       
   121 
       
   122 #endif      //  __UT_CMceSipMANAGER_H__
       
   123 
       
   124 // End of file