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; |
29 class CMusEngObserverStub; |
31 class CMusEngObserverStub; |
30 |
32 |
31 // CONSTANTS |
33 // CONSTANTS |
32 _LIT8( KMusSipUri, "sip:user@domain.com" ); |
34 _LIT8( KMusSipUri, "sip:user@domain.com" ); |
33 |
35 |
58 void ConstructL(); |
60 void ConstructL(); |
59 |
61 |
60 private: // Test case setup and teardown |
62 private: // Test case setup and teardown |
61 |
63 |
62 void SetupL(); |
64 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(); |
|
82 void UT_CompleteSessionStructureLL(); |
70 void UT_CompleteSessionStructureLL(); |
83 void UT_StreamStateChangedL(); |
71 void UT_StreamStateChangedL(); |
84 void UT_StreamStateChangedWithSourceL(); |
72 void UT_StreamStateChangedWithSourceL(); |
85 void UT_StreamStateChangedWithSinkL(); |
73 void UT_StreamStateChangedWithSinkL(); |
86 void UT_AddAmrCodecLL(); |
74 void UT_AddAmrCodecLL(); |
87 void UT_AddVideoCodecLL(); |
75 void UT_AddVideoCodecLL(); |
88 void UT_HasClipEndedL(); |
|
89 void UT_ConstructAudioStructureLL(); |
76 void UT_ConstructAudioStructureLL(); |
90 void UT_ConstructAudioStructureL_OperatorVariantL(); |
77 void UT_ConstructAudioStructureL_OperatorVariantL(); |
91 void UT_EstablishSessionLL(); |
78 void UT_EstablishSessionLL(); |
92 void UT_IsRewindFromEndL(); |
|
93 |
79 |
94 private: // Data |
80 private: // Data |
95 |
81 |
96 CMusEngClipSession* iClipSession; |
82 CMusEngClipSession* iClipSession; |
97 CMusEngObserverStub* iObserver; |
83 CLcSessionObserverStub* iLcSessionObserver; |
|
84 CLcUiProviderStub* iLcUiProvider; |
|
85 CMusEngObserverStub* iAudioRoutingObserver; |
98 |
86 |
99 EUNIT_DECLARE_TEST_TABLE; |
87 EUNIT_DECLARE_TEST_TABLE; |
100 |
|
101 }; |
88 }; |
102 |
89 |
103 #endif // __UT_MUSENGCLIPSESSION_H__ |
90 #endif // __UT_MUSENGCLIPSESSION_H__ |
104 |
91 |
105 // End of file |
92 // End of file |