mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengclipsession.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
    24 #include <digia/eunit/ceunittestsuiteclass.h>
    24 #include <digia/eunit/ceunittestsuiteclass.h>
    25 #include <digia/eunit/eunitmacros.h>
    25 #include <digia/eunit/eunitmacros.h>
    26 
    26 
    27 //  FORWARD DECLARATIONS
    27 //  FORWARD DECLARATIONS
    28 class CMusEngClipSession;
    28 class CMusEngClipSession;
    29 class CLcSessionObserverStub;
       
    30 class CLcUiProviderStub;
       
    31 class CMusEngObserverStub;
    29 class CMusEngObserverStub;
    32 
    30 
    33 // CONSTANTS
    31 // CONSTANTS
    34 _LIT8( KMusSipUri, "sip:user@domain.com" );
    32 _LIT8( KMusSipUri, "sip:user@domain.com" );
    35 
    33 
    60         void ConstructL();
    58         void ConstructL();
    61         
    59         
    62     private: // Test case setup and teardown
    60     private: // Test case setup and teardown
    63 
    61 
    64         void SetupL();
    62         void SetupL();
       
    63         void Setup2L();
       
    64 
    65         void Teardown();
    65         void Teardown();
    66 
    66 
    67     private: // Test methdods
    67     private: // Test methdods
    68     
    68     
    69         void UT_NewLL();
    69         void UT_NewLL();
       
    70         void UT_SetClipLL();
       
    71         void UT_FastForwardLL();
       
    72         void UT_FastRewindLL();
       
    73         void UT_PositionLL();
       
    74         void UT_DurationLL();
       
    75         void UT_SetPositionLL();
       
    76         void UT_TranscodeLToAvcL();
       
    77         void UT_TranscodeLToH263L();
       
    78         void UT_CancelTranscodeLL();
       
    79         void UT_PlayLL();
       
    80         void UT_PauseLL();
       
    81         void UT_IsPlayingLL();
    70         void UT_CompleteSessionStructureLL();
    82         void UT_CompleteSessionStructureLL();
    71         void UT_StreamStateChangedL();
    83         void UT_StreamStateChangedL();
    72         void UT_StreamStateChangedWithSourceL();
    84         void UT_StreamStateChangedWithSourceL();
    73         void UT_StreamStateChangedWithSinkL();
    85         void UT_StreamStateChangedWithSinkL();
    74         void UT_AddAmrCodecLL();
    86         void UT_AddAmrCodecLL();
    75         void UT_AddVideoCodecLL();
    87         void UT_AddVideoCodecLL();
       
    88         void UT_HasClipEndedL();
    76         void UT_ConstructAudioStructureLL();
    89         void UT_ConstructAudioStructureLL();
    77         void UT_ConstructAudioStructureL_OperatorVariantL();
    90         void UT_ConstructAudioStructureL_OperatorVariantL();
    78         void UT_EstablishSessionLL();
    91         void UT_EstablishSessionLL();
       
    92         void UT_IsRewindFromEndL();
    79         
    93         
    80     private:    // Data
    94     private:    // Data
    81 
    95 
    82         CMusEngClipSession* iClipSession;
    96         CMusEngClipSession* iClipSession;
    83         CLcSessionObserverStub* iLcSessionObserver;
    97         CMusEngObserverStub* iObserver;
    84         CLcUiProviderStub* iLcUiProvider;
       
    85         CMusEngObserverStub* iAudioRoutingObserver;
       
    86 
    98 
    87         EUNIT_DECLARE_TEST_TABLE;
    99         EUNIT_DECLARE_TEST_TABLE;
       
   100 
    88     };
   101     };
    89 
   102 
    90 #endif      //  __UT_MUSENGCLIPSESSION_H__
   103 #endif      //  __UT_MUSENGCLIPSESSION_H__
    91 
   104 
    92 // End of file
   105 // End of file