multimediacommscontroller/mmccsubcontroller/tsrc/ut_subcontroller/Inc/UT_CMccSymDlStream.h
changeset 0 1bce908db942
child 18 817c922b90eb
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_CMccSYMDLSTREAM_H__
       
    22 #define __UT_CMccSYMDLSTREAM_H__
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuiteclass.h>
       
    26 
       
    27 //  INTERNAL INCLUDES
       
    28 
       
    29 
       
    30 //  FORWARD DECLARATIONS
       
    31 class CMccRtpManager;
       
    32 class CMccTestEventHandler;
       
    33 class CMccSymDlStream;
       
    34 class MDataSource;
       
    35 class MDataSink;
       
    36 class CMccResourcePoolStub;
       
    37 class CMccMultiplexer;
       
    38 class CMccRtpMediaClock;
       
    39 
       
    40 #include <e32def.h>
       
    41 #ifndef NONSHARABLE_CLASS
       
    42     #define NONSHARABLE_CLASS(x) class x
       
    43 #endif
       
    44 
       
    45 //  CLASS DEFINITION
       
    46 /**
       
    47  *
       
    48  * EUnitWizard generated test class. 
       
    49  *
       
    50  */
       
    51 NONSHARABLE_CLASS( UT_CMccSymDlStream )
       
    52      : public CEUnitTestSuiteClass
       
    53     {
       
    54     public:     // Constructors and destructors
       
    55 
       
    56         /**
       
    57          * Two phase construction
       
    58          */
       
    59         static UT_CMccSymDlStream* NewL();
       
    60         static UT_CMccSymDlStream* NewLC();
       
    61         /**
       
    62          * Destructor
       
    63          */
       
    64         ~UT_CMccSymDlStream();
       
    65 
       
    66     private:    // Constructors and destructors
       
    67 
       
    68         UT_CMccSymDlStream();
       
    69         void ConstructL();
       
    70 
       
    71     private:    // New methods
       
    72 
       
    73         void SetupL();
       
    74         void Setup2L();
       
    75         void SetupIlbcL();
       
    76         void Teardown();
       
    77         
       
    78         void UT_CMccSymDlStream_SetPrioritySettingsLL();
       
    79         
       
    80         void UT_CMccSymDlStream_CreatePayloadFormatDecoderL();
       
    81          
       
    82         void UT_CMccSymDlStream_DoDynamicFrameSizeChangeL();
       
    83          
       
    84         void UT_CMccSymDlStream_MultiplexerSink();
       
    85          
       
    86         void UT_CMccSymDlStream_AddSinkAndSourceLL();
       
    87         
       
    88         void UT_CMccSymDlStream_LoadCodecLL();
       
    89         
       
    90         void UT_CMccSymDlStream_UpdateCodecInformationLL();
       
    91         void IlbcModeChangeTestL();
       
    92         
       
    93         void UT_CMccSymDlStream_PrimeLL();
       
    94         
       
    95         void UT_CMccSymDlStream_PlayLL();
       
    96         
       
    97         void UT_CMccSymDlStream_PauseLL();
       
    98         
       
    99         void UT_CMccSymDlStream_ResumeLL();
       
   100         
       
   101         void UT_CMccSymDlStream_StopLL();
       
   102         
       
   103         void UT_CMccSymDlStream_SetBalanceLL();
       
   104         
       
   105         void UT_CMccSymDlStream_GetBalanceLL();
       
   106         
       
   107         void UT_CMccSymDlStream_GetSSRCLL();
       
   108         
       
   109         void UT_CMccSymDlStream_ResetCountersLL();
       
   110         
       
   111         void UT_CMccSymDlStream_SendMediaSignalL();
       
   112         
       
   113         void UT_CMccSymDlStream_SendRTCPReceiverReportLL();
       
   114         
       
   115         void UT_CMccSymDlStream_SendRTCPSenderReportLL();
       
   116         
       
   117         void UT_CMccSymDlStream_StartInactivityTimerLL();
       
   118         
       
   119         void UT_CMccSymDlStream_StopInactivityTimerLL();
       
   120          
       
   121         void UT_CMccSymDlStream_AudioRoutingLL();
       
   122         
       
   123         void UT_CMccSymDlStream_IsUplink();
       
   124          
       
   125         void UT_CMccSymDlStream_StandByL();
       
   126          
       
   127         void UT_CMccSymDlStream_JitterBufferError();
       
   128          
       
   129         void UT_CMccSymDlStream_BindContextIntoStreamL();
       
   130          
       
   131     private:    // Data
       
   132 
       
   133         EUNIT_DECLARE_TEST_TABLE; 
       
   134 
       
   135         CMccTestEventHandler* iHandler;
       
   136         CMccRtpManager* iRtpMan;
       
   137         CMccSymDlStream* iStream;
       
   138         TUint32 iStreamId;
       
   139         
       
   140         MDataSource* iSourceStub;
       
   141         MDataSink* iSinkStub;
       
   142         
       
   143         CMccResourcePoolStub* iResources;
       
   144         CMccMultiplexer* iMultiPlexer;
       
   145 		
       
   146         TUint32 iMccSessionId;
       
   147 
       
   148     };
       
   149 
       
   150 #endif      //  __UT_CMccSYMDLSTREAM_H__
       
   151 
       
   152 // End of file