office-gobmx/sw/CppunitTest_sw_xhtmlexport.mk
Stephan Bergmann f7efe5a7fe Missing test dependencies
`make clean && make CppunitTest_sw_xhtmlexport` SIGABRT'ed with

[...]
> warn:vcl.builder:649768:649768:vcl/source/window/builder.cxx:462: DBG_UNHANDLED_EXCEPTION in VclBuilder::VclBuilder(vcl::Window *, const rtl::OUString &, const rtl::OUString &, const rtl::OString &, const css::uno::Reference<css::frame::XFrame> &, bool, const NotebookBarAddonsItem *)
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: file:///.../instdir/share/config/soffice.cfg/svx/ui/sidebarstylespanel.ui
> warn:sfx.sidebar:649768:649768:sfx2/source/sidebar/SidebarController.cxx:976: Cannot create panel private:resource/toolpanel/SvxPanelFactory/StylesPropertyPanel com.sun.star.container.NoSuchElementException message: file:///.../instdir/share/config/soffice.cfg/svx/ui/sidebarstylespanel.ui
> warn:vcl.builder:649768:649768:vcl/source/window/builder.cxx:462: DBG_UNHANDLED_EXCEPTION in VclBuilder::VclBuilder(vcl::Window *, const rtl::OUString &, const rtl::OUString &, const rtl::OString &, const css::uno::Reference<css::frame::XFrame> &, bool, const NotebookBarAddonsItem *)
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: file:///.../instdir/share/config/soffice.cfg/svx/ui/sidebartextpanel.ui
> warn:sfx.sidebar:649768:649768:sfx2/source/sidebar/SidebarController.cxx:976: Cannot create panel private:resource/toolpanel/SvxPanelFactory/TextPropertyPanel com.sun.star.container.NoSuchElementException message: file:///.../instdir/share/config/soffice.cfg/svx/ui/sidebartextpanel.ui
> warn:vcl.builder:649768:649768:vcl/source/window/builder.cxx:462: DBG_UNHANDLED_EXCEPTION in VclBuilder::VclBuilder(vcl::Window *, const rtl::OUString &, const rtl::OUString &, const rtl::OString &, const css::uno::Reference<css::frame::XFrame> &, bool, const NotebookBarAddonsItem *)
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: file:///.../instdir/share/config/soffice.cfg/svx/ui/sidebarparagraph.ui
> warn:legacy.osl:649768:649768:vcl/source/window/window.cxx:269: Window ( 7Control()) with live children destroyed:  7VclVBox()
> Window ( 7Control()) with live children destroyed:  7VclVBox()

and then still failed with

[...]
> I/O warning : failed to load external entity "file:///.../instdir/share/xslt/export/xhtml/opendoc2xhtml.xsl"
> error
> xsltParseStylesheetFile : cannot parse file:///.../instdir/share/xslt/export/xhtml/opendoc2xhtml.xsl
> warn:filter.xslt:662169:662186:filter/source/xsltfilter/XSLTFilter.cxx:234: XSLTFilter::error was called: com.sun.star.uno.Exception message: failed to load external entity "file:///.../instdir/share/xslt/export/xhtml/opendoc2xhtml.xsl"
>
> warn:xmloff:662169:662169:xmloff/source/core/xmlerror.cxx:169: An error or a warning has occurred during XML import/export!
> Error-Id: 0x60040004
>     Flags: 6 ERROR SEVERE
>     Class: 4 API
>     Number: 4
> Parameters:
> Exception-Message: com.sun.star.uno.RuntimeException: ""
>
> warn:sfx.doc:662169:662169:sfx2/source/doc/sfxbasemodel.cxx:3096: Storing has failed, no error is set!
> image-mimetype.odt:
> unknown:0:testImageEmbedding::Import_Export
> An uncaught exception of type com.sun.star.io.IOException
> - SfxBaseModel::impl_store <file:///TMPDIR/libtest_sw_xhtmlexport.sozwb87q.tmp> failed: 0xc10(Error Area:Io Class:Write Code:16)

and then still failed with

