office-gobmx/sw/CppunitTest_sw_core_header_footer.mk
Tomaž Vajngerl 9e876c164a sw: move header/footer tests to own class in core tests
In addition add some more basic header/footer tests.

This makes refactoring of header and footer OOXML import
much easier.

Change-Id: I5b3b3714656ba2f7b1dda8d8f067c3bfe68857a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159946
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-11-28 04:02:22 +01:00

73 lines
1.9 KiB
Makefile

# -*- 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,sw_core_header_footer))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_core_header_footer))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_core_header_footer, \
sw/qa/core/header_footer/HeaderFooterTest \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_core_header_footer, \
comphelper \
cppu \
cppuhelper \
sal \
sfx \
subsequenttest \
sw \
swqahelper \
test \
unotest \
utl \
vcl \
svt \
tl \
svl \
svxcore \
))
$(eval $(call gb_CppunitTest_use_externals,sw_core_header_footer,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_core_header_footer,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/source/uibase/inc \
-I$(SRCDIR)/sw/qa/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sw_core_header_footer,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_core_header_footer))
$(eval $(call gb_CppunitTest_use_vcl,sw_core_header_footer))
$(eval $(call gb_CppunitTest_use_rdb,sw_core_header_footer,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_core_header_footer))
$(eval $(call gb_CppunitTest_use_custom_headers,sw_core_header_footer,\
officecfg/registry \
))
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_core_header_footer, \
modules/swriter \
svt \
svx \
))
# vim: set noet sw=4 ts=4: