Kaydet (Commit) 1b15f2f2 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

split the functions test in even more categories

Change-Id: I3ca640a24e95d1e6e0ad66be7bf09c45d63b52bb
Reviewed-on: https://gerrit.libreoffice.org/31447Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst ff22a222
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
# -*- 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:
......@@ -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
......
#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: */
#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: */
#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: */
#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: */
#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: */
#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: */
#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: */
#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: */
#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: */
#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: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment