serviceproviders/sapi_mediamanagement/tsrc/testing/tmediaprovidertesting/src/tmediaprovidertestingImpl.cpp
branchRCL_3
changeset 50 5dae2c62e9b6
parent 33 50974a8b132e
child 58 ea43c23d28d2
equal deleted inserted replaced
46:4ac3198c2c5b 50:5dae2c62e9b6
   487     aResultMap->FindL(aKey, resValue);
   487     aResultMap->FindL(aKey, resValue);
   488        
   488        
   489     TInt expRes = expValue.AsTInt32();
   489     TInt expRes = expValue.AsTInt32();
   490     TInt resRes = resValue.AsTInt32();
   490     TInt resRes = resValue.AsTInt32();
   491     
   491     
       
   492    TInt expMax = expRes + 200;
       
   493            
       
   494    if(aKey == KMgFileSize) 
       
   495         {
       
   496         if(resRes >= expRes &&  resRes <expMax)
       
   497             {           
       
   498             equal = ETrue;           
       
   499             }
       
   500         }
       
   501   
   492     expIntStr.AppendNum(expRes);
   502     expIntStr.AppendNum(expRes);
   493     resIntStr.AppendNum(resRes);
   503     resIntStr.AppendNum(resRes);
   494     
   504     
   495     iLog->Log(_L("Expected Value"));
   505     iLog->Log(_L("Expected Value"));
   496     iLog->Log(expIntStr);
   506     iLog->Log(expIntStr);