mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengreceivesession.h
branchRCL_3
changeset 22 73a1feb507fb
parent 0 f0cf47e981f9
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
    25 #include <digia/eunit/eunitmacros.h>
    25 #include <digia/eunit/eunitmacros.h>
    26 
    26 
    27 //  FORWARD DECLARATIONS
    27 //  FORWARD DECLARATIONS
    28 class CMceInSession;
    28 class CMceInSession;
    29 class CMusEngReceiveSession;
    29 class CMusEngReceiveSession;
    30 class CMusEngObserverStub;
    30 class CLcSessionObserverStub;
    31 class CMceVideoStream;
    31 class CMceVideoStream;
    32 class CMceAudioStream;
    32 class CMceAudioStream;
       
    33 class CLcUiProviderStub;
    33 
    34 
    34 #include <e32def.h>
    35 #include <e32def.h>
    35 #ifndef NONSHARABLE_CLASS
    36 #ifndef NONSHARABLE_CLASS
    36     #define NONSHARABLE_CLASS(x) class x
    37     #define NONSHARABLE_CLASS(x) class x
    37 #endif
    38 #endif
    77                                              TBool aConstructSinks = ETrue );
    78                                              TBool aConstructSinks = ETrue );
    78 
    79 
    79     private: // Test methdods
    80     private: // Test methdods
    80     
    81     
    81         void UT_NewLL();
    82         void UT_NewLL();
    82         void UT_AcceptInvitationLL();
    83         void UT_LcSessionStateL();
       
    84         void UT_EstablishLcSessionL();
       
    85         void UT_TerminateLcSessionL();
       
    86         void UT_RemoteVideoPlayerL();        
       
    87         void UT_RemoteDisplayName();        
    83         void UT_HandleSessionStateChangedL();
    88         void UT_HandleSessionStateChangedL();
    84         void UT_AdjustVideoCodecLL();
    89         void UT_AdjustVideoCodecLL();
    85         void UT_AdjustAudioCodecLL();
    90         void UT_AdjustAudioCodecLL();
    86         void UT_DoCodecSelectionLL();
    91         void UT_DoCodecSelectionLL();
    87         void UT_IncomingSessionL();
    92         void UT_IncomingSessionL();
    88         void UT_IncomingUpdateL();
    93         void UT_IncomingUpdateL();
    89         void UT_StreamStateChangedL();
    94         void UT_StreamStateChangedL();
    90         
       
    91         // All the following functions test
       
    92         // CMusEngReceiveSession::CompleteSessionStructureL
       
    93         void UT_CompleteSessionStructureL_WithoutSessionL();
    95         void UT_CompleteSessionStructureL_WithoutSessionL();
    94         void UT_CompleteSessionStructureL_WithoutStreamsL();
    96         void UT_CompleteSessionStructureL_WithoutStreamsL();
    95         void UT_CompleteSessionStructureL_WithOutgoingStreamL();
    97         void UT_CompleteSessionStructureL_WithOutgoingStreamL();
    96         void UT_CompleteSessionStructureL_WithVideoInL();
    98         void UT_CompleteSessionStructureL_WithVideoInL();
    97         void UT_CompleteSessionStructureL_WithVideoOutBoundToVideoInL();
    99         void UT_CompleteSessionStructureL_WithVideoOutBoundToVideoInL();
    98         void UT_CompleteSessionStructureL_WithVideoInBoundToVideoOutL();
   100         void UT_CompleteSessionStructureL_WithVideoInBoundToVideoOutL();
    99         void UT_CompleteSessionStructureL_WithMultipleVideoInsL();
   101         void UT_CompleteSessionStructureL_WithMultipleVideoInsL();
   100         void UT_CompleteSessionStructureL_WithVideoAndMultipleAudioInsL();
   102         void UT_CompleteSessionStructureL_WithVideoAndMultipleAudioInsL();
   101         void UT_CompleteSessionStructureL_OperatorVariant();
   103         void UT_CompleteSessionStructureL_OperatorVariant();   
   102         
   104         void UT_CompleteSessionStructureL_SdpBandwidthAttributesL();   
   103         void UT_ParseAssertedIdentityL();
   105         void UT_ParseAssertedIdentityL();
       
   106         void UT_ContactSavingLL();
       
   107         void UT_IsDisplayActive();
       
   108         void UT_InactivityTimeoutL();
   104         
   109         
   105     private:    // Data
   110     private:    // Data
   106 
   111 
   107         CMusEngReceiveSession* iReceiveSession;
   112         CMusEngReceiveSession* iReceiveSession;
   108         CMusEngObserverStub* iObserver;
   113         CLcSessionObserverStub* iLcSessionObserver;
       
   114         CLcUiProviderStub* iLcUiProvider;
   109 
   115 
   110         EUNIT_DECLARE_TEST_TABLE;
   116         EUNIT_DECLARE_TEST_TABLE;
   111 
   117 
   112     };
   118     };
   113 
   119