Commit Graph

37 Commits

Author SHA1 Message Date
joost
1aa47e7b2f * Test ftBCD fields .asstring
git-svn-id: trunk@15298 -
2010-05-20 18:31:38 +00:00
joost
f493a70687 * Raise exception when .locate is called on inactive TBufDataset, bug #13938 + test
git-svn-id: trunk@15231 -
2010-05-05 19:33:54 +00:00
joost
33f9424d68 * Patch from Ladislav Karrach (Lacak2) to make LocateOptions work for TBufDataset.Locate + test, bug #15725
git-svn-id: trunk@15005 -
2010-03-12 17:12:28 +00:00
joost
39224aad96 * Splitted TBufDataset in TCustomBufDataset and TBufDataset
git-svn-id: trunk@14855 -
2010-02-03 19:51:34 +00:00
joost
5bfbd8e15d * Implemented TBufDataset.Refresh + simple test/fixed test
git-svn-id: trunk@14099 -
2009-11-07 13:51:17 +00:00
joost
6c06a902e2 * CanModify should be false for fkLookup and fkCalculated fields. Part of bug #13114
* Added test for lookup-fields which currently fails for sqldb because TSQLQuert.Lookup isnt implemented

git-svn-id: trunk@12738 -
2009-02-13 22:17:25 +00:00
joost
f991a764a5 * Test for field-name case-insensitively
git-svn-id: trunk@12571 -
2009-01-19 20:24:12 +00:00
joost
f70cc85509 * Reverted accidentally committed files in r12300
git-svn-id: trunk@12301 -
2008-12-04 21:22:07 +00:00
joost
0a7b499443 * Added sqlite3-test configuration example
git-svn-id: trunk@12300 -
2008-12-04 21:20:25 +00:00
joost
c3112bd7cb * Reverted accidently committed files in r12278
git-svn-id: trunk@12279 -
2008-11-29 22:41:53 +00:00
joost
27e3bc5240 * Ignore TestParametersAndDates for sqlite since it uses a semicolon as a cast, which is not supported by sqlite
git-svn-id: trunk@12278 -
2008-11-29 22:39:39 +00:00
joost
55352b6def * Added TestDeleteDoubleDelete
* Improved check of a streamed dataset definition

git-svn-id: trunk@12221 -
2008-11-23 17:18:23 +00:00
joost
9f25b3e2ed Added test for fixedstring fields
* Added test for the update buffers when multiple records are deleted
 * Changed tests because for sqldb the datasets must have a primary key, with as result that the id-field is required.

git-svn-id: trunk@12220 -
2008-11-23 17:00:40 +00:00
joost
4087fd6888 * Implemented TBufDataset.CreateDataset
* TBufDataset can now be used as a memory-dataset like TMemDataset

git-svn-id: trunk@11539 -
2008-08-09 10:37:03 +00:00
joost
e3e2b60b02 * Implemented FileName property. If set, the dataset is read from file on opening and saved to file on closing
* Defaultfields is now set before a dataset is read from file, so that CreateFields is only called when necessary
 * A TSQLQuery can be read and saved to file also

git-svn-id: trunk@11537 -
2008-08-07 21:37:52 +00:00
joost
b2bc1a17ff * Implemented TDataset.AppendRecord and InsertRecord + test (bug 11450)
git-svn-id: trunk@11514 -
2008-08-05 21:09:46 +00:00
joost
712d6b4451 * Implemented TBufDataset.SaveToFile and LoadFromFile + basic test
git-svn-id: trunk@11512 -
2008-08-05 18:09:12 +00:00
joost
545c6b0d64 * Added support for ftDateTime fields
* Call CreateTable on open when this is not done yet (bug 10958)
 * Check if the dataset is inactive on CreateTable
 * Opening a closed dataset is possible again
 * Implemented BookmarkValid + test (bug 8511)

