michael dc0be272a0 * Better test case from Reinier, Bug ID #19987 %!s(int64=14) %!d(string=hai) anos
..
Makefile 39d7bb511d * Regenned all makefiles before 2.6.x branching. %!s(int64=14) %!d(string=hai) anos
Makefile.fpc 4c7f9238c7 * SQL parser %!s(int64=15) %!d(string=hai) anos
README.txt f21b7b6bd9 * Updated readme and database.ini %!s(int64=18) %!d(string=hai) anos
XMLXSDExportTest.lpi f0bbea9319 * Tester for XSD export %!s(int64=14) %!d(string=hai) anos
XMLXSDExportTest.lpr f0bbea9319 * Tester for XSD export %!s(int64=14) %!d(string=hai) anos
database.ini.txt 0a7b499443 * Added sqlite3-test configuration example %!s(int64=17) %!d(string=hai) anos
dbftoolsunit.pas f016c79d7a * Patch from Luiz Americo to fix a double pathdelim in filename, bug #16737 %!s(int64=15) %!d(string=hai) anos
dbtestframework.pas f496f3c795 * Fixed support of TFmtBcd fields for sqlite3, bug #16853 %!s(int64=14) %!d(string=hai) anos
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages %!s(int64=18) %!d(string=hai) anos
sdfdstoolsunit.pas 38b265f60f * Add ability to test TSdfDataset %!s(int64=17) %!d(string=hai) anos
sqldbtoolsunit.pas f22ec8545f * test for datetime params + fixes some minor cross-database specific things %!s(int64=14) %!d(string=hai) anos
tcgensql.pas 6df8ec1ce8 * Added tests for Grant/Revoke, fixed some bugs on the way %!s(int64=15) %!d(string=hai) anos
tcparser.pas cbcece1ae6 * Patch from Dmitry Boyarintsev to support empty statements %!s(int64=14) %!d(string=hai) anos
tcsqlscanner.pas 6df8ec1ce8 * Added tests for Grant/Revoke, fixed some bugs on the way %!s(int64=15) %!d(string=hai) anos
testbasics.pas 7613f3eb5f * Fixed AV when TFieldDefs has dataset assigned. (+test) %!s(int64=16) %!d(string=hai) anos
testbufdatasetstreams.pas 428915a90b * Patch from Ladislav Karrach to fix problems when closing TSQLQueries when the connection is not active, bug #17623 %!s(int64=14) %!d(string=hai) anos
testdatasources.pas 1da7000192 * Added test for CalcLookupValue %!s(int64=17) %!d(string=hai) anos
testdbbasics.pas 064ecf3d6c * fix decimalseparator locale issues in fcl-db testsuite, mantis #19564 %!s(int64=14) %!d(string=hai) anos
testdddiff.pp c2dc42bb89 * test for Data dictionary diff mechanism %!s(int64=17) %!d(string=hai) anos
testfieldtypes.pas f22ec8545f * test for datetime params + fixes some minor cross-database specific things %!s(int64=14) %!d(string=hai) anos
testsqlfiles.lpi 4c7f9238c7 * SQL parser %!s(int64=15) %!d(string=hai) anos
testsqlfiles.lpr 4c7f9238c7 * SQL parser %!s(int64=15) %!d(string=hai) anos
testsqlscanner.lpi 6df8ec1ce8 * Added tests for Grant/Revoke, fixed some bugs on the way %!s(int64=15) %!d(string=hai) anos
testsqlscanner.lpr 4c7f9238c7 * SQL parser %!s(int64=15) %!d(string=hai) anos
testsqlscript.pas cc0c2d6467 * SqlScript committed %!s(int64=17) %!d(string=hai) anos
toolsunit.pas f22ec8545f * test for datetime params + fixes some minor cross-database specific things %!s(int64=14) %!d(string=hai) anos
xmlxsdexporttestcase1.pas dc0be272a0 * Better test case from Reinier, Bug ID #19987 %!s(int64=14) %!d(string=hai) anos

README.txt

This directory contains a framework to test several TDataset descendents.

The framework is based on the fpcunit unit-test system. The tests can be
executed using any fpcunit-testrunner. For example the console and graphical
fpcunit-test runners from Lazarus.
Simply add the test* units in this directory to the uses statement of the
test-runner and all tests will get registered and executed.

An simple test-runner (dbtestframework.pas) which generates XML-output is
included in this directory.

To test a TDataset descendent, a 'connector' is needed to test the database.
To add a new connector, add it to the uses-section in 'toolsunit.pas'. Several
connectors are available in the '*toolsunit.pas' files.

Which connector is currently used is dependent on the 'database.ini'
configuration file. Also some settings which are connector-dependent can be set
in that file. See 'database.ini.txt' for an example.

I hope this is enough information to get you started,

Joost van der Sluis (30-12-2006)