mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:29:14 +02:00
* fcl-db: tests: better error reporting
git-svn-id: trunk@28028 -
This commit is contained in:
parent
53b0ef1f61
commit
bfb21cb4a0
@ -1269,7 +1269,7 @@ begin
|
||||
CheckTrue(odd(FieldByName('ID').asinteger));
|
||||
next;
|
||||
end;
|
||||
CheckTrue(EOF);
|
||||
CheckTrue(EOF, 'Filter should give only odd records');
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -1288,7 +1288,7 @@ begin
|
||||
CheckEquals(Counter, FieldByName('ID').AsInteger);
|
||||
Next;
|
||||
end;
|
||||
CheckTrue(EOF);
|
||||
CheckTrue(EOF, 'Filter (id>4) and (id<9)');
|
||||
|
||||
Filter := '-id-ID=-4';
|
||||
CheckEquals(2, FieldByName('ID').AsInteger, 'Unary minus');
|
||||
|
@ -2,7 +2,7 @@ unit TestSpecificTBufDataset;
|
||||
|
||||
{
|
||||
Unit tests which are specific to stand-alone TBufDataset-datasets. (So not
|
||||
for derrived datasets like TQuery )
|
||||
for derived datasets like TQuery )
|
||||
}
|
||||
|
||||
{$IFDEF FPC}
|
||||
|
Loading…
Reference in New Issue
Block a user