sw/qa/extras/fodfexport/fodfexport.cxx |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

New commits:
commit c229f0484d906c1a46bbde4e6039d9de05481a80
Author:     Miklos Vajna <[email protected]>
AuthorDate: Tue Aug 16 20:05:27 2022 +0200
Commit:     Miklos Vajna <[email protected]>
CommitDate: Wed Aug 17 08:06:19 2022 +0200

    CppunitTest_sw_fodfexport: remove not needed mustTestImportOf()
    
    All the test documents in this suite are odt/fodt and it they don't be,
    they should use CPPUNIT_TEST_FIXTURE() instead.
    
    See commit a226cec52e536c46e03f57a5f1f7931abbeb0cdd
    (CppunitTest_sw_rtfimport: convert one testcase to use
    CPPUNIT_TEST_FIXTURE(), 2019-11-05) for motivation.
    
    Change-Id: I0402e57d774d365a823c4b159ae6eaf76f5aaca1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138379
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/sw/qa/extras/fodfexport/fodfexport.cxx 
b/sw/qa/extras/fodfexport/fodfexport.cxx
index 53297da28c53..c666d7a31054 100644
--- a/sw/qa/extras/fodfexport/fodfexport.cxx
+++ b/sw/qa/extras/fodfexport/fodfexport.cxx
@@ -17,15 +17,6 @@ public:
         : SwModelTestBase("/sw/qa/extras/fodfexport/data/", "OpenDocument Text 
Flat XML")
     {
     }
-
-    /**
-     * Denylist handling
-     */
-    bool mustTestImportOf(const char* filename) const override
-    {
-        // Only test import of .fodt document
-        return o3tl::ends_with(filename, ".odt") || o3tl::ends_with(filename, 
".fodt");
-    }
 };
 
 DECLARE_FODFEXPORT_TEST(testTdf113696, "tdf113696.odt")
@@ -59,4 +50,5 @@ DECLARE_FODFEXPORT_TEST(testTdf113696WriterImage, 
"tdf113696-writerimage.odt")
 }
 
 CPPUNIT_PLUGIN_IMPLEMENT();
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to