natfw/natfwclient/tsrc/ut_natfwclient/inc/ut_cnatfwcandidate.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     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 
       
    20 
       
    21 #ifndef __UT_CNATFWCANDIDATE_H__
       
    22 #define __UT_CNATFWCANDIDATE_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class CNATFWCandidate;
       
    32 
       
    33 #include <e32def.h>
       
    34 #ifndef NONSHARABLE_CLASS
       
    35     #define NONSHARABLE_CLASS(x) class x
       
    36 #endif
       
    37 
       
    38 //  CLASS DEFINITION
       
    39 /**
       
    40  *
       
    41  * EUnitWizard generated test class. 
       
    42  *
       
    43  */
       
    44 NONSHARABLE_CLASS( UT_CNATFWCandidate )
       
    45      : public CEUnitTestSuiteClass
       
    46     {
       
    47     public:     // Constructors and destructors
       
    48 
       
    49         /**
       
    50          * Two phase construction
       
    51          */
       
    52         static UT_CNATFWCandidate* NewL();
       
    53         static UT_CNATFWCandidate* NewLC();
       
    54         /**
       
    55          * Destructor
       
    56          */
       
    57         ~UT_CNATFWCandidate();
       
    58 
       
    59     private:    // Constructors and destructors
       
    60 
       
    61         UT_CNATFWCandidate();
       
    62         void ConstructL();
       
    63 
       
    64     public:     // From observer interface
       
    65 
       
    66         
       
    67 
       
    68     private:    // New methods
       
    69 
       
    70          void SetupL();
       
    71 
       
    72          void Teardown();
       
    73          
       
    74         
       
    75          void UT_CNATFWCandidate_NewLL();
       
    76          
       
    77 
       
    78          void UT_CNATFWCandidate_SetSessionIdL();
       
    79 
       
    80         
       
    81          void UT_CNATFWCandidate_SetStreamCollectionIdL();
       
    82 
       
    83 
       
    84          void UT_CNATFWCandidate_SetStreamIdL();
       
    85 
       
    86         
       
    87          void UT_CNATFWCandidate_SetPriorityL();
       
    88        
       
    89         
       
    90          void UT_CNATFWCandidate_SetTransportAddrLL();
       
    91 
       
    92 
       
    93          void UT_CNATFWCandidate_SetTransportDomainAddrLL();
       
    94 
       
    95         
       
    96          void UT_CNATFWCandidate_SetTransportProtocolL();
       
    97         
       
    98         
       
    99          void UT_CNATFWCandidate_BaseL();
       
   100         
       
   101         
       
   102          void UT_CNATFWCandidate_SetBaseL();
       
   103         
       
   104         
       
   105          void UT_CNATFWCandidate_SetFoundationLL();
       
   106 
       
   107         
       
   108          void UT_CNATFWCandidate_SetCandidateTypeL();
       
   109 
       
   110          
       
   111          void UT_CNATFWCandidate_SetComponentIdL();
       
   112         
       
   113         
       
   114          void UT_CNATFWCandidate_CompareFoundationsL();
       
   115         
       
   116         
       
   117          void UT_CNATFWCandidate_PriorityOrderL();
       
   118          
       
   119          
       
   120          void UT_CNATFWCandidate_CopyLL();
       
   121 
       
   122     private:    // Data
       
   123 
       
   124         CNATFWCandidate* iCandidate;
       
   125 
       
   126         EUNIT_DECLARE_TEST_TABLE; 
       
   127 
       
   128     };
       
   129 
       
   130 #endif      //  __UT_CNATFWCANDIDATE_H__
       
   131 
       
   132 // End of file