Commit Graph

98 Commits

Author SHA1 Message Date
lacak
4aa8b2cef7 fcl-db: tests: MS SQL Server and Sybase do not support dates before 1753 for their DATETIME data type so do not try insert these dates into test tables.
(MS SQL 2008 introduced DATETIME2, which support full range of years 0000-9999).

git-svn-id: trunk@22998 -
2012-11-16 13:36:53 +00:00
reiniero
ccead0db7b * fcl-db: forgot rename in {$IFNDEF Win64} section in r22993
git-svn-id: trunk@22996 -
2012-11-16 12:54:22 +00:00
reiniero
02bccda89e fcl-db: cosmetic change due to new variable names too similar to existing ones in r22988
git-svn-id: trunk@22993 -
2012-11-16 11:17:21 +00:00
lacak
7a9a5ea6bf fcl-db: test:
use GetConnectionInfo(citServerType) to determine remote SQL server type and use this to correctly setup supported data types ("FieldtypeDefinitions" and "testValues").
Useful especially for testing TODBCConnection.

git-svn-id: trunk@22988 -
2012-11-16 06:10:05 +00:00
reiniero
c26abcebe7 * FCL-DB: fix for MSSQL/Sybase db test framework errors when existing FPDEV table present.
Thanks to Lacak2 for the fix idea!

git-svn-id: trunk@22898 -
2012-11-01 15:21:54 +00:00
reiniero
91f1a8736c + Added experimental support for Sybase ASE connector in database tests
+ Indicated how to use MS SQL Server trusted authentication/SSPI in database tests

git-svn-id: trunk@22639 -
2012-10-14 07:17:04 +00:00
ludob
fed8e11f9b Added support for fbembedded to DBtestframework mantis 23008 patch from Reinier
git-svn-id: trunk@22608 -
2012-10-10 07:40:23 +00:00
michael
3928be7f4d * Enable 64-bit compilation
git-svn-id: trunk@22607 -
2012-10-10 07:20:06 +00:00
marco
e1283a3e0e * handle milliseconds in IB timestamps, patch by Zipfelvo, improved by Lacak2.
Mantis #17199

git-svn-id: trunk@21244 -
2012-05-05 22:19:25 +00:00
marco
f8e33a7a9c * reenable dblib/freetds for win64, after successfull test.
git-svn-id: trunk@20692 -
2012-04-02 11:46:51 +00:00
marco
4f3f5b9374 * disable some dbtypes for win64 that have no know working clientlib,
patch by Reinier, Mantis #21579

git-svn-id: trunk@20656 -
2012-03-29 18:13:20 +00:00
michael
44871bbbbd * Patch to reorder datetime testing values, so out-of-range comes last
git-svn-id: trunk@20585 -
2012-03-23 09:05:01 +00:00
michael
386fb374ce * Applied tests pach from bug #17303
git-svn-id: trunk@20572 -
2012-03-22 13:45:54 +00:00
marco
040e67772a * Tests for Mysql 5.5, from Lacak2. Mantis #21511
git-svn-id: trunk@20546 -
2012-03-20 21:14:36 +00:00
marco
9b6a69502c * Use double for mysql ftfloat related tests.
Patches by Lacak2, Mantis #21388

git-svn-id: trunk@20456 -
2012-03-01 11:34:47 +00:00
marco
e866049f49 * Fix compilation of sqldbtoolsunit
git-svn-id: trunk@20400 -
2012-02-22 20:48:31 +00:00
marco
047cff3944 * Initial (var)binary field support for mysql and sqlite, patch by Lacak2,
Mantis #20513

git-svn-id: trunk@19516 -
2011-10-19 15:11:08 +00:00
marco
91f8ee8b89 * improve mapping of db type char to relative new ftfixedchar fieldtype. + tests. Mantis #20483, patch by Lacak2
git-svn-id: trunk@19489 -
2011-10-15 12:06:19 +00:00
marco
f22ec8545f * test for datetime params + fixes some minor cross-database specific things
patch by Lacak2, mantis #19878

