--- a/applayerprotocols/httpservice/test/httpservicetest/ctesthttpclientstep.cpp Fri Feb 19 23:50:57 2010 +0200
+++ b/applayerprotocols/httpservice/test/httpservicetest/ctesthttpclientstep.cpp Fri Mar 12 15:45:46 2010 +0200
@@ -22,6 +22,7 @@
#include "httptestutils.h"
#include "clocaltestserver.h"
#include "chttpclienttestparams.h"
+#include "ctesthttpserviceauthentication.h"
_LIT(KTestCaseName, "TestCaseName");
_LIT8(KUserAgent, "HTTP Client API Test");
@@ -43,6 +44,7 @@
delete iTestUtils;
delete iTestParamArray;
delete iActiveScheduler;
+ delete iTestHttpServiceAuthentication;
}
// TEF virtuals
@@ -99,6 +101,12 @@
}
}
+ if(param->IsAuthenticationReqd())
+ {
+ iTestHttpServiceAuthentication = new CTestHttpServiceAuthentication();
+ User::LeaveIfError(iHttpClient->SetAuthentication(iTestHttpServiceAuthentication));
+ }
+
if(param->Method().CompareF(KGetMethod) == 0)
{
if(param->OnlineTest())