mmsharing/mmshavailability/tsrc/ut_availability/inc/UT_CMusAvaConnectionMonitor.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_CMUSAVACONNECTIONMONITOR_H__
       
    20 #define __UT_CMUSAVACONNECTIONMONITOR_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 #include "rconnmon.h"
       
    30 //  FORWARD DECLARATIONS
       
    31 class CSipSseTestTls;
       
    32 class CMusAvaConnectionMonitor;
       
    33 class CMusAvaSharedObject;
       
    34         
       
    35 //  CLASS DEFINITION
       
    36 /**
       
    37  *
       
    38  * EUnitWizard generated test class. 
       
    39  *
       
    40  */
       
    41 class UT_CMusAvaConnectionMonitor
       
    42      : public CEUnitTestSuiteClass
       
    43     {
       
    44     public:     // Constructors and destructors
       
    45 
       
    46         /**
       
    47          * Two phase construction
       
    48          */
       
    49         static UT_CMusAvaConnectionMonitor* NewL();
       
    50         static UT_CMusAvaConnectionMonitor* NewLC();
       
    51         /**
       
    52          * Destructor
       
    53          */
       
    54         ~UT_CMusAvaConnectionMonitor();
       
    55 
       
    56     private:    // Constructors and destructors
       
    57 
       
    58         UT_CMusAvaConnectionMonitor();
       
    59         void ConstructL();
       
    60 
       
    61 	public: 	// From observer interface
       
    62 		
       
    63 		
       
    64 
       
    65     private:    // New methods
       
    66 
       
    67         void SetupL();
       
    68 
       
    69         void Teardown();
       
    70 
       
    71         void UT_CMusAvaConnectionMonitor_NewLL();   
       
    72 
       
    73         void UT_CMusAvaConnectionMonitor_EventLL();
       
    74         
       
    75         void UT_CMusAvaConnectionMonitor_AddAdapterLL();
       
    76         
       
    77         void UT_CMusAvaConnectionMonitor_RemoveAdapterL();
       
    78       
       
    79         void UT_CMusAvaConnectionMonitor_ConnectionCountL();
       
    80        
       
    81         void UT_CMusAvaConnectionMonitor_ConnectionIDLL();
       
    82 
       
    83         void UT_CMusAvaConnectionMonitor_MultimediaSharingAccessPointIDL();
       
    84         
       
    85 
       
    86 	EUNIT_DECLARE_TEST_TABLE; 
       
    87 		
       
    88         CMusAvaConnectionMonitor* iAvaConnectionMonitor;
       
    89         
       
    90         CMusAvaSharedObject* iSharedObject; 
       
    91         		
       
    92         CSipSseTestTls* iStorage;
       
    93         
       
    94         TInt iProfileId;
       
    95 	
       
    96     };
       
    97 
       
    98 #endif      //  __UT_CMUSAVACONNECTIONMONITOR_H__
       
    99 
       
   100 // End of file