equal
deleted
inserted
replaced
94 /* |
94 /* |
95 RProperty::Set( NMusSessionInformationApi::KCategoryUid, |
95 RProperty::Set( NMusSessionInformationApi::KCategoryUid, |
96 NMusSessionInformationApi::KMusCallCount, |
96 NMusSessionInformationApi::KMusCallCount, |
97 1 ); |
97 1 ); |
98 */ |
98 */ |
99 |
|
100 RTelHelper::SetConfStatus( RMobileConferenceCall::EConferenceIdle ); |
|
101 |
|
102 RProperty::Set( NMusSessionInformationApi::KCategoryUid, |
99 RProperty::Set( NMusSessionInformationApi::KCategoryUid, |
103 NMusSessionInformationApi::KMusCallEvent, |
100 NMusSessionInformationApi::KMusCallEvent, |
104 0 ); |
101 0 ); |
105 |
102 |
106 iConferenceCallMonitor = |
103 iConferenceCallMonitor = |
107 CMusCallConferenceMonitor::NewL( iMobilePhone, |
104 CMusCallConferenceMonitor::NewL( iMobilePhone, |
108 iLine , |
105 iLine , |
109 iCallMonitorArray ); |
106 iCallMonitorArray ); |
|
107 |
110 } |
108 } |
111 |
109 |
112 |
110 |
113 // ----------------------------------------------------------------------------- |
111 // ----------------------------------------------------------------------------- |
114 // |
112 // |
218 iConferenceCallMonitor->MonitorCallL(); |
216 iConferenceCallMonitor->MonitorCallL(); |
219 EUNIT_ASSERT( iConferenceCallMonitor->iCallMonitorArray.Count() == 0 ); |
217 EUNIT_ASSERT( iConferenceCallMonitor->iCallMonitorArray.Count() == 0 ); |
220 |
218 |
221 } |
219 } |
222 |
220 |
223 // ----------------------------------------------------------------------------- |
|
224 // |
|
225 // ----------------------------------------------------------------------------- |
|
226 // |
|
227 void UT_CMusCallConferenceMonitor::UT_CMusCallConferenceMonitor_GetConfStatus() |
|
228 { |
|
229 EUNIT_ASSERT( iConferenceCallMonitor->GetConfStatus() == RMobileConferenceCall::EConferenceIdle ); |
|
230 } |
|
231 |
221 |
232 // TEST TABLE |
222 // TEST TABLE |
233 |
223 |
234 EUNIT_BEGIN_TEST_TABLE( |
224 EUNIT_BEGIN_TEST_TABLE( |
235 UT_CMusCallConferenceMonitor, |
225 UT_CMusCallConferenceMonitor, |
269 "CMusConferenceCallMonitor", |
259 "CMusConferenceCallMonitor", |
270 "MonitorCallL", |
260 "MonitorCallL", |
271 "FUNCTIONALITY", |
261 "FUNCTIONALITY", |
272 SetupL, UT_CMusCallConferenceMonitor_MonitorCallLL, Teardown) |
262 SetupL, UT_CMusCallConferenceMonitor_MonitorCallLL, Teardown) |
273 |
263 |
274 EUNIT_TEST( |
|
275 "GetCconfStatusL - test ", |
|
276 "CMusConferenceCallMonitor", |
|
277 "GetCconfStatus", |
|
278 "FUNCTIONALITY", |
|
279 SetupL, UT_CMusCallConferenceMonitor_GetConfStatus, Teardown) |
|
280 |
|
281 |
264 |
282 EUNIT_END_TEST_TABLE |
265 EUNIT_END_TEST_TABLE |
283 |
266 |
284 // END OF FILE |
267 // END OF FILE |
285 |
268 |