|
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_CMccRTPMANAGER_H__ |
|
22 #define __UT_CMccRTPMANAGER_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 CMccResourcePoolStub; |
|
34 |
|
35 #include <e32def.h> |
|
36 #ifndef NONSHARABLE_CLASS |
|
37 #define NONSHARABLE_CLASS(x) class x |
|
38 #endif |
|
39 |
|
40 // CLASS DEFINITION |
|
41 /** |
|
42 * |
|
43 * EUnitWizard generated test class. |
|
44 * |
|
45 */ |
|
46 NONSHARABLE_CLASS( UT_CMccRtpManager ) |
|
47 : public CEUnitTestSuiteClass |
|
48 { |
|
49 public: // Constructors and destructors |
|
50 |
|
51 /** |
|
52 * Two phase construction |
|
53 */ |
|
54 static UT_CMccRtpManager* NewL(); |
|
55 static UT_CMccRtpManager* NewLC(); |
|
56 /** |
|
57 * Destructor |
|
58 */ |
|
59 ~UT_CMccRtpManager(); |
|
60 |
|
61 private: // Constructors and destructors |
|
62 |
|
63 UT_CMccRtpManager(); |
|
64 void ConstructL(); |
|
65 |
|
66 public: // From observer interface |
|
67 |
|
68 |
|
69 |
|
70 private: // New methods |
|
71 |
|
72 void SetupL(); |
|
73 |
|
74 void Teardown(); |
|
75 |
|
76 void UT_CMccRtpManager_RemoveStreamFromArray(); |
|
77 |
|
78 void UT_CMccRtpManager_IsOpen(); |
|
79 |
|
80 void UT_CMccRtpManager_CheckStreamExists(); |
|
81 |
|
82 void UT_CMccRtpManager_CreateSessionLL(); |
|
83 |
|
84 |
|
85 void UT_CMccRtpManager_CloseSessionL(); |
|
86 |
|
87 |
|
88 void UT_CMccRtpManager_GetRtpReferenceLL(); |
|
89 |
|
90 |
|
91 void UT_CMccRtpManager_SetRemoteAddressL(); |
|
92 |
|
93 void UT_CMccRtpManager_SetRemoteRtcpAddrL(); |
|
94 |
|
95 void UT_CMccRtpManager_SetIpTOSL(); |
|
96 |
|
97 |
|
98 void UT_CMccRtpManager_StartSessionLL(); |
|
99 |
|
100 |
|
101 void UT_CMccRtpManager_InitializeLL(); |
|
102 |
|
103 |
|
104 void UT_CMccRtpManager_SessionIdL(); |
|
105 |
|
106 |
|
107 void UT_CMccRtpManager_CreateTransmitStreamLL(); |
|
108 |
|
109 |
|
110 void UT_CMccRtpManager_CreateReceiveStreamLL(); |
|
111 |
|
112 |
|
113 void UT_CMccRtpManager_RefreshDownlinkLL(); |
|
114 |
|
115 |
|
116 void UT_CMccRtpManager_SetRTCPSendL(); |
|
117 |
|
118 |
|
119 void UT_CMccRtpManager_ErrorNotifyL(); |
|
120 |
|
121 void UT_CMccRtpManager_GetLocalIpAddressesL(); |
|
122 |
|
123 void UT_CMccRtpManager_SetCNameL(); |
|
124 |
|
125 void UT_CMccRtpManager_QoSParamEvent(); |
|
126 |
|
127 void UT_CMccRtpManager_QoSConnEvent(); |
|
128 |
|
129 |
|
130 private: // Data |
|
131 |
|
132 EUNIT_DECLARE_TEST_TABLE; |
|
133 |
|
134 CMccTestEventHandler* iHandler; |
|
135 CMccRtpManager* iRtpMan; |
|
136 CMccResourcePoolStub* iResources; |
|
137 TUint32 iMccSessionId; |
|
138 }; |
|
139 |
|
140 #endif // __UT_CMccRTPMANAGER_H__ |
|
141 |
|
142 // End of file |