office-gobmx/sw/CppunitTest_sw_rtfimport.mk
Michael Stahl a25eda7155 tdf#131386 writerfilter: RTF import paragraph mark formatting
One obstacle was remove in commit 02f53bd612

To fix it, when \par is handled, runProps() just has to be called
unconditionally.

Now one test fails with:

rtfexport5.cxx:438:Assertion
Test name: testTdf107413::Load_Verify_Reload_Verify
equality assertion failed
- Expected: 14578
- Actual  : 14698

The spacing above the first paragraph in the table in the footer
is not imported - because this is recorded in a buffer, and when replaying,
getProperties() is called with Id 0, and not LN_Value_ST_StyleType_character
as when it's called immediately without buffering.

Change-Id: If86ed2fa88eb2ac0eafd7a8be411bbfa341619b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145490
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-01-13 19:31:53 +00:00

69 lines
1.7 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_rtfimport))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_rtfimport))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_rtfimport, \
sw/qa/extras/rtfimport/rtfimport \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_rtfimport, \
comphelper \
cppu \
cppuhelper \
sal \
sfx \
subsequenttest \
i18nlangtag \
svl \
sw \
swqahelper \
test \
unotest \
vcl \
tl \
utl \
))
$(eval $(call gb_CppunitTest_use_externals,sw_rtfimport,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_rtfimport,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/qa/inc \
$$(INCLUDE) \
))
$(eval $(call gb_CppunitTest_use_api,sw_rtfimport,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_vcl,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_rdb,sw_rtfimport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_rtfimport))
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_rtfimport,\
modules/swriter \
))
$(eval $(call gb_CppunitTest_use_more_fonts,sw_rtfimport))
# vim: set noet sw=4 ts=4: