diff -r 81c9bee26a45 -r 3267d9ea3e98 lbstest/lbstestproduct/lbsx3p/src/ctlbsx3pstepcancel.cpp
--- a/lbstest/lbstestproduct/lbsx3p/src/ctlbsx3pstepcancel.cpp Tue Jul 13 12:25:28 2010 +0100
+++ b/lbstest/lbstestproduct/lbsx3p/src/ctlbsx3pstepcancel.cpp Wed Sep 08 15:16:57 2010 +0100
@@ -407,7 +407,7 @@
{
if(KErrCancel != err)
{
- INFO_PRINTF1(_L("CancelTransmitPosition() should have returned KErrCancel"));
+ INFO_PRINTF2(_L("CancelTransmitPosition() should have returned KErrCancel, got %d"), err);
SetTestStepResult(EFail);
}
}
@@ -417,13 +417,14 @@
{
if(KErrCancel == err && !(iCallbackFlags & KLbsCallback_NetSim_Got_NotifyMeasurementReportControlFailure))
{
- INFO_PRINTF1(_L("Should have been completed with KErrCancel"));
+ INFO_PRINTF2(_L("Should have been completed with KErrCancel, got %d"), err);
SetTestStepResult(EFail);
}
}
//not using break as want to go ahead with below check.
case 5:
+ case 6:
case 11:
case 12: //TBD
// In testcases that cancel "late" in the X3P proceudure, cancellation may arrive to NRH before
@@ -433,19 +434,18 @@
{
if(!(KErrCancel == err || KErrNone == err))
{
- INFO_PRINTF1(_L("CancelTransmitPosition() should have returned KErrCancel or KErrNone"));
+ INFO_PRINTF2(_L("CancelTransmitPosition() should have returned KErrCancel or KErrNone, got %d"), err);
SetTestStepResult(EFail);
}
}
break;
- case 6:
case 8:
case 9:
{
if(KErrNone != err)
{
- INFO_PRINTF1(_L("CancelTransmitPosition() should have returned KErrNone"));
+ INFO_PRINTF2(_L("CancelTransmitPosition() should have returned KErrNone, got %d"), err);
SetTestStepResult(EFail);
}
}