diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-03-24 18:56:11 +0100 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2018-03-29 11:07:51 +0200 |
commit | 606cf347404f86ba3d6c94058eb4c470e9e4b596 (patch) | |
tree | 4d645e4981b361f277136dcb9fb85e5cfb00b39b /dbaccess/CppunitTest_dbaccess_hsqlbinary_import.mk | |
parent | change the infobar message of disabled links to a statement (diff) | |
download | core-606cf347404f86ba3d6c94058eb4c470e9e4b596.tar.gz core-606cf347404f86ba3d6c94058eb4c470e9e4b596.zip |
dbahsql: Unit test for binary import
Also fix bugs shown by the unit test
Use boost date/time instead of std, because std::tm cannot handle dates
before 1970.
Change-Id: I7f5dbb3d828a591a4b51c7204dc3bd39fefc42ff
Reviewed-on: https://gerrit.libreoffice.org/51804
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'dbaccess/CppunitTest_dbaccess_hsqlbinary_import.mk')
-rw-r--r-- | dbaccess/CppunitTest_dbaccess_hsqlbinary_import.mk | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/dbaccess/CppunitTest_dbaccess_hsqlbinary_import.mk b/dbaccess/CppunitTest_dbaccess_hsqlbinary_import.mk new file mode 100644 index 000000000000..b23e4801f234 --- /dev/null +++ b/dbaccess/CppunitTest_dbaccess_hsqlbinary_import.mk @@ -0,0 +1,106 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_CppunitTest_CppunitTest,dbaccess_hsql_binary_import)) + +$(eval $(call gb_CppunitTest_add_exception_objects,dbaccess_hsql_binary_import, \ + dbaccess/qa/unit/hsql_binary_import \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,dbaccess_hsql_binary_import, \ + basegfx \ + comphelper \ + cppu \ + cppuhelper \ + dba \ + dbahsql \ + dbu \ + sdbt \ + drawinglayer \ + editeng \ + for \ + forui \ + i18nlangtag \ + msfilter \ + oox \ + sal \ + salhelper \ + sax \ + sb \ + sfx \ + sot \ + svl \ + svt \ + svx \ + svxcore \ + test \ + subsequenttest \ + tl \ + tk \ + ucbhelper \ + unotest \ + utl \ + vbahelper \ + vcl \ + xo \ +)) + +$(eval $(call gb_CppunitTest_use_ure,dbaccess_hsql_binary_import)) +$(eval $(call gb_CppunitTest_use_vcl,dbaccess_hsql_binary_import)) + +$(eval $(call gb_CppunitTest_set_include,dbaccess_hsql_binary_import,\ + -I$(SRCDIR)/dbaccess/source/filter/hsqldb \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_api,dbaccess_hsql_binary_import,\ + offapi \ + oovbaapi \ + udkapi \ +)) + +$(eval $(call gb_CppunitTest_use_components,dbaccess_hsql_binary_import,\ + basic/util/sb \ + comphelper/util/comphelp \ + configmgr/source/configmgr \ + connectivity/source/drivers/firebird/firebird_sdbc \ + connectivity/source/manager/sdbc2 \ + dbaccess/util/dba \ + dbaccess/util/dbu \ + dbaccess/util/sdbt \ + dbaccess/source/filter/xml/dbaxml \ + filter/source/config/cache/filterconfig1 \ + forms/util/frm \ + framework/util/fwk \ + i18npool/util/i18npool \ + linguistic/source/lng \ + oox/util/oox \ + package/source/xstor/xstor \ + package/util/package2 \ + sax/source/expatwrap/expwrap \ + scripting/source/basprov/basprov \ + scripting/util/scriptframe \ + sfx2/util/sfx \ + sot/util/sot \ + svl/source/fsstor/fsstorage \ + svl/util/svl \ + toolkit/util/tk \ + ucb/source/core/ucb1 \ + ucb/source/ucp/file/ucpfile1 \ + ucb/source/ucp/tdoc/ucptdoc1 \ + unotools/util/utl \ + unoxml/source/rdf/unordf \ + unoxml/source/service/unoxml \ + uui/util/uui \ + xmloff/util/xo \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,dbaccess_hsql_binary_import)) + +# vim: set noet sw=4 ts=4: |