rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStream.cpp
branchRCL_3
changeset 19 b5e99d8877c7
parent 0 307788aac0a8
child 20 0dcb073356a5
--- a/rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStream.cpp	Thu Aug 19 10:16:25 2010 +0300
+++ b/rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpStream.cpp	Tue Aug 31 15:32:57 2010 +0300
@@ -123,6 +123,9 @@
     {
     delete iRecvStream;
     delete iTranStream;
+	
+	iRecvStream = NULL;
+    iTranStream = NULL;
     }
 
 void UT_CRtpStream::UT_CRtpStream_ResetStreamStatL(  )
@@ -885,7 +888,7 @@
     CleanupStack::PopAndDestroy( packet );
     }
     
-void UT_CRtpStream::UT_CRtpStream_UpdateParam()
+void UT_CRtpStream::UT_CRtpStream_UpdateParamL()
     {
   
     // "Test description: Test update of statistics" ) );
@@ -964,7 +967,7 @@
     EUNIT_ASSERT(ETrue);
     }    
 
-void UT_CRtpStream::UT_CRtpStream_RtpByeAppMethods()
+void UT_CRtpStream::UT_CRtpStream_RtpByeAppMethodsL()
     {
     //"") );
     // "Test description: Test creating a BYE packet" ) );
@@ -1023,7 +1026,7 @@
   	EUNIT_ASSERT(ETrue);
     }
  
-void UT_CRtpStream::UT_CRtpStream_TestRtpSRMethods()
+void UT_CRtpStream::UT_CRtpStream_TestRtpSRMethodsL()
     {
     //"") );
     // "Test description: Test creating and parsing an SR packet" ) );
@@ -1106,7 +1109,7 @@
     EUNIT_ASSERT(ETrue);
     }  
     
-void UT_CRtpStream::UT_CRtpStream_TestRtpRRMethods()
+void UT_CRtpStream::UT_CRtpStream_TestRtpRRMethodsL()
     {
     //"") );
     // "Test description: Test creating and parsing an RR packet" ) );
@@ -1314,7 +1317,7 @@
     EUNIT_ASSERT(ETrue);
     }
 
-void UT_CRtpStream::UT_CRtpStream_RtpStreamProcessRtpPacket()
+void UT_CRtpStream::UT_CRtpStream_RtpStreamProcessRtpPacketL()
 	{
 	TInt result(KErrNone);
 	TInt error(KErrNone);
@@ -1542,27 +1545,27 @@
     "CRtpStream",
     "UT_CRtpStream_UpdateParam",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpStream_UpdateParam, Teardown)    
+    SetupL, UT_CRtpStream_UpdateParamL, Teardown)    
 EUNIT_TEST(
     "RtpByeAppMethods",
     "CRtpStream",
     "RtpByeAppMethods",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpStream_RtpByeAppMethods, Teardown)     
+    SetupL, UT_CRtpStream_RtpByeAppMethodsL, Teardown)     
 
 EUNIT_TEST(
     "TestRtpSRMethods",
     "CRtpStream",
     "TestRtpSRMethods",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpStream_TestRtpSRMethods, Teardown)    
+    SetupL, UT_CRtpStream_TestRtpSRMethodsL, Teardown)    
 
 EUNIT_TEST(
     "TestRtpRRMethods",
     "CRtpStream",
     "TestRtpRRMethods",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpStream_TestRtpRRMethods, Teardown)   
+    SetupL, UT_CRtpStream_TestRtpRRMethodsL, Teardown)   
 
 EUNIT_TEST(
     "TestRtpRRMethods",
@@ -1575,7 +1578,7 @@
     "CRtpStream",
     "RtpStreamProcessRtpPacket",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpStream_RtpStreamProcessRtpPacket, Teardown)      
+    SetupL, UT_CRtpStream_RtpStreamProcessRtpPacketL, Teardown)