git-svn-id: trunk@11263 -
2008-06-22 21:59:12 +00:00
joost
6e1c3a06a1 * Fixed test. Behaviour is the same as Delphi.
git-svn-id: trunk@10969 -
2008-05-14 14:44:08 +00:00
joost
882a71bc93 * Fixed test. Behaviour is the same as Delphi.
git-svn-id: trunk@10968 -
2008-05-14 14:29:27 +00:00
joost
ecca8bdbaf * Base indexes on AnsiCompareStr/AnsiCompareText and modified tests
git-svn-id: trunk@10763 -
2008-04-22 20:38:48 +00:00
joost
51c45335ae * Removed space before fieldname
git-svn-id: trunk@10722 -
2008-04-19 19:56:22 +00:00
joost
683f59a70c * Fixed test TestAddDblIndex
* Set the function result properly in DBCompareText 
 * Rewrote TBufDataset.Locate, it now uses parts of the indexes-code (+test)

git-svn-id: trunk@10671 -
2008-04-15 21:29:56 +00:00
joost
809d16257b * Case-insensitive indexes support
git-svn-id: trunk@10657 -
2008-04-13 18:35:03 +00:00
joost
97f2a80d0d * Implemented descending indexes, for those too lazy to use last-prior-prior ;)
* TBufDataset.AddIndex has got the new parameters options,descfields and caseinsfields

git-svn-id: trunk@10654 -
2008-04-13 16:51:11 +00:00
joost
bf5bba3f0e * Tests for Set- and GetFieldValues
git-svn-id: trunk@10392 -
2008-02-26 21:36:52 +00:00
joost
9d3e52cc2e * Added support for indexes based on more then one field (+test)
* Some refactoring
 * Added test to test edits on indexed datasets

git-svn-id: trunk@10092 -
2008-01-28 22:45:04 +00:00
joost
3dc00dc9d8 * Do not change the current record on an index change
git-svn-id: trunk@10047 -
2008-01-27 14:13:58 +00:00
joost
3bc2f94398 * Implemented TBufDataset.IndexFieldNames (+test)
* Fixed some db-error messages

git-svn-id: trunk@10006 -
2008-01-26 23:37:04 +00:00
joost
2d19fd0925 * Set DEFAULT_ORDER if no index-name is given
* Set the current record to the first record for all indexes when opening a dataset
 * Fixed sorting for various fieldtypes 
 * Added dependency on unit strutils now StringsReplace is moved there
 * Added several index-tests

git-svn-id: trunk@9823 -
2008-01-20 17:50:25 +00:00
joost
c8fc140581 * Write results to a testsuite-digest
* Fixed a range-overflow in a testvalue
 * Set the db-engine to test from the command line
 * Fixed compilation of old index-test

git-svn-id: trunk@9787 -
2008-01-19 00:15:02 +00:00
joost
35b96a8705 * Added tests which were usefull for r9298
git-svn-id: trunk@9299 -
2007-11-19 22:36:27 +00:00
joost
4e507bd2ef * Playing around with double-linked indexes
git-svn-id: trunk@9165 -
2007-11-08 21:56:11 +00:00
joost
a193a1285f * Ignore tests which are not applicable when firebird is tested
git-svn-id: trunk@8973 -
2007-10-28 16:53:48 +00:00
joost
575406dbc9 * Added ftCurrency and ftBCD-fields tests
* Renamed testname which was too long for testsuite-database
 * Fixed some TFiels.Size issues with postgres
 * Added money support to TPQConnection

git-svn-id: trunk@8871 -
2007-10-21 09:19:35 +00:00
joost
f2c81869a1 * Renamed too long testnames to shorter ones
* Added TestSetBlobAsStringParam and TestSetBlobAsMemoParam tests
 * Fixed TestpfInUpdateFlag test

git-svn-id: trunk@7051 -
2007-04-01 15:18:21 +00:00
peter
5b8dd4c004 * move fcl sources to separate packages
git-svn-id: trunk@6655 -
2007-02-25 21:02:26 +00:00