rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpAPI.cpp
changeset 15 8248b03a2669
parent 0 307788aac0a8
child 29 5f12516512fa
--- a/rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpAPI.cpp	Tue Feb 02 01:03:15 2010 +0200
+++ b/rtp/rtpstack/tsrc/ut_rtpstack/src/UT_CRtpAPI.cpp	Fri Apr 16 15:18:54 2010 +0300
@@ -140,10 +140,12 @@
     {
     iRtpAPI->Close();
     delete iRtpAPI;
+	iRtpAPI = NULL;
 
     iStpAPI->Close();
     delete iStpAPI;
-    }
+    iStpAPI = NULL;
+	}
 
 void UT_CRtpAPI::UT_CRtpAPI_NewLL(  )
     {
@@ -194,7 +196,7 @@
 	iRtpAPI->CancelStart();
     }
 
-void UT_CRtpAPI::UT_CRtpAPI_StartConnection_1L(  )
+void UT_CRtpAPI::UT_CRtpAPI_StartConnection_OneL(  )
     {
     //Synchronize
     TInt result(KErrNone);
@@ -980,7 +982,7 @@
     EUNIT_ASSERT( KErrNone == status.Int() );
 	}
 
-void UT_CRtpAPI::UT_CRtpAPI_SendRtpPacket_3L()
+void UT_CRtpAPI::UT_CRtpAPI_SendRtpPacket_ThreeL()
     {
     TInt result(KErrNone);
     TRtpSdesParams params;
@@ -1502,7 +1504,7 @@
     "CRtpAPI",
     "StartConnection",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpAPI_StartConnection_1L, Teardown)
+    SetupL, UT_CRtpAPI_StartConnection_OneL, Teardown)
 
 EUNIT_TEST(
     "CancelStart - test ",
@@ -1656,7 +1658,7 @@
     "CRtpAPI",
     "SendRtpPacket",
     "FUNCTIONALITY",
-    SetupL, UT_CRtpAPI_SendRtpPacket_3L, Teardown)
+    SetupL, UT_CRtpAPI_SendRtpPacket_ThreeL, Teardown)
 
 EUNIT_TEST(
     "SendDataL - test ",