|
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_cmcesdpsession.h" |
|
23 #include "UT_cmcemediamanager.h" |
|
24 #include "UT_tmcesrvstreamiterator.h" |
|
25 #include "UT_tmcemediaidle.h" |
|
26 #include "UT_tmceofferingmedia.h" |
|
27 #include "UT_tmceansweringmedia.h" |
|
28 #include "UT_tmceansweringmediaupdate.h" |
|
29 #include "UT_tmcemedianegotiated.h" |
|
30 #include "UT_tmcepreparingoffererstreams.h" |
|
31 #include "UT_tmcestartingoffererreceivestreams.h" |
|
32 #include "UT_tmcestartingofferersendstreams.h" |
|
33 #include "UT_tmcestartinganswererstreams.h" |
|
34 #include "UT_tmcepreparinganswererstreams.h" |
|
35 #include "UT_cmcesrvstream.h" |
|
36 #include "UT_cmcesrvsink.h" |
|
37 #include "UT_cmcesrvsource.h" |
|
38 #include "UT_cmceadoptedsrvstream.h" |
|
39 #include "UT_cmcesdpcodec.h" |
|
40 #include "UT_cmcemediasdpcodec.h" |
|
41 #include "UT_cmceaudiosdpcodec.h" |
|
42 #include "UT_cmcevideosdpcodec.h" |
|
43 #include "UT_tmcepreconditions.h" |
|
44 #include "UT_CMceSecureMediaSession.h" |
|
45 #include "UT_CMceSecureDesStream.h" |
|
46 #include "UT_TMceSecurePreconditions.h" |
|
47 #include "UT_CMceNatPluginManager.h" |
|
48 |
|
49 |
|
50 // EXTERNAL INCLUDES |
|
51 #include <digia/eunit/CEUnitTestSuite.h> |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 /** |
|
58 * Test suite factory function. |
|
59 */ |
|
60 EXPORT_C MEUnitTest* CreateTestSuiteL() |
|
61 { |
|
62 CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC(_L("Wizard generated")); |
|
63 |
|
64 rootSuite->AddL( UT_CMceSdpSession::NewLC() ); |
|
65 CleanupStack::Pop(); |
|
66 |
|
67 rootSuite->AddL( UT_CMceSdpCodec::NewLC() ); |
|
68 CleanupStack::Pop(); |
|
69 |
|
70 rootSuite->AddL( UT_CMceMediaSdpCodec::NewLC() ); |
|
71 CleanupStack::Pop(); |
|
72 |
|
73 rootSuite->AddL( UT_CMceAudioSdpCodec::NewLC() ); |
|
74 CleanupStack::Pop(); |
|
75 |
|
76 rootSuite->AddL( UT_CMceVideoSdpCodec::NewLC() ); |
|
77 CleanupStack::Pop(); |
|
78 |
|
79 rootSuite->AddL( UT_CMceMediaManager::NewLC() ); |
|
80 CleanupStack::Pop(); |
|
81 |
|
82 rootSuite->AddL( UT_TMceSrvStreamIterator::NewLC() ); |
|
83 CleanupStack::Pop(); |
|
84 |
|
85 rootSuite->AddL( UT_TMceMediaIdle::NewLC() ); |
|
86 CleanupStack::Pop(); |
|
87 |
|
88 rootSuite->AddL( UT_TMceOfferingMedia::NewLC() ); |
|
89 CleanupStack::Pop(); |
|
90 |
|
91 rootSuite->AddL( UT_TMceAnsweringMedia::NewLC() ); |
|
92 CleanupStack::Pop(); |
|
93 |
|
94 rootSuite->AddL( UT_TMceAnsweringMediaUpdate::NewLC() ); |
|
95 CleanupStack::Pop(); |
|
96 |
|
97 rootSuite->AddL( UT_TMceMediaNegotiated::NewLC() ); |
|
98 CleanupStack::Pop(); |
|
99 |
|
100 rootSuite->AddL( UT_TMcePreparingOffererStreams::NewLC() ); |
|
101 CleanupStack::Pop(); |
|
102 |
|
103 rootSuite->AddL( UT_TMceStartingOffererReceiveStreams::NewLC() ); |
|
104 CleanupStack::Pop(); |
|
105 |
|
106 rootSuite->AddL( UT_TMceStartingOffererSendStreams::NewLC() ); |
|
107 CleanupStack::Pop(); |
|
108 |
|
109 rootSuite->AddL( UT_TMcePreparingAnswererStreams::NewLC() ); |
|
110 CleanupStack::Pop(); |
|
111 |
|
112 rootSuite->AddL( UT_TMceStartingAnswererStreams::NewLC() ); |
|
113 CleanupStack::Pop(); |
|
114 |
|
115 rootSuite->AddL( UT_CMceSrvSink::NewLC() ); |
|
116 CleanupStack::Pop(); |
|
117 |
|
118 rootSuite->AddL( UT_CMceSrvSource::NewLC() ); |
|
119 CleanupStack::Pop(); |
|
120 |
|
121 rootSuite->AddL( UT_CMceSrvStream::NewLC() ); |
|
122 CleanupStack::Pop(); |
|
123 |
|
124 rootSuite->AddL( UT_CMceAdoptedSrvStream::NewLC() ); |
|
125 CleanupStack::Pop(); |
|
126 |
|
127 rootSuite->AddL( UT_TMceSegmentedPreconditions::NewLC() ); |
|
128 CleanupStack::Pop(); |
|
129 |
|
130 rootSuite->AddL( UT_CMceSecureDesStream::NewLC() ); |
|
131 CleanupStack::Pop(); |
|
132 |
|
133 rootSuite->AddL( UT_CMceSecureMediaSession::NewLC() ); |
|
134 CleanupStack::Pop(); |
|
135 |
|
136 rootSuite->AddL( UT_TMceSecurePreconditions::NewLC() ); |
|
137 CleanupStack::Pop(); |
|
138 |
|
139 rootSuite->AddL( UT_CMceNatPluginManager::NewLC() ); |
|
140 CleanupStack::Pop(); |
|
141 |
|
142 CleanupStack::Pop(); // rootSuite |
|
143 |
|
144 return rootSuite; |
|
145 } |
|
146 |
|
147 /** |
|
148 * Standard Symbian DLL entry point function. |
|
149 */ |
|
150 |
|
151 |
|
152 // END OF FILE |