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

New commits:
commit 6cda5cd1b768f99e01e483f5e76092403aeb69a7
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Aug 15 20:07:22 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Aug 16 08:07:32 2023 +0200

    CppunitTest_sw_xhtmlexport: convert one test to use CPPUNIT_TEST_FIXTURE()
    
    The tests in this suite only assert at the end of an import + export, so
    no need go via Writer-specific macros. This also keeps all code of a
    test in a single place, no need to trigger the preTest() magic.
    
    Change-Id: Ibf8c2dee99e02483642887ab74cc4f997389da3e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155727
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/qa/extras/htmlexport/xhtmlexport.cxx 
b/sw/qa/extras/htmlexport/xhtmlexport.cxx
index 299b5ff6b5c8..ce736d184927 100644
--- a/sw/qa/extras/htmlexport/xhtmlexport.cxx
+++ b/sw/qa/extras/htmlexport/xhtmlexport.cxx
@@ -155,8 +155,11 @@ DECLARE_HTMLEXPORT_TEST(testTdf107696, "tdf107696.odt")
         != -1);
 }
 
-DECLARE_HTMLEXPORT_TEST(testTdf66305, "tdf66305.odt")
+CPPUNIT_TEST_FIXTURE(XHtmlExportTest, testTdf66305)
 {
+    createSwDoc("tdf66305.odt");
+    setFilterOptions("UTF8");
+    save(mpFilter);
     SvStream* pStream = maTempFile.GetStream(StreamMode::READ);
     CPPUNIT_ASSERT(pStream);
     sal_uInt64 nLength = pStream->TellEnd();

Reply via email to