homescreensrv_plat/sapi_homescreenplugin/tsrc/common/src/mt_hspsteststep.cpp
branchRCL_3
changeset 11 bd874ee5e5e2
parent 0 79c6a41cd166
child 12 502e5d91ad42
equal deleted inserted replaced
8:d0529222e3f0 11:bd874ee5e5e2
    28 #endif
    28 #endif
    29 
    29 
    30 // ======== LOCAL CONSTANTS ====================================================
    30 // ======== LOCAL CONSTANTS ====================================================
    31 
    31 
    32 // Test step timeout
    32 // Test step timeout
    33 const TInt KTestStepTimeout = 5000000;
    33 const TInt KTestStepTimeout = 15000000;
    34 
    34 
    35 // Max input
    35 // Max input
    36 const TInt KTestStepInputSizeMax = 1000;
    36 const TInt KTestStepInputSizeMax = 1000;
    37 
    37 
    38 // Max output
    38 // Max output
   325         if ( iExpOutParams[i] != aOutPtr[i] )
   325         if ( iExpOutParams[i] != aOutPtr[i] )
   326             {                    
   326             {                    
   327             exitNow = ETrue;
   327             exitNow = ETrue;
   328             }                
   328             }                
   329         }            
   329         }            
       
   330 
       
   331     if( exitNow )
       
   332         {
       
   333         logBus->LogText( _L("------------------------------------------") );
       
   334         logBus->LogText( _L("Differences found. Dumping output in full:") );
       
   335         for ( TInt i = 0; 
       
   336               i < iOutParams->Length(); 
       
   337               i++ )
       
   338             {
       
   339             logBus->LogText( _L("[%5d], %3d, '%c'"),
       
   340                              i, // index
       
   341                              ( TUint16 )aOutPtr[i],
       
   342                              ( TUint16 )aOutPtr[i] );         
       
   343             }
       
   344         }
   330     
   345     
   331     CleanupStack::PopAndDestroy( logBus );     
   346     CleanupStack::PopAndDestroy( logBus );     
   332     }
   347     }
   333 #endif    
   348 #endif    
   334 
   349