-1)
{
expectSize=expectWinVal;
}else if (current_os.indexOf("mac")>-1)
{
expectSize=expectMacVal;
}else if (current_os.indexOf("linux")>-1)
{
expectSize=expectLinuxVal;
}
}
public function checkMaxSizeValue(actualSize:Number, expectSize:Number, delta:Number,description:String=null):String
{
var errMsg:String="";
if ((expectSize-actualSize)>delta)
{
errMsg+="expectSize="+expectSize+";actualSize="+actualSize+";delta="+delta;
if (description!=null)
errMsg=description+":"+errMsg;
}
return errMsg;
}
]]>