diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-03-25 13:26:57 +0200 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2018-04-07 17:08:26 +0200 |
commit | 159dd28651788a19848eae56693ad06ed947414d (patch) | |
tree | b69013db1c0fa45677b59d58999ce0d8ebebd76c /dbaccess/CppunitTest_dbaccess_hsqldb_test.mk | |
parent | Remove fill styles that are not implemented (diff) | |
download | core-159dd28651788a19848eae56693ad06ed947414d.tar.gz core-159dd28651788a19848eae56693ad06ed947414d.zip |
dbaccess: Enable hsql migration by default
Also make Firebird driver not experimental anymore.
With hsql migration enabled, the hsqldb related unit tests can be
reused, because the underlying DBMS is transparent. To achieve that, I
added firebird_sdbc component to hsqldb CppunitTest_* files.
This commit also contains fixes for upcoming bugs while migrating from
hsqldb to firebird, shown by hsqldb related unit tests:
- null values: in case of null values, the setNull method should be used
instead of nothing. (malformed string otherwise)
Remove DBACCESS_HSQL_MIGRATION environment variable, since migration is
default from now on.
JunitTest_dbaccess_complex was based on HSQLDB. This commit replaces
"if exists" hsql specific solution with firebird specific. Also disable
test for queries with named parameters.
Change-Id: Ieb68f5ad3a11389599c4f268ea4df82a83643b82
Reviewed-on: https://gerrit.libreoffice.org/52008
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'dbaccess/CppunitTest_dbaccess_hsqldb_test.mk')
-rw-r--r-- | dbaccess/CppunitTest_dbaccess_hsqldb_test.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk b/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk index 071f05c5e34a..e3dcae7473b0 100644 --- a/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk +++ b/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk @@ -22,6 +22,7 @@ $(eval $(call gb_CppunitTest_use_libraries,dbaccess_hsqldb_test, \ cppuhelper \ dbaxml \ dbtools \ + firebird_sdbc \ jvmfwk \ sal \ subsequenttest \ @@ -48,6 +49,7 @@ $(eval $(call gb_CppunitTest_use_components,dbaccess_hsqldb_test,\ comphelper/util/comphelp \ configmgr/source/configmgr \ connectivity/source/cpool/dbpool2 \ + connectivity/source/drivers/firebird/firebird_sdbc \ connectivity/source/drivers/hsqldb/hsqldb \ connectivity/source/drivers/jdbc/jdbc \ connectivity/source/manager/sdbc2 \ |