serviceproviders/sapi_mediamanagement/tsrc/testing/tmediaprovidertesting/src/tmediaprovidertestingImpl.cpp
equal
deleted
inserted
replaced
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); |