--- a/websrv_pub/xml_extensions_api/tsrc/bc/xml_extensions_api/src/WSTesterBlocks.cpp Sun May 30 23:54:06 2010 +0530
+++ b/websrv_pub/xml_extensions_api/tsrc/bc/xml_extensions_api/src/WSTesterBlocks.cpp Thu Jul 08 14:00:07 2010 +0530
@@ -248,6 +248,11 @@
{
// Test case not passed
iLog->Log(_L("Registering identity provider 1 failed. Error: %d"), error );
+ if(error == -30321)
+ {
+ iWriter.WriteL(_L8("Registering identity provider 1 failed. End-user denies permission."));
+ iWriter.CommitL();
+ }
return error;
}
return KErrNone;
@@ -279,6 +284,11 @@
if (error != KErrNone )
{
iLog->Log(_L("Registering Service Description failed. Error: %d"), error );
+ if(error == -30321)
+ {
+ iWriter.WriteL(_L8("Registering Service Description failed.End-user denies permission"));
+ iWriter.CommitL();
+ }
return error;
}
return KErrNone;
@@ -464,7 +474,7 @@
TInt retVal = iSenServiceConnection->StartTransaction();
- iLog->Log(_L("### _S_StartTransaction -> ended###"));
+ iLog->Log(_L("### _S_StartTransaction -> ended: %d"), retVal);
return retVal;
}
@@ -474,7 +484,7 @@
TInt retVal = iSenServiceConnection->TransactionCompleted();
- iLog->Log(_L("### _S_TransactionCompleted -> ended###"));
+ iLog->Log(_L("### _S_TransactionCompleted -> ended: %d"), retVal);
return retVal;
}
@@ -2733,6 +2743,7 @@
{
iLog->Log(_L("******* SetStatus -> Started! ********"));
+ iLog->Log(_L("Status: %d"), aStatus);
switch( aStatus )
{
@@ -3267,7 +3278,6 @@
HBufC8* pResult8 = HBufC8::NewLC( source8.Length() );
TPtr8 result8 = pResult8->Des();
- iBase64Codec.Initialise();
iBase64Codec.Decode(source8 , result8);
aMessage = result8;
CleanupStack::Pop(); // pResult8