[...]
> I/O warning : failed to load external entity "file:///.../instdir/share/xslt/export/common/styles/style_collector.xsl"
> compilation error: file file:///.../instdir/share/xslt/export/xhtml/opendoc2xhtml.xsl line 55 element include
> xsl:include : unable to load file:///.../instdir/share/xslt/export/common/styles/style_collector.xsl
> I/O warning : failed to load external entity "file:///.../instdir/share/xslt/export/common/styles/style_mapping_css.xsl"
> compilation error: file file:///.../instdir/share/xslt/export/xhtml/opendoc2xhtml.xsl line 58 element include
> xsl:include : unable to load file:///.../instdir/share/xslt/export/common/styles/style_mapping_css.xsl
> I/O warning : failed to load external entity "file:///.../instdir/share/xslt/common/measure_conversion.xsl"
> compilation error: file file:///.../instdir/share/xslt/export/xhtml/body.xsl line 28 element import
> xsl:import : unable to load file:///.../instdir/share/xslt/common/measure_conversion.xsl
> I/O warning : failed to load external entity "file:///.../instdir/share/xslt/export/common/body.xsl"
> compilation error: file file:///.../instdir/share/xslt/export/xhtml/body.xsl line 31 element import
> xsl:import : unable to load file:///.../instdir/share/xslt/export/common/body.xsl
> I/O warning : failed to load external entity "file:///.../instdir/share/xslt/export/common/table/table.xsl"
> compilation error: file file:///.../instdir/share/xslt/export/xhtml/body.xsl line 34 element import
> xsl:import : unable to load file:///.../instdir/share/xslt/export/common/table/table.xsl
> warn:filter.xslt:662890:662907:filter/source/xsltfilter/XSLTFilter.cxx:234: XSLTFilter::error was called: com.sun.star.uno.Exception message: failed to load external entity "file:///.../instdir/share/xslt/export/common/table/table.xsl"
>
> warn:xmloff:662890:662890:xmloff/source/core/xmlerror.cxx:169: An error or a warning has occurred during XML import/export!
> Error-Id: 0x60040004
>     Flags: 6 ERROR SEVERE
>     Class: 4 API
>     Number: 4
> Parameters:
> Exception-Message: com.sun.star.uno.RuntimeException: ""
>
> warn:sfx.doc:662890:662890:sfx2/source/doc/sfxbasemodel.cxx:3096: Storing has failed, no error is set!
> image-mimetype.odt:
> unknown:0:testImageEmbedding::Import_Export
> An uncaught exception of type com.sun.star.io.IOException
> - SfxBaseModel::impl_store <file:///TMPDIR/libtest_sw_xhtmlexport.sozwmx0q.tmp> failed: 0xc10(Error Area:Io Class:Write Code:16)

Change-Id: I295222448be208582003c62e3d610f6fe743af3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90772
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-03-20 12:00:22 +01:00

70 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_xhtmlexport))
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_xhtmlexport))
$(eval $(call gb_CppunitTest_add_exception_objects,sw_xhtmlexport, \
sw/qa/extras/htmlexport/xhtmlexport \
))
$(eval $(call gb_CppunitTest_use_libraries,sw_xhtmlexport, \
comphelper \
cppu \
cppuhelper \
i18nlangtag \
sal \
sfx \
sw \
test \
tl \
unotest \
utl \
vcl \
))
$(eval $(call gb_CppunitTest_use_externals,sw_xhtmlexport,\
boost_headers \
libxml2 \
))
$(eval $(call gb_CppunitTest_set_include,sw_xhtmlexport,\
-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_xhtmlexport,\
udkapi \
offapi \
oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sw_xhtmlexport))
$(eval $(call gb_CppunitTest_use_vcl,sw_xhtmlexport))
$(eval $(call gb_CppunitTest_use_rdb,sw_xhtmlexport,services))
$(eval $(call gb_CppunitTest_use_configuration,sw_xhtmlexport))
$(eval $(call gb_CppunitTest_use_packages,sw_xhtmlexport, \
filter_xhtml \
filter_xslt \
))
$(eval $(call gb_CppunitTest_use_uiconfigs,sw_xhtmlexport, \
svx \
))
# vim: set noet sw=4 ts=4: