applayerprotocols/httptransportfw/Test/T_HttpOnline/t_httponline.cpp
branchRCL_3
changeset 19 c0c2f28ace9c
parent 0 b16258d2340f
child 20 a0da872af3fa
--- a/applayerprotocols/httptransportfw/Test/T_HttpOnline/t_httponline.cpp	Thu Aug 19 10:27:19 2010 +0300
+++ b/applayerprotocols/httptransportfw/Test/T_HttpOnline/t_httponline.cpp	Tue Aug 31 15:44:10 2010 +0300
@@ -68,6 +68,7 @@
 #include "T_SocketShutdownMode.h"
 #include "cinc112633.h"
 #include "cinc112633_2.h"
+#include "CPDEF143929.h"
 
 #include "csrvaddrval.h"
 #include "CINC082448.h"
@@ -155,6 +156,7 @@
 _LIT(KSettingsIniName,						"settings.ini");
 _LIT(KRecvBufSizeTest1,						"RecvBufSizeTest1");
 _LIT(KRecvBufSizeTest2,						"RecvBufSizeTest2");
+_LIT(KTestCPDEF143929,						"PDEF143929");
 
 
 const TInt KMaxHeapSize = 0x100000;
@@ -973,6 +975,24 @@
 				CleanupStack::Pop(index);
 				}
 			}
+			
+		// CPDEF143929   test
+		if ( section->SectionName().CompareF(KTestCPDEF143929) == 0)
+			{
+			TBool runTest = iniFile->Section(i).ItemValue(KRunTestItemName(), runTestDefault);
+			if (runTest)
+				{
+				const TInt numSubTests = iniFile->ItemValue(KTestCPDEF143929(), KResNumSubTests(), 1); 
+				TInt index;
+				for(index = 0; index < numSubTests; ++index)
+					{
+					CPDEF143929* incTest = CPDEF143929::NewL(index + 1, iniSettingsFile); 
+					CleanupStack::PushL(incTest);
+					onlineTests.Append(incTest);
+					}
+				CleanupStack::Pop(index);
+				}
+			}
 			// 100-Continue tests
 		if ( section->SectionName().CompareF(KTest100Continue) == 0)
 			{