[Libreoffice-commits] core.git: sc/CppunitTest_sc_addin_functions_test.mk sc/CppunitTest_sc_array_functions_test.mk sc/CppunitTest_sc_datetime_functions_test.mk sc/CppunitTest_sc_financial_functions_test.mk sc/CppunitTest_sc_information_functions_test.mk sc/CppunitTest_sc_logical_functions_test.mk sc/CppunitTest_sc_mathematical_functions_test.mk sc/CppunitTest_sc_spreadsheet_functions_test.mk sc/CppunitTest_sc_statistical_functions_test.mk sc/CppunitTest_sc_text_functions_test.mk sc/Module_sc.mk sc/qa
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Nov 30 22:48:24 UTC 2016
sc/CppunitTest_sc_addin_functions_test.mk | 116
sc/CppunitTest_sc_array_functions_test.mk | 116
sc/CppunitTest_sc_datetime_functions_test.mk | 116
sc/CppunitTest_sc_financial_functions_test.mk | 116
sc/CppunitTest_sc_information_functions_test.mk | 116
sc/CppunitTest_sc_logical_functions_test.mk | 116
sc/CppunitTest_sc_mathematical_functions_test.mk | 116
sc/CppunitTest_sc_spreadsheet_functions_test.mk | 116
sc/CppunitTest_sc_statistical_functions_test.mk | 116
sc/CppunitTest_sc_text_functions_test.mk | 116
sc/Module_sc.mk | 10
sc/qa/unit/data/functions/addin/fods/rot13.fods | 1251 ++
sc/qa/unit/data/functions/array/fods/transpose.fods | 6956 ++++++++++++++++
sc/qa/unit/data/functions/date_time/fods/year.fods | 1008 ++
sc/qa/unit/data/functions/financial/fods/pv.fods | 2581 +++++
sc/qa/unit/data/functions/fods/and.fods | 2043 ----
sc/qa/unit/data/functions/fods/column.fods | 7377 -----------------
sc/qa/unit/data/functions/fods/counta.fods | 3486 --------
sc/qa/unit/data/functions/fods/if.fods | 2467 -----
sc/qa/unit/data/functions/fods/not.fods | 2277 -----
sc/qa/unit/data/functions/fods/or.fods | 2318 -----
sc/qa/unit/data/functions/fods/pv.fods | 2581 -----
sc/qa/unit/data/functions/fods/right.fods | 1491 ---
sc/qa/unit/data/functions/fods/rot13.fods | 1251 --
sc/qa/unit/data/functions/fods/sign.fods | 2460 -----
sc/qa/unit/data/functions/fods/transpose.fods | 6956 ----------------
sc/qa/unit/data/functions/fods/type.fods | 2021 ----
sc/qa/unit/data/functions/fods/xor.fods | 2320 -----
sc/qa/unit/data/functions/fods/year.fods | 1008 --
sc/qa/unit/data/functions/information/fods/type.fods | 2021 ++++
sc/qa/unit/data/functions/logical/fods/and.fods | 2043 ++++
sc/qa/unit/data/functions/logical/fods/if.fods | 2467 +++++
sc/qa/unit/data/functions/logical/fods/not.fods | 2277 +++++
sc/qa/unit/data/functions/logical/fods/or.fods | 2318 +++++
sc/qa/unit/data/functions/logical/fods/xor.fods | 2320 +++++
sc/qa/unit/data/functions/mathematical/fods/sign.fods | 2460 +++++
sc/qa/unit/data/functions/spreadsheet/fods/column.fods | 7377 +++++++++++++++++
sc/qa/unit/data/functions/statistical/fods/counta.fods | 3486 ++++++++
sc/qa/unit/data/functions/text/fods/right.fods | 1491 +++
sc/qa/unit/functions_addin.cxx | 33
sc/qa/unit/functions_array.cxx | 33
sc/qa/unit/functions_datetime.cxx | 33
sc/qa/unit/functions_financial.cxx | 33
sc/qa/unit/functions_information.cxx | 33
sc/qa/unit/functions_logical.cxx | 33
sc/qa/unit/functions_mathematical.cxx | 33
sc/qa/unit/functions_spreadsheet.cxx | 33
sc/qa/unit/functions_statistical.cxx | 33
sc/qa/unit/functions_text.cxx | 33
49 files changed, 41556 insertions(+), 40056 deletions(-)
New commits:
commit 1b15f2f280d6fb9ee1e51c3424769a912c8d0689
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Wed Nov 30 22:13:51 2016 +0100
split the functions test in even more categories
Change-Id: I3ca640a24e95d1e6e0ad66be7bf09c45d63b52bb
Reviewed-on: https://gerrit.libreoffice.org/31447
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/CppunitTest_sc_addin_functions_test.mk b/sc/CppunitTest_sc_addin_functions_test.mk
new file mode 100644
index 0000000..245c94b
--- /dev/null
+++ b/sc/CppunitTest_sc_addin_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_addin_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_addin_functions_test, \
+ sc/qa/unit/functions_addin \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_addin_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_addin_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_addin_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_addin_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_addin_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_addin_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_addin_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_addin_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_array_functions_test.mk b/sc/CppunitTest_sc_array_functions_test.mk
new file mode 100644
index 0000000..cff986e
--- /dev/null
+++ b/sc/CppunitTest_sc_array_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_array_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_array_functions_test, \
+ sc/qa/unit/functions_array \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_array_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_array_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_array_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_array_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_array_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_array_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_array_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_array_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_datetime_functions_test.mk b/sc/CppunitTest_sc_datetime_functions_test.mk
new file mode 100644
index 0000000..138ff3a
--- /dev/null
+++ b/sc/CppunitTest_sc_datetime_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_datetime_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_datetime_functions_test, \
+ sc/qa/unit/functions_datetime \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_datetime_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_datetime_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_datetime_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_datetime_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_datetime_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_datetime_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_datetime_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_datetime_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_financial_functions_test.mk b/sc/CppunitTest_sc_financial_functions_test.mk
new file mode 100644
index 0000000..5bf97a7
--- /dev/null
+++ b/sc/CppunitTest_sc_financial_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_financial_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_financial_functions_test, \
+ sc/qa/unit/functions_financial \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_financial_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_financial_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_financial_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_financial_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_financial_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_financial_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_financial_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_financial_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_information_functions_test.mk b/sc/CppunitTest_sc_information_functions_test.mk
new file mode 100644
index 0000000..4741322
--- /dev/null
+++ b/sc/CppunitTest_sc_information_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_information_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_information_functions_test, \
+ sc/qa/unit/functions_information \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_information_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_information_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_information_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_information_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_information_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_information_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_information_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_information_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_logical_functions_test.mk b/sc/CppunitTest_sc_logical_functions_test.mk
new file mode 100644
index 0000000..af9a5a3
--- /dev/null
+++ b/sc/CppunitTest_sc_logical_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_logical_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_logical_functions_test, \
+ sc/qa/unit/functions_logical \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_logical_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_logical_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_logical_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_logical_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_logical_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_logical_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_logical_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_logical_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_mathematical_functions_test.mk b/sc/CppunitTest_sc_mathematical_functions_test.mk
new file mode 100644
index 0000000..672bf5c
--- /dev/null
+++ b/sc/CppunitTest_sc_mathematical_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_mathematical_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_mathematical_functions_test, \
+ sc/qa/unit/functions_mathematical \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_mathematical_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_mathematical_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_mathematical_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_mathematical_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_mathematical_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_mathematical_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_mathematical_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_mathematical_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_spreadsheet_functions_test.mk b/sc/CppunitTest_sc_spreadsheet_functions_test.mk
new file mode 100644
index 0000000..dee36b2
--- /dev/null
+++ b/sc/CppunitTest_sc_spreadsheet_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_spreadsheet_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_spreadsheet_functions_test, \
+ sc/qa/unit/functions_spreadsheet \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_spreadsheet_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_spreadsheet_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_spreadsheet_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_spreadsheet_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_spreadsheet_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_spreadsheet_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_spreadsheet_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_spreadsheet_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_statistical_functions_test.mk b/sc/CppunitTest_sc_statistical_functions_test.mk
new file mode 100644
index 0000000..4ec0561
--- /dev/null
+++ b/sc/CppunitTest_sc_statistical_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_statistical_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_statistical_functions_test, \
+ sc/qa/unit/functions_statistical \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_statistical_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_statistical_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_statistical_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_statistical_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_statistical_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_statistical_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_statistical_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_statistical_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/CppunitTest_sc_text_functions_test.mk b/sc/CppunitTest_sc_text_functions_test.mk
new file mode 100644
index 0000000..6f4131c
--- /dev/null
+++ b/sc/CppunitTest_sc_text_functions_test.mk
@@ -0,0 +1,116 @@
+# -*- 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,sc_text_functions_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sc_text_functions_test, \
+ sc/qa/unit/functions_text \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,sc_text_functions_test, \
+ boost_headers \
+ mdds_headers \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sc_text_functions_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ for \
+ forui \
+ i18nlangtag \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sc \
+ scqahelper \
+ sfx \
+ sot \
+ svl \
+ svt \
+ svx \
+ svxcore \
+ test \
+ tk \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_set_include,sc_text_functions_test,\
+ -I$(SRCDIR)/sc/source/ui/inc \
+ -I$(SRCDIR)/sc/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sc_text_functions_test,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sc_text_functions_test))
+
+$(eval $(call gb_CppunitTest_use_vcl,sc_text_functions_test))
+
+$(eval $(call gb_CppunitTest_use_components,sc_text_functions_test,\
+ basic/util/sb \
+ chart2/source/chartcore \
+ chart2/source/controller/chartcontroller \
+ comphelper/util/comphelp \
+ configmgr/source/configmgr \
+ connectivity/source/manager/sdbc2 \
+ dbaccess/util/dba \
+ embeddedobj/util/embobj \
+ eventattacher/source/evtatt \
+ filter/source/config/cache/filterconfig1 \
+ filter/source/odfflatxml/odfflatxml \
+ filter/source/xmlfilteradaptor/xmlfa \
+ forms/util/frm \
+ framework/util/fwk \
+ i18npool/util/i18npool \
+ i18npool/source/search/i18nsearch \
+ linguistic/source/lng \
+ oox/util/oox \
+ package/source/xstor/xstor \
+ package/util/package2 \
+ sax/source/expatwrap/expwrap \
+ scaddins/source/analysis/analysis \
+ scaddins/source/datefunc/date \
+ sc/util/sc \
+ sc/util/scfilt \
+ sfx2/util/sfx \
+ sot/util/sot \
+ svl/util/svl \
+ svtools/util/svt \
+ svx/util/svx \
+ svx/util/svxcore \
+ 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 \
+ xmlscript/util/xmlscript \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sc_text_functions_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 96458d1..cd5c045 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -76,6 +76,16 @@ ifneq ($(PLATFORMID),linux_x86)
$(eval $(call gb_Module_add_slowcheck_targets,sc, \
CppunitTest_sc_functions_test_old \
CppunitTest_sc_database_functions_test \
+ CppunitTest_sc_array_functions_test \
+ CppunitTest_sc_addin_functions_test \
+ CppunitTest_sc_datetime_functions_test \
+ CppunitTest_sc_financial_functions_test \
+ CppunitTest_sc_information_functions_test \
+ CppunitTest_sc_logical_functions_test \
+ CppunitTest_sc_mathematical_functions_test \
+ CppunitTest_sc_spreadsheet_functions_test \
+ CppunitTest_sc_statistical_functions_test \
+ CppunitTest_sc_text_functions_test \
))
endif
diff --git a/sc/qa/unit/data/functions/fods/rot13.fods b/sc/qa/unit/data/functions/addin/fods/rot13.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/rot13.fods
rename to sc/qa/unit/data/functions/addin/fods/rot13.fods
diff --git a/sc/qa/unit/data/functions/fods/transpose.fods b/sc/qa/unit/data/functions/array/fods/transpose.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/transpose.fods
rename to sc/qa/unit/data/functions/array/fods/transpose.fods
diff --git a/sc/qa/unit/data/functions/fods/year.fods b/sc/qa/unit/data/functions/date_time/fods/year.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/year.fods
rename to sc/qa/unit/data/functions/date_time/fods/year.fods
diff --git a/sc/qa/unit/data/functions/fods/pv.fods b/sc/qa/unit/data/functions/financial/fods/pv.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/pv.fods
rename to sc/qa/unit/data/functions/financial/fods/pv.fods
diff --git a/sc/qa/unit/data/functions/fods/type.fods b/sc/qa/unit/data/functions/information/fods/type.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/type.fods
rename to sc/qa/unit/data/functions/information/fods/type.fods
diff --git a/sc/qa/unit/data/functions/fods/and.fods b/sc/qa/unit/data/functions/logical/fods/and.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/and.fods
rename to sc/qa/unit/data/functions/logical/fods/and.fods
diff --git a/sc/qa/unit/data/functions/fods/if.fods b/sc/qa/unit/data/functions/logical/fods/if.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/if.fods
rename to sc/qa/unit/data/functions/logical/fods/if.fods
diff --git a/sc/qa/unit/data/functions/fods/not.fods b/sc/qa/unit/data/functions/logical/fods/not.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/not.fods
rename to sc/qa/unit/data/functions/logical/fods/not.fods
diff --git a/sc/qa/unit/data/functions/fods/or.fods b/sc/qa/unit/data/functions/logical/fods/or.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/or.fods
rename to sc/qa/unit/data/functions/logical/fods/or.fods
diff --git a/sc/qa/unit/data/functions/fods/xor.fods b/sc/qa/unit/data/functions/logical/fods/xor.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/xor.fods
rename to sc/qa/unit/data/functions/logical/fods/xor.fods
diff --git a/sc/qa/unit/data/functions/fods/sign.fods b/sc/qa/unit/data/functions/mathematical/fods/sign.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/sign.fods
rename to sc/qa/unit/data/functions/mathematical/fods/sign.fods
diff --git a/sc/qa/unit/data/functions/fods/column.fods b/sc/qa/unit/data/functions/spreadsheet/fods/column.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/column.fods
rename to sc/qa/unit/data/functions/spreadsheet/fods/column.fods
diff --git a/sc/qa/unit/data/functions/fods/counta.fods b/sc/qa/unit/data/functions/statistical/fods/counta.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/counta.fods
rename to sc/qa/unit/data/functions/statistical/fods/counta.fods
diff --git a/sc/qa/unit/data/functions/fods/right.fods b/sc/qa/unit/data/functions/text/fods/right.fods
similarity index 100%
rename from sc/qa/unit/data/functions/fods/right.fods
rename to sc/qa/unit/data/functions/text/fods/right.fods
diff --git a/sc/qa/unit/functions_addin.cxx b/sc/qa/unit/functions_addin.cxx
new file mode 100644
index 0000000..b56eaf8
--- /dev/null
+++ b/sc/qa/unit/functions_addin.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class AddinFunctionsTest : public FunctionsTest
+{
+public:
+ AddinFunctionsTest();
+
+ void testAddinFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(AddinFunctionsTest);
+ CPPUNIT_TEST(testAddinFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void AddinFunctionsTest::testAddinFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/addin/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+AddinFunctionsTest::AddinFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/addin/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(AddinFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_array.cxx b/sc/qa/unit/functions_array.cxx
new file mode 100644
index 0000000..99c09ed
--- /dev/null
+++ b/sc/qa/unit/functions_array.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class ArrayFunctionsTest : public FunctionsTest
+{
+public:
+ ArrayFunctionsTest();
+
+ void testArrayFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(ArrayFunctionsTest);
+ CPPUNIT_TEST(testArrayFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void ArrayFunctionsTest::testArrayFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/array/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+ArrayFunctionsTest::ArrayFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/array/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(ArrayFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_datetime.cxx b/sc/qa/unit/functions_datetime.cxx
new file mode 100644
index 0000000..3e99272
--- /dev/null
+++ b/sc/qa/unit/functions_datetime.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class DateTimeFunctionsTest : public FunctionsTest
+{
+public:
+ DateTimeFunctionsTest();
+
+ void testDateTimeFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(DateTimeFunctionsTest);
+ CPPUNIT_TEST(testDateTimeFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void DateTimeFunctionsTest::testDateTimeFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/date_time/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+DateTimeFunctionsTest::DateTimeFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/date_time/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(DateTimeFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_financial.cxx b/sc/qa/unit/functions_financial.cxx
new file mode 100644
index 0000000..7d42a46
--- /dev/null
+++ b/sc/qa/unit/functions_financial.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class FinancialFunctionsTest : public FunctionsTest
+{
+public:
+ FinancialFunctionsTest();
+
+ void testFinancialFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(FinancialFunctionsTest);
+ CPPUNIT_TEST(testFinancialFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void FinancialFunctionsTest::testFinancialFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/financial/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+FinancialFunctionsTest::FinancialFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/financial/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(FinancialFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_information.cxx b/sc/qa/unit/functions_information.cxx
new file mode 100644
index 0000000..f051a11
--- /dev/null
+++ b/sc/qa/unit/functions_information.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class InformationFunctionsTest : public FunctionsTest
+{
+public:
+ InformationFunctionsTest();
+
+ void testInformationFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(InformationFunctionsTest);
+ CPPUNIT_TEST(testInformationFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void InformationFunctionsTest::testInformationFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/information/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+InformationFunctionsTest::InformationFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/information/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(InformationFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_logical.cxx b/sc/qa/unit/functions_logical.cxx
new file mode 100644
index 0000000..917df0a
--- /dev/null
+++ b/sc/qa/unit/functions_logical.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class LogicalFunctionsTest : public FunctionsTest
+{
+public:
+ LogicalFunctionsTest();
+
+ void testLogicalFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(LogicalFunctionsTest);
+ CPPUNIT_TEST(testLogicalFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void LogicalFunctionsTest::testLogicalFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/logical/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+LogicalFunctionsTest::LogicalFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/logical/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(LogicalFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_mathematical.cxx b/sc/qa/unit/functions_mathematical.cxx
new file mode 100644
index 0000000..6be24fe
--- /dev/null
+++ b/sc/qa/unit/functions_mathematical.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class MathematicalFunctionsTest : public FunctionsTest
+{
+public:
+ MathematicalFunctionsTest();
+
+ void testMathematicalFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(MathematicalFunctionsTest);
+ CPPUNIT_TEST(testMathematicalFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void MathematicalFunctionsTest::testMathematicalFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/mathematical/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+MathematicalFunctionsTest::MathematicalFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/mathematical/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(MathematicalFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_spreadsheet.cxx b/sc/qa/unit/functions_spreadsheet.cxx
new file mode 100644
index 0000000..cb8d16e
--- /dev/null
+++ b/sc/qa/unit/functions_spreadsheet.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class SpreadsheetFunctionsTest : public FunctionsTest
+{
+public:
+ SpreadsheetFunctionsTest();
+
+ void testSpreadsheetFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(SpreadsheetFunctionsTest);
+ CPPUNIT_TEST(testSpreadsheetFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void SpreadsheetFunctionsTest::testSpreadsheetFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/spreadsheet/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+SpreadsheetFunctionsTest::SpreadsheetFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/spreadsheet/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(SpreadsheetFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_statistical.cxx b/sc/qa/unit/functions_statistical.cxx
new file mode 100644
index 0000000..91d970a
--- /dev/null
+++ b/sc/qa/unit/functions_statistical.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class StatisticalFunctionsTest : public FunctionsTest
+{
+public:
+ StatisticalFunctionsTest();
+
+ void testStatisticalFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(StatisticalFunctionsTest);
+ CPPUNIT_TEST(testStatisticalFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void StatisticalFunctionsTest::testStatisticalFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/statistical/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+StatisticalFunctionsTest::StatisticalFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/statistical/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(StatisticalFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/qa/unit/functions_text.cxx b/sc/qa/unit/functions_text.cxx
new file mode 100644
index 0000000..a5bae63
--- /dev/null
+++ b/sc/qa/unit/functions_text.cxx
@@ -0,0 +1,33 @@
+#include "functions_test.hxx"
+
+class TextFunctionsTest : public FunctionsTest
+{
+public:
+ TextFunctionsTest();
+
+ void testTextFormulasFODS();
+
+ CPPUNIT_TEST_SUITE(TextFunctionsTest);
+ CPPUNIT_TEST(testTextFormulasFODS);
+ CPPUNIT_TEST_SUITE_END();
+
+};
+
+void TextFunctionsTest::testTextFormulasFODS()
+{
+ OUString aDirectoryURL = m_directories.getURLFromSrc("/sc/qa/unit/data/functions/text/fods/");
+ recursiveScan(test::pass, "OpenDocument Spreadsheet Flat XML", aDirectoryURL,
+ "com.sun.star.comp.filter.OdfFlatXml,,com.sun.star.comp.Calc.XMLOasisImporter,com.sun.star.comp.Calc.XMLOasisExporter,,,true",
+ FODS_FORMAT_TYPE, SotClipboardFormatId::NONE, 0, false);
+}
+
+TextFunctionsTest::TextFunctionsTest():
+ FunctionsTest("sc/qa/unit/data/functions/text/fods/")
+{
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(TextFunctionsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list