multimediacommscontroller/mmccjitterbuffer/tsrc/ut_jitterbuffer/inc/UT_CMccCnGenerator.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_CMccCNGENERATOR_H__
       
    22 #define __UT_CMccCNGENERATOR_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 #include <mmf/common/mmfutilities.h>
       
    27 
       
    28 //  FORWARD DECLARATIONS
       
    29 class CMccCnGenerator;
       
    30 
       
    31 
       
    32 //  CLASS DEFINITION
       
    33 
       
    34 /**
       
    35  *
       
    36  * EUnitWizard generated test class. 
       
    37  *
       
    38  */
       
    39 class UT_CMccCnGenerator : public CEUnitTestSuiteClass
       
    40     {
       
    41     public:     // Constructors and destructors
       
    42 
       
    43         /**
       
    44          * Two phase construction
       
    45          */
       
    46         static UT_CMccCnGenerator* NewL();
       
    47         
       
    48         static UT_CMccCnGenerator* NewLC();
       
    49         
       
    50         /**
       
    51          * Destructor
       
    52          */
       
    53         ~UT_CMccCnGenerator();
       
    54         
       
    55 
       
    56     private:    // Constructors and destructors
       
    57 
       
    58         UT_CMccCnGenerator();
       
    59         
       
    60         void ConstructL();
       
    61         
       
    62 
       
    63     private:    // New methods
       
    64 
       
    65         void SetupL();
       
    66 
       
    67         void ReSetupL( TUint32 aFourCC );
       
    68         
       
    69         void Teardown();
       
    70         
       
    71         void UT_CMccCnGenerator_GenerateSidPacketL();
       
    72 
       
    73 
       
    74         void UT_CMccCnGenerator_ConcealErrorForNextFrameL();
       
    75         
       
    76         
       
    77         void UT_CMccCnGenerator_DtxPeriodStatusL();
       
    78         
       
    79         
       
    80         void UT_CMccCnGenerator_DoDtxDecisionL();
       
    81         
       
    82         
       
    83         void UT_CMccCnGenerator_IsSidBufferL();
       
    84         
       
    85 
       
    86     private:    // Data
       
    87 
       
    88 		EUNIT_DECLARE_TEST_TABLE; 
       
    89 		TFourCC iFourCC;
       
    90         CMccCnGenerator* iCnGenerator;
       
    91     };
       
    92 
       
    93 #endif      //  __UT_CMccCNGENERATOR_H__
       
    94 
       
    95 // End of file