sw/qa/extras/htmlexport/htmlexport.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 119190c5237f1e6eb3a8b3d87f1becf3bf39829f
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue May 16 20:14:02 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed May 17 08:23:21 2023 +0200

    CppunitTest_sw_htmlexport: avoid reqif magic in testReqIfTable2
    
    Set the filter options explicitly, rather than inferring it from the
    test name.
    
    Change-Id: Id55d735693be8d87cbc9b7048ef5533a5b7b41d1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151849
    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 793430fec73f..18929a3626f9 100644
--- a/sw/qa/extras/htmlexport/htmlexport.cxx
+++ b/sw/qa/extras/htmlexport/htmlexport.cxx
@@ -859,8 +859,12 @@ CPPUNIT_TEST_FIXTURE(HtmlExportTest, testReqIfTable)
         "bgcolor");
 }
 
-DECLARE_HTMLEXPORT_TEST(testReqIfTable2, "reqif-table2.odt")
+CPPUNIT_TEST_FIXTURE(HtmlExportTest, testReqIfTable2)
 {
+    createSwDoc("reqif-table2.odt");
+    setFilterOptions("xhtmlns=reqif-xhtml");
+    save(OUString::createFromAscii(mpFilter));
+
     SvStream* pStream = maTempFile.GetStream(StreamMode::READ);
     CPPUNIT_ASSERT(pStream);
     sal_uInt64 nLength = pStream->TellEnd();

Reply via email to