serviceproviders/sapi_mediamanagement/tsrc/testing/tmediaprovidertesting/src/tmediaprovidertestingImpl.cpp
branchRCL_3
changeset 50 5dae2c62e9b6
parent 33 50974a8b132e
child 58 ea43c23d28d2
--- a/serviceproviders/sapi_mediamanagement/tsrc/testing/tmediaprovidertesting/src/tmediaprovidertestingImpl.cpp	Fri Feb 19 23:43:21 2010 +0200
+++ b/serviceproviders/sapi_mediamanagement/tsrc/testing/tmediaprovidertesting/src/tmediaprovidertestingImpl.cpp	Mon Mar 15 12:43:25 2010 +0200
@@ -489,6 +489,16 @@
     TInt expRes = expValue.AsTInt32();
     TInt resRes = resValue.AsTInt32();
     
+   TInt expMax = expRes + 200;
+           
+   if(aKey == KMgFileSize) 
+        {
+        if(resRes >= expRes &&  resRes <expMax)
+            {           
+            equal = ETrue;           
+            }
+        }
+  
     expIntStr.AppendNum(expRes);
     resIntStr.AppendNum(resRes);