git-svn-id: trunk@18152 -
2011-08-09 13:08:52 +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
marco
8265854813 * more cleanup testsuite (per database typing), mantis #18703
git-svn-id: trunk@18046 -
2011-08-01 14:11:40 +00:00
marco
db05a07412 * Support for BOOLEAN and BIGINT in fcl-db tests, initial version, patch by Lacak2
git-svn-id: trunk@18039 -
2011-07-31 19:33:38 +00:00
marco
0fb5540d25 * Left over testsuite parts of Mantis #17108, patch by Lacak2
git-svn-id: trunk@18038 -
2011-07-31 19:25:32 +00:00
joost
f48c1d7d79 * Fixed some tests, testValues is already set in InitializeConnection, so has to be adapted also
git-svn-id: trunk@17688 -
2011-06-07 20:07:12 +00:00
marco
cf57b81561 * add mysql51 to MySqlTypes
git-svn-id: trunk@17514 -
2011-05-20 20:15:21 +00:00
joost
8def31ec0c * Adapted time-field tests for some differences between databases
git-svn-id: trunk@17427 -
2011-05-10 12:10:39 +00:00
joost
122494f5ea * Fixes datetime values <0
* Fixed time-intervals longer then 24 hours
 * Use 'DATETIME' fields in tests, because mysql's 'TIMESTAMPS' are limited

git-svn-id: trunk@17416 -
2011-05-08 16:32:17 +00:00
joost
7f1a6b8e3e * Patch from Ladislav Karrach to add msec support to sqlite-time fields,
bug #18840
 * Adapted/fixed test for timefields, to allow testing for msec values, 
   bug #18763

git-svn-id: trunk@17415 -
2011-05-08 14:51:34 +00:00
joost
ad52fe0f23 * BigInt is already set by default since r16882
git-svn-id: trunk@17196 -
2011-03-27 16:19:36 +00:00
joost
8b8456aed6 * Added mysql51-connection type to testsuite
git-svn-id: trunk@17195 -
2011-03-27 16:08:55 +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
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
76b53866c0 * Use 'BIGINT'to test largeintfields by default, bug #18649
* Added TestSQLLargeint test, to check for fields which are defined as 'LARGEINT'

git-svn-id: trunk@16882 -
2011-02-06 14:09:12 +00:00
joost
57e39c37ae * Added ability to specify fieldname-quote chars for tests. Usefull for ODBC where these chars can differ
git-svn-id: trunk@15505 -
2010-07-01 15:21:46 +00:00
joost
32fd85f17e * Revert accidentally commited files in r15499
git-svn-id: trunk@15500 -
2010-06-30 18:32:25 +00:00
joost
f016c79d7a * Patch from Luiz Americo to fix a double pathdelim in filename, bug #16737
git-svn-id: trunk@15499 -
2010-06-30 18:29:41 +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
2425eb4721 * Use variable instead of hardcoded tablename
git-svn-id: trunk@12215 -
2008-11-23 15:04:58 +00:00
joost
836f7352e3 * Try to drop the table if it already exists while setting up tests. This avoids an annoying exception while debugging the tests
git-svn-id: trunk@12213 -
2008-11-23 11:51:00 +00:00
joost
596f8f5bbb * Avoid second exception while handling the first
git-svn-id: trunk@10844 -
2008-04-30 17:32:12 +00:00
joost
0820353b71 * Refactored test-values, removed duplicate and re-enabled a string-testvalue containing quotes
git-svn-id: trunk@10786 -
2008-04-24 20:33:44 +00:00
joost
f8e5776b11 * Mysql servers before version 5.0.3 removes trailing spaces on varchar fields, adapted testvalues to take this into account
git-svn-id: trunk@10779 -
2008-04-23 21:26:31 +00:00
joost
2cc3f2ebf3 * Fixed mysql ftLargeIntField + enabled test
git-svn-id: trunk@9609 -
2008-01-01 19:44:00 +00:00
joost
afe993756d * Enabled currency-fields test for sqlite3
git-svn-id: trunk@9093 -
2007-11-03 00:15:37 +00:00
joost
58d1c628de * Fixed TestSupportLargeintFields
* Disabled TestBug9744 for Interbase/firebird

git-svn-id: trunk@8880 -
2007-10-21 13:29:28 +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
10930a5165 * Added some comments
* Tests are more generic, ie use BLOB for firebird, TEXT for postgresql etc
 * Added support for SQLite3

git-svn-id: trunk@8599 -
2007-09-21 21:39:09 +00:00
peter
5b8dd4c004 * move fcl sources to separate packages
git-svn-id: trunk@6655 -
2007-02-25 21:02:26 +00:00