mmshplugins/mmshsipcrplugin/tsrc/ut_sipcrplugin/inc/mussipcrplugintest.h
changeset 22 496ad160a278
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Main plugin class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUSAOPLUGINTEST_H
       
    20 #define MUSAOPLUGINTEST_H
       
    21 
       
    22 
       
    23 
       
    24 #include <digia/eunit/ceunittestsuiteclass.h>
       
    25 
       
    26 class CMusSipCrPlugin;
       
    27 
       
    28 
       
    29 /**
       
    30  * Main plugin class
       
    31  *
       
    32  * @lib ut_musaoplugin.dll
       
    33  */
       
    34 class CMusSipCrPluginTest 
       
    35     : public CEUnitTestSuiteClass
       
    36     {
       
    37     
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Symbian two-phase constructor.
       
    42      * @return New CMusSipCrPluginTest instance
       
    43      */
       
    44     static CMusSipCrPluginTest* NewL();
       
    45 
       
    46     /**
       
    47      * C++ destructor.
       
    48      */
       
    49     virtual ~CMusSipCrPluginTest();
       
    50 
       
    51 private: // constructors
       
    52 
       
    53     /**
       
    54      * C++ constructor.
       
    55      */
       
    56     CMusSipCrPluginTest();
       
    57 
       
    58     /**
       
    59      * Symbian second-phase constructor.
       
    60      */
       
    61     void ConstructL();
       
    62 
       
    63 
       
    64 public: // Test functions
       
    65 
       
    66     void UT_ConstructL();
       
    67     
       
    68     void UT_ChannelL();
       
    69    
       
    70     void UT_ConnectL();
       
    71     
       
    72     void UT_Capabilities();
       
    73 
       
    74     void UT_ImplementationGroupProxy();
       
    75 
       
    76     void UT_CheckForSendRecvAttributeL();
       
    77 
       
    78 public:
       
    79     void SetupL();
       
    80     void Teardown();
       
    81     
       
    82 
       
    83 private: // data
       
    84 
       
    85     CMusSipCrPlugin* iPlugin;
       
    86     
       
    87     EUNIT_DECLARE_TEST_TABLE; 
       
    88 
       
    89     };
       
    90 
       
    91 #endif // MUSAOPLUGINTEST_H