move round-tripables to ooxmlexport

This serves two purposes. It helps to prevent regressions
and it allows focus on features that still don't export properly.

The standard .mk file had trouble on the Mac, so I ended up copying
ooxmlimport.mk instead of trying to tweak the export template.

The huge section of tests excluded from Win32 testing is still
excluded here.

The ole-anchor test works as export in the import code, but didn't
work from the ooxmlexport directory, so left that one as import only.

Change-Id: I9d72202c577940ba94855096c5a11d4dec4790a5
Reviewed-on: https://gerrit.libreoffice.org/29588
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
This commit is contained in:
Justin Luth
2016-10-07 13:44:01 +03:00
parent 91d406f5af
commit 0865503132
167 changed files with 2254 additions and 2028 deletions

View File

@@ -0,0 +1,104 @@
# -*- 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_ooxmlexport8))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlexport8, \
sw/qa/extras/ooxmlexport/ooxmlexport8 \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlexport8, \
basegfx \
comphelper \
cppu \
cppuhelper \
sal \
test \
unotest \
utl \
sw \
tl \
vcl \
svxcore \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_externals,sw_ooxmlexport8,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_ooxmlexport8,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
-I$(SRCDIR)/sw/qa/extras/inc \
$$(INCLUDE) \
))
ifeq ($(OS),MACOSX)
$(eval $(call gb_CppunitTest_add_cxxflags,sw_ooxmlexport8,\
$(gb_OBJCXXFLAGS) \
))
$(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sw_ooxmlexport8,\
AppKit \
))
endif
$(eval $(call gb_CppunitTest_use_sdk_api,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_vcl,sw_ooxmlexport8))
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlexport8,\
basic/util/sb \
chart2/source/controller/chartcontroller \
chart2/source/chartcore \
canvas/source/factory/canvasfactory \
comphelper/util/comphelp \
configmgr/source/configmgr \
drawinglayer/drawinglayer \
embeddedobj/util/embobj \
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 \
sw/util/sw \
sw/util/swd \
sw/util/msword \
sfx2/util/sfx \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/util/svl \
svtools/util/svt \
svx/util/svx \
svx/util/svxcore \
toolkit/util/tk \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unotools/util/utl \
unoxml/source/service/unoxml \
unoxml/source/rdf/unordf \
uui/util/uui \
writerfilter/util/writerfilter \
xmloff/util/xo \
))
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlexport8))
# vim: set noet sw=4 ts=4:

View File

@@ -0,0 +1,16 @@
# -*- 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/.
#
#*************************************************************************
include $(SRCDIR)/sw/ooxmlexport_setup.mk
$(eval $(call sw_ooxmlexport_test,9))
# vim: set noet sw=4 ts=4:

View File

@@ -59,6 +59,8 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\
CppunitTest_sw_ooxmlexport5 \
CppunitTest_sw_ooxmlexport6 \
CppunitTest_sw_ooxmlexport7 \
CppunitTest_sw_ooxmlexport8 \
CppunitTest_sw_ooxmlexport9 \
CppunitTest_sw_ooxmlfieldexport \
CppunitTest_sw_ooxmlw14export \
CppunitTest_sw_ooxmlimport \

View File

@@ -20,6 +20,7 @@ define sw_ooxmlexport_libraries
unotest \
utl \
vcl \
svxcore \
$(gb_UWINAPI)
endef

View File

Before

Width:  |  Height:  |  Size: 767 B

After

Width:  |  Height:  |  Size: 767 B

Some files were not shown because too many files have changed in this diff Show More