summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-08-16 20:05:27 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-08-17 08:06:19 +0200
commitc229f0484d906c1a46bbde4e6039d9de05481a80 (patch)
tree108f39078a55216954042f076bc3e0791c92ea96
parent133b9db4d68ba48eeb3682f4decba5689f6c0c1b (diff)
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 <vmiklos@collabora.com>
-rw-r--r--sw/qa/extras/fodfexport/fodfexport.cxx10
1 files changed, 1 insertions, 9 deletions
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: */