sw/qa/extras/htmlexport/htmlexport.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 4e06ba6e57d8f1166b6e54924a7228b5c85962ba Author: Miklos Vajna <[email protected]> AuthorDate: Tue Jun 13 20:10:43 2023 +0200 Commit: Miklos Vajna <[email protected]> CommitDate: Wed Jun 14 08:17:36 2023 +0200 CppunitTest_sw_htmlexport: avoid reqif magic in testOleNodataReqIf Set the filter options explicitly, rather than inferring it from the test name. Change-Id: I08acf610c2880f20fb7e06151566bc7725fb5357 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152997 Tested-by: Jenkins Reviewed-by: Miklos Vajna <[email protected]> diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index 0f8d4497d793..c4479353e7f5 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -1056,8 +1056,12 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testTransparentImageReqIf) CPPUNIT_ASSERT_MESSAGE(aMessage.toUtf8().getStr(), aSource.endsWith(".png")); } -DECLARE_HTMLEXPORT_TEST(testOleNodataReqIf, "reqif-ole-nodata.odt") +CPPUNIT_TEST_FIXTURE(HtmlExportTest, testOleNodataReqIf) { + createSwDoc("reqif-ole-nodata.odt"); + setFilterOptions("xhtmlns=reqif-xhtml"); + save(mpFilter); + // This failed, io::IOException was thrown during the filter() call. SvMemoryStream aStream; WrapReqifFromTempFile(aStream);
