mmsharing/mmshavailability/tsrc/ut_availability/inc/UT_CMusAvaSipheaderUtil.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_CMUSAVASIPHEADERUTIL_H__
       
    20 #define __UT_CMUSAVASIPHEADERUTIL_H__
       
    21 
       
    22 //  EXTERNAL INCLUDES
       
    23 #include <digia/eunit/ceunittestsuiteclass.h>
       
    24 
       
    25 //  INTERNAL INCLUDES
       
    26 #include <e32def.h>
       
    27 #include <stringpool.h>
       
    28 
       
    29 //  FORWARD DECLARATIONS 
       
    30 class CSIPHeaderBase;     
       
    31 //  CLASS DEFINITION
       
    32 
       
    33 // Next row is to disable warning emerging from EUnit code.
       
    34 // Placement is due to a fact that most test case files // include this file. Directive can be removed when // EUnit is fixed.  
       
    35 #pragma warn_illtokenpasting off
       
    36 /**
       
    37  *
       
    38  * EUnitWizard generated test class. 
       
    39  *
       
    40  */
       
    41 class UT_CMusAvaSipheaderUtil
       
    42      : public CEUnitTestSuiteClass
       
    43     {
       
    44     public:     // Constructors and destructors
       
    45 
       
    46         /**
       
    47          * Two phase construction
       
    48          */
       
    49         static UT_CMusAvaSipheaderUtil* NewL();
       
    50         static UT_CMusAvaSipheaderUtil* NewLC();
       
    51         /**
       
    52          * Destructor
       
    53          */
       
    54         ~UT_CMusAvaSipheaderUtil();
       
    55 
       
    56     private:    // Constructors and destructors
       
    57 
       
    58         UT_CMusAvaSipheaderUtil();
       
    59         void ConstructL();
       
    60 
       
    61 	
       
    62     private:    // New methods
       
    63 
       
    64         void SetupL();
       
    65 
       
    66         void Teardown();
       
    67 
       
    68         void UT_AddAcceptContactHeaderLL();   
       
    69 
       
    70         void UT_AddAcceptEncodingHeaderLL();
       
    71 		
       
    72         void UT_AddAcceptLanguageHeaderLL();
       
    73          		
       
    74         void UT_AddPreferredIdentityHeaderLL();
       
    75           
       
    76         void UT_AddAcceptSdpHeaderLL();
       
    77         
       
    78         void UT_AddSdpLL();
       
    79 
       
    80         void UT_LocalHostLL();
       
    81 
       
    82     private :
       
    83         RPointerArray<CSIPHeaderBase> iRequestHeaders;
       
    84         
       
    85 
       
    86 	EUNIT_DECLARE_TEST_TABLE; 
       
    87     };
       
    88 
       
    89 #endif      //  __UT_CMUSAVASIPHEADERUTIL_H__
       
    90 
       
    91 // End of file