homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hspsteststep.cpp
branchRCL_3
changeset 18 bd874ee5e5e2
parent 0 79c6a41cd166
child 19 502e5d91ad42
--- a/homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hspsteststep.cpp	Fri Feb 19 23:07:29 2010 +0200
+++ b/homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hspsteststep.cpp	Fri Mar 12 15:43:54 2010 +0200
@@ -30,7 +30,7 @@
 // ======== LOCAL CONSTANTS ====================================================
 
 // Test step timeout
-const TInt KTestStepTimeout = 5000000;
+const TInt KTestStepTimeout = 15000000;
 
 // Max input
 const TInt KTestStepInputSizeMax = 1000;
@@ -327,6 +327,21 @@
             exitNow = ETrue;
             }                
         }            
+
+    if( exitNow )
+        {
+        logBus->LogText( _L("------------------------------------------") );
+        logBus->LogText( _L("Differences found. Dumping output in full:") );
+        for ( TInt i = 0; 
+              i < iOutParams->Length(); 
+              i++ )
+            {
+            logBus->LogText( _L("[%5d], %3d, '%c'"),
+                             i, // index
+                             ( TUint16 )aOutPtr[i],
+                             ( TUint16 )aOutPtr[i] );         
+            }
+        }
     
     CleanupStack::PopAndDestroy( logBus );     
     }