mmsharing/mmshavailability/tsrc/ut_availability/inc/UT_CMusAvaSip.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     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_CMUSAVASIP_H__
       
    20 #define __UT_CMUSAVASIP_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 CSipSseTestTls;
       
    31 class CMusAvaSip;
       
    32         
       
    33 //  CLASS DEFINITION
       
    34 /**
       
    35  *
       
    36  * EUnitWizard generated test class. 
       
    37  *
       
    38  */
       
    39 class UT_CMusAvaSip
       
    40      : public CEUnitTestSuiteClass
       
    41     {
       
    42     public:     // Constructors and destructors
       
    43 
       
    44         /**
       
    45          * Two phase construction
       
    46          */
       
    47         static UT_CMusAvaSip* NewL();
       
    48         static UT_CMusAvaSip* NewLC();
       
    49         /**
       
    50          * Destructor
       
    51          */
       
    52         ~UT_CMusAvaSip();
       
    53         
       
    54    private:    // Constructors and destructors
       
    55 
       
    56         UT_CMusAvaSip();
       
    57         void ConstructL();
       
    58 
       
    59 
       
    60     public: 	// From observer interface
       
    61 		
       
    62 		
       
    63 
       
    64     private:    // New methods
       
    65 
       
    66         void SetupL();
       
    67 
       
    68         void Teardown();
       
    69 
       
    70         void UT_CMusAvaSip_NewLL();
       
    71 	
       
    72         void UT_CMusAvaSip_AddAdapterLL();
       
    73         
       
    74         void UT_CMusAvaSip_RemoveAdapterL();
       
    75         
       
    76         void UT_CMusAvaSip_CreateProfileL(); 
       
    77         
       
    78         void UT_CMusAvaSip_CreateSipProfileL();
       
    79      
       
    80         void UT_CMusAvaSip_ProfileL();
       
    81 
       
    82         void UT_CMusAvaSip_ProfileRegistryL();
       
    83         	 
       
    84     	void UT_CMusAvaSip_ConnectionL();
       
    85     	 
       
    86     	void UT_CMusAvaSip_ConnectionObserverL();
       
    87     		
       
    88         void UT_CMusAvaSip_SipL();
       
    89 
       
    90         void UT_CMusAvaSip_CreateSIPConnectionLL();
       
    91         
       
    92         void UT_CMusAvaSip_OwnDomainL();
       
    93             
       
    94 
       
    95 	EUNIT_DECLARE_TEST_TABLE; 
       
    96 		
       
    97         		
       
    98        CSipSseTestTls* iStorage;
       
    99 	   CMusAvaSip* iMusAvaSip;
       
   100        TInt iProfileId;	    
       
   101     };
       
   102 
       
   103 #endif      //  __UT_CMusAvaSip_H__
       
   104 
       
   105 // End of file