joost 64c824cd86 * Make sure that fixed width parameters are really ftFixedChar пре 15 година
..
Makefile e246cac3ac * regenerated using latest fpcmake пре 16 година
Makefile.fpc 38b265f60f * Add ability to test TSdfDataset пре 17 година
README.txt f21b7b6bd9 * Updated readme and database.ini пре 18 година
database.ini.txt 0a7b499443 * Added sqlite3-test configuration example пре 17 година
dbftoolsunit.pas f016c79d7a * Patch from Luiz Americo to fix a double pathdelim in filename, bug #16737 пре 15 година
dbtestframework.pas f74bd99413 * Make the dbconnector ref-counted пре 15 година
memdstoolsunit.pas 5b8dd4c004 * move fcl sources to separate packages пре 18 година
sdfdstoolsunit.pas 38b265f60f * Add ability to test TSdfDataset пре 17 година
sqldbtoolsunit.pas 57e39c37ae * Added ability to specify fieldname-quote chars for tests. Usefull for ODBC where these chars can differ пре 15 година
testbasics.pas 7613f3eb5f * Fixed AV when TFieldDefs has dataset assigned. (+test) пре 16 година
testbufdatasetstreams.pas c10e229a4b * Moved TDBBasicsTestSetup to toolsunit пре 15 година
testdatasources.pas 1da7000192 * Added test for CalcLookupValue пре 17 година
testdbbasics.pas 6a6ab2a392 * Call TDatalink.LayoutChanged when controls are disabled and dataset closed/opened. Bug #16428 + test пре 15 година
testdddiff.pp c2dc42bb89 * test for Data dictionary diff mechanism пре 17 година
testfieldtypes.pas 64c824cd86 * Make sure that fixed width parameters are really ftFixedChar пре 15 година
testsqlscript.pas cc0c2d6467 * SqlScript committed пре 17 година
toolsunit.pas 57e39c37ae * Added ability to specify fieldname-quote chars for tests. Usefull for ODBC where these chars can differ пре 15 година

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)