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 11083d88b3 Merged revisions 11337-11338,11341-11345,11348,11350-11361,11363-11368,11370,11376-11392,11397-11400,11402-11410,11415-11419,11421,11423-11426,11429-11464,11466-11468,11471-11486,11489,11491-11517,11522,11524-11527,11529-11534,11536-11550,11552,11554,11556,11558-11561,11563,11565-11570,11572-11587,11589-11618,11620,11623-11627,11629-11663,11668-11669,11671-11682,11684,11686-11688,11693,11697,11699-11700,11703-11704,11708-11711,11719-11722,11727,11730-11732,11738-11777,11779,11782-11784,11786-11809,11811-11821,11823-11830,11832-11835,11837-11847,11849-11871,11873-11875,11879-11880,11884-11888,11890,11896-11898,11903-11919,11926-11930,11933-11934,11936-11937,11939-11940,11942-11985,11987-11991,11993-12013,12015-12017,12019-12040,12043,12045 via svnmerge from 17 سال پیش
testfieldtypes.pas 64c824cd86 * Make sure that fixed width parameters are really ftFixedChar 15 سال پیش
testsqlscript.pas 11083d88b3 Merged revisions 11337-11338,11341-11345,11348,11350-11361,11363-11368,11370,11376-11392,11397-11400,11402-11410,11415-11419,11421,11423-11426,11429-11464,11466-11468,11471-11486,11489,11491-11517,11522,11524-11527,11529-11534,11536-11550,11552,11554,11556,11558-11561,11563,11565-11570,11572-11587,11589-11618,11620,11623-11627,11629-11663,11668-11669,11671-11682,11684,11686-11688,11693,11697,11699-11700,11703-11704,11708-11711,11719-11722,11727,11730-11732,11738-11777,11779,11782-11784,11786-11809,11811-11821,11823-11830,11832-11835,11837-11847,11849-11871,11873-11875,11879-11880,11884-11888,11890,11896-11898,11903-11919,11926-11930,11933-11934,11936-11937,11939-11940,11942-11985,11987-11991,11993-12013,12015-12017,12019-12040,12043,12045 via svnmerge from 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)