|
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 // CLASS HEADER |
|
22 #include "UT_cmcecsreceivequeue.h" |
|
23 #include "ut_cmcecsreceiverbase.h" |
|
24 #include "ut_cmcecssession.h" |
|
25 #include "ut_cmcecssubsession.h" |
|
26 #include "ut_cmcesipsession.h" |
|
27 #include "ut_cmcesipevent.h" |
|
28 #include "ut_cmcesipconnection.h" |
|
29 #include "ut_cmcesipmanager.h" |
|
30 #include "ut_cmceclientresolver.h" |
|
31 #include "UT_TMceActionSet.h" |
|
32 #include "ut_cmcestateidle.h" |
|
33 #include "ut_cmcestateclientestablishing.h" |
|
34 #include "ut_cmcestateoffering.h" |
|
35 #include "ut_cmcestateestablished.h" |
|
36 #include "ut_cmcestateserverestablishing.h" |
|
37 #include "ut_cmcestateserveroffering.h" |
|
38 #include "ut_cmcestateupdating.h" |
|
39 #include "ut_cmcestateupdated.h" |
|
40 #include "ut_cmcestateanswering.h" |
|
41 #include "ut_cmcestateterminating.h" |
|
42 #include "ut_cmcestatecanceled.h" |
|
43 #include "ut_cmcestateerror.h" |
|
44 #include "ut_cmcestateconfirming.h" |
|
45 #include "ut_cmcestateclientreserving.h" |
|
46 #include "ut_cmcestateacknowledgementrequired.h" |
|
47 #include "ut_cmcestateconfirmationrequired.h" |
|
48 #include "ut_cmcestateserverreserving.h" |
|
49 #include "ut_cmcestateserverinitializing.h" |
|
50 #include "ut_mCEUsesCases.h" |
|
51 #include "ut_cmcesipdefaultdata.h" |
|
52 #include "ut_cmcesipdefaults.h" |
|
53 #include "ut_mcesip.h" |
|
54 #include "ut_cmcedictionary.h" |
|
55 #include "ut_cmcesipextensions.h" |
|
56 #include "ut_cmcereliablesender.h" |
|
57 #include "ut_cmcelocaladdrresolver.h" |
|
58 #include "UT_CMCENatSipSession.h" |
|
59 #include "UT_CMCENatUseCases.h" |
|
60 #include "ut_cmcenatstatecreateofferrequested.h" |
|
61 #include "ut_cmcenatstatecreateoffer.h" |
|
62 #include "ut_cmcenatstatecreateanswer.h" |
|
63 #include "ut_cmcenatstatedecodeanswer.h" |
|
64 #include "ut_cmcenatstatedecodeoffer.h" |
|
65 #include "ut_cmcenatstatewait.h" |
|
66 #include "ut_cmcenatstateconnected.h" |
|
67 #include "ut_cmcenatstateidle.h" |
|
68 #include "UT_CNSPPluginStub.h" |
|
69 #include "UT_CMceState.h" |
|
70 |
|
71 // EXTERNAL INCLUDES |
|
72 #include <digia/eunit/CEUnitTestSuite.h> |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 /** |
|
78 * Test suite factory function. |
|
79 */ |
|
80 EXPORT_C MEUnitTest* CreateTestSuiteL() |
|
81 { |
|
82 CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC(_L("Wizard generated")); |
|
83 |
|
84 rootSuite->AddL( UT_CMceCsSubSession::NewLC() ); |
|
85 CleanupStack::Pop(); |
|
86 |
|
87 rootSuite->AddL( UT_CMceCsReceiveQueue::NewLC() ); |
|
88 CleanupStack::Pop(); |
|
89 |
|
90 rootSuite->AddL( UT_CMceCsReceiverBase::NewLC() ); |
|
91 CleanupStack::Pop(); |
|
92 |
|
93 rootSuite->AddL( UT_CMceCsSession::NewLC() ); |
|
94 CleanupStack::Pop(); |
|
95 |
|
96 rootSuite->AddL( UT_CMceSipSession::NewLC() ); |
|
97 CleanupStack::Pop(); |
|
98 |
|
99 rootSuite->AddL( UT_CMceSipEvent::NewLC() ); |
|
100 CleanupStack::Pop(); |
|
101 |
|
102 rootSuite->AddL( UT_CMceSipConnection::NewLC() ); |
|
103 CleanupStack::Pop(); |
|
104 |
|
105 rootSuite->AddL( UT_CMceSipManager::NewLC() ); |
|
106 CleanupStack::Pop(); |
|
107 |
|
108 rootSuite->AddL( UT_CMceClientResolver::NewLC() ); |
|
109 CleanupStack::Pop(); |
|
110 |
|
111 rootSuite->AddL( UT_TMceActionSet::NewLC() ); |
|
112 CleanupStack::Pop(); |
|
113 |
|
114 rootSuite->AddL( UT_CMceStateIdle::NewLC() ); |
|
115 CleanupStack::Pop(); |
|
116 |
|
117 rootSuite->AddL( UT_CMceStateClientEstablishing::NewLC() ); |
|
118 CleanupStack::Pop(); |
|
119 |
|
120 rootSuite->AddL( UT_CMceStateOffering::NewLC() ); |
|
121 CleanupStack::Pop(); |
|
122 |
|
123 rootSuite->AddL( UT_CMceStateEstablished::NewLC() ); |
|
124 CleanupStack::Pop(); |
|
125 |
|
126 rootSuite->AddL( UT_CMceStateServerEstablishing::NewLC() ); |
|
127 CleanupStack::Pop(); |
|
128 |
|
129 rootSuite->AddL( UT_CMceStateUpdating::NewLC() ); |
|
130 CleanupStack::Pop(); |
|
131 |
|
132 rootSuite->AddL( UT_CMceStateUpdated::NewLC() ); |
|
133 CleanupStack::Pop(); |
|
134 |
|
135 rootSuite->AddL( UT_CMceStateAnswering::NewLC() ); |
|
136 CleanupStack::Pop(); |
|
137 |
|
138 rootSuite->AddL( UT_CMceStateTerminating::NewLC() ); |
|
139 CleanupStack::Pop(); |
|
140 |
|
141 rootSuite->AddL( UT_CMceStateCanceled::NewLC() ); |
|
142 CleanupStack::Pop(); |
|
143 |
|
144 rootSuite->AddL( UT_CMceStateError::NewLC() ); |
|
145 CleanupStack::Pop(); |
|
146 |
|
147 rootSuite->AddL( UT_CMceStateConfirming::NewLC() ); |
|
148 CleanupStack::Pop(); |
|
149 |
|
150 rootSuite->AddL( UT_CMceStateClientReserving::NewLC() ); |
|
151 CleanupStack::Pop(); |
|
152 |
|
153 rootSuite->AddL( UT_CMceStateAcknowledgementRequired::NewLC() ); |
|
154 CleanupStack::Pop(); |
|
155 |
|
156 rootSuite->AddL( UT_CMceStateServerReserving::NewLC() ); |
|
157 CleanupStack::Pop(); |
|
158 |
|
159 rootSuite->AddL( UT_CMceStateServerOffering::NewLC() ); |
|
160 CleanupStack::Pop(); |
|
161 |
|
162 rootSuite->AddL( UT_CMceStateConfirmationRequired::NewLC() ); |
|
163 CleanupStack::Pop(); |
|
164 |
|
165 rootSuite->AddL( UT_CMceStateServerInitializing::NewLC() ); |
|
166 CleanupStack::Pop(); |
|
167 |
|
168 rootSuite->AddL( UT_MCEUsesCases::NewLC() ); |
|
169 CleanupStack::Pop(); |
|
170 |
|
171 rootSuite->AddL( UT_CMceSipDefaultData::NewLC() ); |
|
172 CleanupStack::Pop(); |
|
173 |
|
174 rootSuite->AddL( UT_CMceSipDefaults::NewLC() ); |
|
175 CleanupStack::Pop(); |
|
176 |
|
177 rootSuite->AddL( UT_MCESIP::NewLC() ); |
|
178 CleanupStack::Pop(); |
|
179 |
|
180 rootSuite->AddL( UT_CMceDictionary::NewLC() ); |
|
181 CleanupStack::Pop(); |
|
182 |
|
183 rootSuite->AddL( UT_CMceSipExtensions::NewLC() ); |
|
184 CleanupStack::Pop(); |
|
185 |
|
186 rootSuite->AddL( UT_CMceReliableSender::NewLC() ); |
|
187 CleanupStack::Pop(); |
|
188 |
|
189 rootSuite->AddL( UT_CMceLocalAddrResolver::NewLC() ); |
|
190 CleanupStack::Pop(); |
|
191 |
|
192 rootSuite->AddL( UT_CMceNatSipSession::NewLC() ); |
|
193 CleanupStack::Pop(); |
|
194 |
|
195 rootSuite->AddL( UT_CMCENatUseCases::NewLC() ); |
|
196 CleanupStack::Pop(); |
|
197 |
|
198 rootSuite->AddL( UT_CMceNatStateCreateOfferRequested::NewLC() ); |
|
199 CleanupStack::Pop(); |
|
200 |
|
201 rootSuite->AddL( UT_CMceNatStateCreateOffer::NewLC() ); |
|
202 CleanupStack::Pop(); |
|
203 |
|
204 rootSuite->AddL( UT_CMceNatStateCreateAnswer::NewLC() ); |
|
205 CleanupStack::Pop(); |
|
206 |
|
207 rootSuite->AddL( UT_CMceNatStateDecodeOffer::NewLC() ); |
|
208 CleanupStack::Pop(); |
|
209 |
|
210 rootSuite->AddL( UT_CMceNatStateDecodeAnswer::NewLC() ); |
|
211 CleanupStack::Pop(); |
|
212 |
|
213 rootSuite->AddL( UT_CMceNatStateWait::NewLC() ); |
|
214 CleanupStack::Pop(); |
|
215 |
|
216 rootSuite->AddL( UT_CMceNatStateConnected::NewLC() ); |
|
217 CleanupStack::Pop(); |
|
218 |
|
219 rootSuite->AddL( UT_CMceNatStateIdle::NewLC() ); |
|
220 CleanupStack::Pop(); |
|
221 |
|
222 rootSuite->AddL( UT_CNSPPluginStub::NewLC() ); |
|
223 CleanupStack::Pop(); |
|
224 |
|
225 rootSuite->AddL( UT_CMceState::NewLC() ); |
|
226 CleanupStack::Pop(); |
|
227 |
|
228 CleanupStack::Pop(); // rootSuite |
|
229 |
|
230 return rootSuite; |
|
231 } |
|
232 |
|
233 #ifdef _BullseyeCoverage |
|
234 GLDEF_C int __stdcall __E32Dll(void*, unsigned, void*) |
|
235 { |
|
236 return 0; |
|
237 } |
|
238 #endif |
|
239 |
|
240 // END OF FILE |