Sariali
14 years agoContributor
Bug: CompareProperty
procedure Test;
var
Count, CountDiff;
begin
Count := 0;
CountDiff := 0;
log.message('cmpLess');
aqObject.CompareProperty(Count, cmpLess, CountDiff, true, lmError);
log.message('cmpLessOrEqual');
aqObject.CompareProperty(Count, cmpLessOrEqual, CountDiff, true, lmError);
log.message('cmpGreater');
aqObject.CompareProperty(Count, cmpGreater, CountDiff, true, lmError);
log.message('cmpGreaterOrEqual');
aqObject.CompareProperty(Count, cmpGreaterOrEqual, CountDiff, true, lmError);
end;
Messages
=======
cmpLess 11:33:18 Normal
[error] The property value "0" is greater than the baseline value "0" or equals it. 11:33:18 Normal
cmpLessOrEqual 11:33:18 Normal
[error] The property value "0" is greater than the baseline value "0". 11:33:18 Normal
cmpGreater 11:33:18 Normal
[error] The property value "0" is less than the baseline value "0" or equals it. 11:33:18 Normal
cmpGreaterOrEqual 11:33:18 Normal
[error] The property value "0" is less than the baseline value "0". 11:33:18 Normal
4 Errors!!!