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 CLcSessionObserverStub; |
30 class CMusEngObserverStub; |
31 class CMceVideoStream; |
31 class CMceVideoStream; |
32 class CMceAudioStream; |
32 class CMceAudioStream; |
33 class CLcUiProviderStub; |
|
34 |
33 |
35 #include <e32def.h> |
34 #include <e32def.h> |
36 #ifndef NONSHARABLE_CLASS |
35 #ifndef NONSHARABLE_CLASS |
37 #define NONSHARABLE_CLASS(x) class x |
36 #define NONSHARABLE_CLASS(x) class x |
38 #endif |
37 #endif |
78 TBool aConstructSinks = ETrue ); |
77 TBool aConstructSinks = ETrue ); |
79 |
78 |
80 private: // Test methdods |
79 private: // Test methdods |
81 |
80 |
82 void UT_NewLL(); |
81 void UT_NewLL(); |
83 void UT_LcSessionStateL(); |
82 void UT_AcceptInvitationLL(); |
84 void UT_EstablishLcSessionL(); |
|
85 void UT_TerminateLcSessionL(); |
|
86 void UT_RemoteVideoPlayerL(); |
|
87 void UT_RemoteDisplayName(); |
|
88 void UT_HandleSessionStateChangedL(); |
83 void UT_HandleSessionStateChangedL(); |
89 void UT_AdjustVideoCodecLL(); |
84 void UT_AdjustVideoCodecLL(); |
90 void UT_AdjustAudioCodecLL(); |
85 void UT_AdjustAudioCodecLL(); |
91 void UT_DoCodecSelectionLL(); |
86 void UT_DoCodecSelectionLL(); |
92 void UT_IncomingSessionL(); |
87 void UT_IncomingSessionL(); |
93 void UT_IncomingUpdateL(); |
88 void UT_IncomingUpdateL(); |
94 void UT_StreamStateChangedL(); |
89 void UT_StreamStateChangedL(); |
|
90 |
|
91 // All the following functions test |
|
92 // CMusEngReceiveSession::CompleteSessionStructureL |
95 void UT_CompleteSessionStructureL_WithoutSessionL(); |
93 void UT_CompleteSessionStructureL_WithoutSessionL(); |
96 void UT_CompleteSessionStructureL_WithoutStreamsL(); |
94 void UT_CompleteSessionStructureL_WithoutStreamsL(); |
97 void UT_CompleteSessionStructureL_WithOutgoingStreamL(); |
95 void UT_CompleteSessionStructureL_WithOutgoingStreamL(); |
98 void UT_CompleteSessionStructureL_WithVideoInL(); |
96 void UT_CompleteSessionStructureL_WithVideoInL(); |
99 void UT_CompleteSessionStructureL_WithVideoOutBoundToVideoInL(); |
97 void UT_CompleteSessionStructureL_WithVideoOutBoundToVideoInL(); |
100 void UT_CompleteSessionStructureL_WithVideoInBoundToVideoOutL(); |
98 void UT_CompleteSessionStructureL_WithVideoInBoundToVideoOutL(); |
101 void UT_CompleteSessionStructureL_WithMultipleVideoInsL(); |
99 void UT_CompleteSessionStructureL_WithMultipleVideoInsL(); |
102 void UT_CompleteSessionStructureL_WithVideoAndMultipleAudioInsL(); |
100 void UT_CompleteSessionStructureL_WithVideoAndMultipleAudioInsL(); |
103 void UT_CompleteSessionStructureL_OperatorVariant(); |
101 void UT_CompleteSessionStructureL_OperatorVariant(); |
104 void UT_CompleteSessionStructureL_SdpBandwidthAttributesL(); |
102 |
105 void UT_ParseAssertedIdentityL(); |
103 void UT_ParseAssertedIdentityL(); |
106 void UT_ContactSavingLL(); |
|
107 void UT_IsDisplayActive(); |
|
108 void UT_InactivityTimeoutL(); |
|
109 |
104 |
110 private: // Data |
105 private: // Data |
111 |
106 |
112 CMusEngReceiveSession* iReceiveSession; |
107 CMusEngReceiveSession* iReceiveSession; |
113 CLcSessionObserverStub* iLcSessionObserver; |
108 CMusEngObserverStub* iObserver; |
114 CLcUiProviderStub* iLcUiProvider; |
|
115 |
109 |
116 EUNIT_DECLARE_TEST_TABLE; |
110 EUNIT_DECLARE_TEST_TABLE; |
117 |
111 |
118 }; |
112 }; |
119 |
113 |