ximpfw/tsrc/src/t_rootservices/t_rootservices.h
changeset 0 e6b17d312c8b
child 41 eedf17a17c27
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     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: XIMP Framework Test Code 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef T_ROOTSERVICES_H__
       
    19 #define T_ROOTSERVICES_H__
       
    20 
       
    21 #include <ceunittestsuiteclass.h>
       
    22 #include <ximpbase.h>
       
    23 
       
    24 class MXIMPProtocolInfo;
       
    25 class MXIMPClient;
       
    26 class MXIMPContext;
       
    27 class CUSContextObserver;
       
    28 
       
    29 
       
    30 /**
       
    31  * XIMP Framework Eunit tests.
       
    32  *
       
    33  * Tests for XIMP root services.
       
    34  *
       
    35  * @since S60 v3.2
       
    36  */
       
    37 class T_RootServices : public CEUnitTestSuiteClass
       
    38     {
       
    39 public:
       
    40     static T_RootServices* NewL();
       
    41     virtual ~T_RootServices();
       
    42 
       
    43 
       
    44 private:
       
    45     T_RootServices();
       
    46     void ConstructL();
       
    47 
       
    48 
       
    49 
       
    50 private:    // Test case functions
       
    51 
       
    52     void Setup_L();
       
    53     void Teardown();
       
    54 
       
    55     void Test_ListProtocolsAndTheirCapabilities_L();
       
    56 
       
    57 
       
    58 private:    // Test helpers
       
    59 
       
    60     void __DumpProtocolListL(
       
    61         RXIMPObjOwningPtrArray< MXIMPProtocolInfo >& aProtocolList );
       
    62 
       
    63 
       
    64 
       
    65 private: // Test data
       
    66 
       
    67 
       
    68     /**
       
    69      * Eunit test case table declaration.
       
    70      */
       
    71     EUNIT_DECLARE_TEST_TABLE;
       
    72 
       
    73 
       
    74     };
       
    75 
       
    76 
       
    77 #endif      //  T_ROOTSERVICES_H__
       
    78 
       
    79 
       
    80 
       
    81 // end of file
       
    82 
       
    83 
       
    84 
       
    85