b3362fc9cb
The "ooxmlexport" unit test for Smart-Art has been updated to just check for the new rendered bitmap that substitutes the generated basic shapes. The "ooxmlimport" has been updated with a new "testSmartart" unit tests which checks that the importing has been done to just basic shapes. For this, the "run" method has been customized so we can set the proper filter option. Slightly modified the expected results in the "testChartProp" unit test since linking it to additional libraries has modified the dimmensions of the imported chart in few units. Made the "ooxmlimport" C++ unit tests in the "sw" module to depend on the "drawinglayer" and "svx" components and the "utl" library. Conflicts: sw/qa/extras/ooxmlimport/ooxmlimport.cxx Change-Id: I0900a50cfee07999511d071bc9932477ad9430c5
90 lines
2.3 KiB
Makefile
90 lines
2.3 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_ooxmlimport))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlimport, \
|
|
sw/qa/extras/ooxmlimport/ooxmlimport \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sw_ooxmlimport, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
test \
|
|
unotest \
|
|
utl \
|
|
sw \
|
|
vcl \
|
|
$(gb_UWINAPI) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sw_ooxmlimport,\
|
|
boost_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sw_ooxmlimport,\
|
|
-I$(SRCDIR)/sw/inc \
|
|
-I$(SRCDIR)/sw/source/core/inc \
|
|
-I$(SRCDIR)/sw/qa/extras/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,sw_ooxmlimport,\
|
|
offapi \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sw_ooxmlimport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\
|
|
basic/util/sb \
|
|
chart2/source/controller/chartcontroller \
|
|
chart2/source/chartcore \
|
|
comphelper/util/comphelp \
|
|
configmgr/source/configmgr \
|
|
drawinglayer/drawinglayer \
|
|
embeddedobj/util/embobj \
|
|
fileaccess/source/fileacc \
|
|
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 \
|
|
sax/source/fastparser/fastsax \
|
|
sw/util/sw \
|
|
sw/util/swd \
|
|
sw/util/msword \
|
|
sfx2/util/sfx \
|
|
svl/source/fsstor/fsstorage \
|
|
svl/util/svl \
|
|
svtools/util/svt \
|
|
svx/util/svx \
|
|
toolkit/util/tk \
|
|
ucb/source/core/ucb1 \
|
|
ucb/source/ucp/file/ucpfile1 \
|
|
unotools/util/utl \
|
|
unoxml/source/service/unoxml \
|
|
writerfilter/util/writerfilter \
|
|
xmloff/util/xo \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sw_ooxmlimport))
|
|
|
|
$(eval $(call gb_CppunitTest_use_unittest_configuration,sw_ooxmlimport))
|
|
|
|
# vim: set noet sw=4 ts=4:
|