fpc/packages/fcl-db/tests
2011-05-23 20:36:53 +00:00
..
database.ini.txt * Added sqlite3-test configuration example 2008-12-04 21:20:25 +00:00
dbftoolsunit.pas * Patch from Luiz Americo to fix a double pathdelim in filename, bug #16737 2010-06-30 18:29:41 +00:00
dbtestframework.pas * Fixed support of TFmtBcd fields for sqlite3, bug #16853 2011-02-20 18:22:06 +00:00
Makefile + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and 2010-09-29 21:56:47 +00:00
Makefile.fpc * SQL parser 2010-08-16 23:13:24 +00:00
memdstoolsunit.pas * move fcl sources to separate packages 2007-02-25 21:02:26 +00:00
README.txt * Updated readme and database.ini 2007-09-13 21:35:11 +00:00
sdfdstoolsunit.pas * Add ability to test TSdfDataset 2008-06-24 21:50:16 +00:00
sqldbtoolsunit.pas * add mysql51 to MySqlTypes 2011-05-20 20:15:21 +00:00
tcgensql.pas * Added tests for Grant/Revoke, fixed some bugs on the way 2010-09-03 17:01:01 +00:00
tcparser.pas * Patch from Dmitry Boyarintsev to support empty statements 2011-05-23 20:36:53 +00:00
tcsqlscanner.pas * Added tests for Grant/Revoke, fixed some bugs on the way 2010-09-03 17:01:01 +00:00
testbasics.pas * Fixed AV when TFieldDefs has dataset assigned. (+test) 2009-01-19 10:02:02 +00:00
testbufdatasetstreams.pas * Patch from Ladislav Karrach to fix problems when closing TSQLQueries when the connection is not active, bug #17623 2011-05-11 20:51:32 +00:00
testdatasources.pas * Added test for CalcLookupValue 2008-03-21 18:19:02 +00:00
testdbbasics.pas * Patch from Ladislav Karrach to fix some locale-test issues 2011-05-07 18:37:55 +00:00
testdddiff.pp * test for Data dictionary diff mechanism 2008-08-11 10:18:48 +00:00
testfieldtypes.pas * Added ftFmtBCD param support, from Ladislav Karrach, bug #18809 2011-05-10 09:13:47 +00:00
testsqlfiles.lpi * SQL parser 2010-08-16 23:13:24 +00:00
testsqlfiles.lpr * SQL parser 2010-08-16 23:13:24 +00:00
testsqlscanner.lpi * Added tests for Grant/Revoke, fixed some bugs on the way 2010-09-03 17:01:01 +00:00
testsqlscanner.lpr * SQL parser 2010-08-16 23:13:24 +00:00
testsqlscript.pas * SqlScript committed 2008-07-11 14:16:39 +00:00
toolsunit.pas * Fixed typo(?) in r17424 2011-05-10 10:29:48 +00:00

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)