multimediacommscontroller/mmccinterface/tsrc/ut_interface/inc/UT_CMccCodecAmrWb.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_CMCCCODECAMRWB_H__
       
    22 #define __UT_CMCCCODECAMRWB_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class CMccCodecAmrWb;
       
    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_CMccCodecAmrWb )
       
    45      : public CEUnitTestSuiteClass
       
    46     {
       
    47     public:     // Constructors and destructors
       
    48 
       
    49         /**
       
    50          * Two phase construction
       
    51          */
       
    52         static UT_CMccCodecAmrWb* NewL();
       
    53         static UT_CMccCodecAmrWb* NewLC();
       
    54         /**
       
    55          * Destructor
       
    56          */
       
    57         ~UT_CMccCodecAmrWb();
       
    58 
       
    59     private:    // Constructors and destructors
       
    60 
       
    61         UT_CMccCodecAmrWb();
       
    62         void ConstructL();
       
    63 
       
    64     public:     // From observer interface
       
    65         
       
    66 
       
    67     private:    // New methods
       
    68 
       
    69          void SetupL();
       
    70         
       
    71          void Teardown();
       
    72         
       
    73          void UT_CMccCodecAmrWb_GetFmtpL();
       
    74         
       
    75          void UT_CMccCodecAmrWb_RequireSignallingL();
       
    76         
       
    77          void UT_CMccCodecAmrWb_CloneDefaultsLL();
       
    78         
       
    79          void UT_CMccCodecAmrWb_CloneDetailedLL();
       
    80         
       
    81          void UT_CMccCodecAmrWb_EnableVADL();
       
    82          
       
    83          void UT_CMccCodecAmrWb_GetBitrateModeSetL();
       
    84                  
       
    85          void UT_CMccCodecAmrWb_SetBitrateModeSetL();
       
    86          
       
    87          void UT_CMccCodecAmrWb_GetBitrateMaskFromModeL();
       
    88 
       
    89          void UT_CMccCodecAmrWb_CreateFmtpModeSetL();
       
    90          
       
    91          void UT_CMccCodecAmrWb_SetBitrateL();
       
    92          
       
    93          void UT_CMccCodecAmrWb_SetBitrateFromBitrateMaskL();
       
    94          
       
    95          void UT_CMccCodecAmrWb_SetSamplingFreqL();
       
    96          
       
    97          void UT_CMccCodecAmrWb_SetPTimeL();
       
    98          
       
    99          void UT_CMccCodecAmrWb_SetMaxPTimeL();
       
   100          
       
   101          void UT_CMccCodecAmrWb_SetSdpNameL();
       
   102          
       
   103          void UT_CMccCodecAmrWb_SetPayloadTypeL();
       
   104          
       
   105          void UT_CMccCodecAmrWb_SetCodecModeL();
       
   106          
       
   107          void UT_CMccCodecAmrWb_SetAllowedBitratesL();
       
   108 
       
   109          void UT_CMccCodecAmrWb_SetChannelsL();
       
   110         
       
   111          void UT_CMccCodecAmrWb_SetRedCountL();
       
   112         
       
   113          void UT_CMccCodecAmrWb_SetMaxRedL();
       
   114 
       
   115          void UT_CMccCodecAmrWb_GetChannelsL();        
       
   116         
       
   117          void UT_CMccCodecAmrWb_GetFmtpLL();        
       
   118         
       
   119          void UT_CMccCodecAmrWb_ParseFmtpAttrLL();
       
   120         
       
   121          void UT_CMccCodecAmrWb_CreateFmtpAttrListLL();
       
   122 
       
   123          void UT_CMccCodecAmrWb_CreateFmtpAttrListL_1L();
       
   124         
       
   125          void UT_CMccCodecAmrWb_SetModeChangePeriodL();        
       
   126         
       
   127          void UT_CMccCodecAmrWb_ModeChangePeriodL();        
       
   128         
       
   129          void UT_CMccCodecAmrWb_SetModeChangeNeighborL();        
       
   130         
       
   131          void UT_CMccCodecAmrWb_ModeChangeNeighborL();
       
   132          
       
   133          void UT_CMccCodecAmrWb_SetCrcL();
       
   134          
       
   135          void UT_CMccCodecAmrWb_GetCrcL();
       
   136          
       
   137          void UT_CMccCodecAmrWb_SetRobustSortingL();
       
   138          
       
   139          void UT_CMccCodecAmrWb_GetRobustSortingL();
       
   140 
       
   141     private:    // Data
       
   142 
       
   143         EUNIT_DECLARE_TEST_TABLE; 
       
   144         
       
   145         CMccCodecAmrWb* iCodecAmr;
       
   146 
       
   147     };
       
   148 
       
   149 #endif      //  __UT_CMCCCODECAMRWB_H__
       
   150 
       
   151 // End of file