equal
deleted
inserted
replaced
149 { |
149 { |
150 delete iContext; |
150 delete iContext; |
151 iContext=NULL; |
151 iContext=NULL; |
152 } |
152 } |
153 |
153 |
154 void UT_CSRTPSession::UT_CSRTPSession_NewL_1L( ) |
154 void UT_CSRTPSession::UT_CSRTPSession_NewL_OneL( ) |
155 { |
155 { |
156 CSRTPSession* srtpSession = CSRTPSession::NewL( iDestination); |
156 CSRTPSession* srtpSession = CSRTPSession::NewL( iDestination); |
157 EUNIT_ASSERT(srtpSession); |
157 EUNIT_ASSERT(srtpSession); |
158 delete srtpSession; |
158 delete srtpSession; |
159 } |
159 } |
160 |
160 |
161 void UT_CSRTPSession::UT_CSRTPSession_NewL_2L( ) |
161 void UT_CSRTPSession::UT_CSRTPSession_NewL_TwoL( ) |
162 { |
162 { |
163 |
163 |
164 CSRTPSession* srtpSession = CSRTPSession::NewL(iDestination, |
164 CSRTPSession* srtpSession = CSRTPSession::NewL(iDestination, |
165 iContext, |
165 iContext, |
166 *this); |
166 *this); |
628 EUNIT_TEST( |
628 EUNIT_TEST( |
629 "NewL - test ", |
629 "NewL - test ", |
630 "CSRTPSession", |
630 "CSRTPSession", |
631 "NewL", |
631 "NewL", |
632 "FUNCTIONALITY", |
632 "FUNCTIONALITY", |
633 SetupL, UT_CSRTPSession_NewL_1L, Teardown) |
633 SetupL, UT_CSRTPSession_NewL_OneL, Teardown) |
634 |
634 |
635 EUNIT_TEST( |
635 EUNIT_TEST( |
636 "NewL - test ", |
636 "NewL - test ", |
637 "CSRTPSession", |
637 "CSRTPSession", |
638 "NewL", |
638 "NewL", |
639 "FUNCTIONALITY", |
639 "FUNCTIONALITY", |
640 SetupL, UT_CSRTPSession_NewL_2L, Teardown) |
640 SetupL, UT_CSRTPSession_NewL_TwoL, Teardown) |
641 EUNIT_TEST( |
641 EUNIT_TEST( |
642 "ConstructL ", |
642 "ConstructL ", |
643 "CSRTPSession", |
643 "CSRTPSession", |
644 "ConstructL", |
644 "ConstructL", |
645 "FUNCTIONALITY", |
645 "FUNCTIONALITY", |