Commit Graph

113 Commits

Author SHA1 Message Date
marco
31371eade1 * fix misnamed field in lookup related test, mantis #22113, patch by Lacak2.
git-svn-id: trunk@21683 -
2012-06-22 19:16:42 +00:00
joost
f67a327240 * Set Field.FieldNo to 0 for fields that are not bound to a fielddef, so that
they are distinguisable from calculated fields with a FieldNo of -1.
 * Added test to check for an exception when the Fields do not correspond to
   the underlying data.
 * Improved exception message when the Fields do not correspond with the data

git-svn-id: trunk@21641 -
2012-06-18 10:39:34 +00:00
joost
4bbaeeccc6 * Reinstated the thest that was removed in r21365. Better not replace tests with
new ones, but add new tests

git-svn-id: trunk@21376 -
2012-05-24 09:16:38 +00:00
marco
9e5316afd1 * Patch from Mantis #22105 by Lacak2 that improves oldvalue testing.
git-svn-id: trunk@21365 -
2012-05-23 06:49:49 +00:00
joost
50704e55c8 * Implemented TBufDataset.MergeChangelog
git-svn-id: trunk@21256 -
2012-05-08 14:16:28 +00:00
joost
67ab61dcc8 * Moved .ReadOnly property from TSQLQuery to TBufDataset
git-svn-id: trunk@21254 -
2012-05-08 12:21:50 +00:00
joost
a5bfcb026d * Fixed case-insensitive filtering on filters like *blah*
git-svn-id: trunk@21252 -
2012-05-08 09:33:21 +00:00
marco
7800cd4ff5 * Cleanup of adding records to bufdatasets with indexes. Mantis #20514, patch by Lacak2.
git-svn-id: trunk@21023 -
2012-04-24 17:47:18 +00:00
joost
a48a84f54e * Moved those tests in TTestDBBasics that needs a cursor to the new
TTestCursorDBBasics so that they are not tested anymore on unidirectional
   datasets.

git-svn-id: trunk@19916 -
2011-12-29 21:08:52 +00:00
joost
06f0e3f9fa * Fixed compilation by Delphi
git-svn-id: trunk@19909 -
2011-12-29 15:47:06 +00:00
marco
e36183cbc8 * removing a temporary workaround in the db testsuite and a minor cleanup
git-svn-id: trunk@19305 -
2011-09-30 15:59:42 +00:00
marco
064ecf3d6c * fix decimalseparator locale issues in fcl-db testsuite, mantis #19564
git-svn-id: trunk@18051 -
2011-08-01 16:22:18 +00:00
joost
46aa4bfc0f * Test for r17704
git-svn-id: trunk@17822 -
2011-06-25 00:09:30 +00:00
joost
9689e49657 * Patch from Ladislav Karrach to fix some locale-test issues
* Removed unnused variables, bug #18763

git-svn-id: trunk@17409 -
2011-05-07 18:37:55 +00:00
joost
44f09afaf6 * Patch from Lasislav Karrach to implement ftTime parameter support to odbc+
test, bug #18824

git-svn-id: trunk@17401 -
2011-05-03 20:59:40 +00:00
joost
366a8dd966 * Added test for ftTime fields
* Fixed problem with ftTime field values that exceed 24 hours (odbc)

git-svn-id: trunk@17000 -
2011-02-24 22:15:46 +00:00
joost
f496f3c795 * Fixed support of TFmtBcd fields for sqlite3, bug #16853
* Cleaned up accidentally comitted files in r16948

git-svn-id: trunk@16954 -
2011-02-20 18:22:06 +00:00
joost
41342ab54f * Accidentally comitted files, trying to apply patch from Ladislav Karrach to
implement TFmtBCD fields, bug #16853. Has to be cleaned up later

git-svn-id: trunk@16948 -
2011-02-20 12:31:16 +00:00
joost
6a6ab2a392 * Call TDatalink.LayoutChanged when controls are disabled and dataset closed/opened. Bug #16428 + test
git-svn-id: trunk@15422 -
2010-06-13 12:26:50 +00:00
joost
87555e084a * Splitted up TCustomBufDataset tests from more general tests
git-svn-id: trunk@15413 -
2010-06-12 16:37:35 +00:00
joost
fb3ede2ef7 * Fixed accessing TCustomBufDataset.IndexName and CompareBookmarks from a new instance (bug 16695+adapted test)
git-svn-id: trunk@15412 -
2010-06-12 11:42:38 +00:00
joost
73bfdcf8b8 * Fixed accessing TCustomBufDataset.IndexFieldNames from a new instance (bug 16695 + test)
* Fixed problems when closing a dataset that was opened using the FileName property, when the FileName property was cleared in between

git-svn-id: trunk@15409 -
2010-06-11 15:14:43 +00:00
joost
bf24adf137 * Remove the FileName property from the datasets after the test
git-svn-id: trunk@15394 -
2010-06-05 21:13:36 +00:00
joost
cc700b54b8 * Implemented TBufDataset.UniDirectional property
* Run all tests of TestDBBasics also using UniDirectional TBufDatasets. (Introduces a lot of false failures)

git-svn-id: trunk@15393 -
2010-06-05 20:05:18 +00:00
joost
48567240d0 * Fixed mem-leaks in tests
git-svn-id: trunk@15392 -
2010-06-05 19:04:58 +00:00
joost
c10e229a4b * Moved TDBBasicsTestSetup to toolsunit
git-svn-id: trunk@15373 -
2010-06-04 10:44:08 +00:00
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