sw/qa/extras/htmlexport/htmlexport.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit e68259e0bd757ef2a2be94207b9766125a1fb017 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Tue Jun 20 20:32:43 2023 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Jun 21 08:25:20 2023 +0200 CppunitTest_sw_htmlexport: avoid reqif magic in testNoLangReqIf Set the filter options explicitly, rather than inferring it from the test name. Change-Id: I49cf0e34354178054db2daa10902917cb5d45080 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153361 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index 496ba550729c..521f15504357 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -1076,8 +1076,12 @@ CPPUNIT_TEST_FIXTURE(HtmlExportTest, testOleNodataReqIf) CPPUNIT_ASSERT(!aSource.isEmpty()); } -DECLARE_HTMLEXPORT_TEST(testNoLangReqIf, "reqif-no-lang.odt") +CPPUNIT_TEST_FIXTURE(HtmlExportTest, testNoLangReqIf) { + createSwDoc("reqif-no-lang.odt"); + setFilterOptions("xhtmlns=reqif-xhtml"); + save(mpFilter); + SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pDoc = parseXmlStream(&aStream);