diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-07-12 12:55:53 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-07-12 14:44:07 +0200 |
commit | 1afe0df7f3a8d19a034257dcd68e182205dfc649 (patch) | |
tree | 7b4761dd35aaad5c8c562984338e251a9b18a2a1 /sw | |
parent | d706f5dc6872b94859444f1cacb31d89e0fb840f (diff) |
sw: getTestName() can go
after
commit 54d69f55d13ec39e1b2a2a6883b98cd23c6609a4
Author: Miklos Vajna <vmiklos@collabora.com>
Date: Tue Jul 11 20:11:25 2023 +0200
CppunitTest_sw_htmlexport: clean up not needed reqif part of preTest()
All reqif tests set the filter options explicitly already.
Change-Id: Ib7962578ddb2ce002910868c6d6f85ae4a1f6c79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154353
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/mailmerge/mailmerge.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/mailmerge/mailmerge2.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmllinks.cxx | 4 | ||||
-rw-r--r-- | sw/qa/inc/swmodeltestbase.hxx | 6 |
4 files changed, 0 insertions, 14 deletions
diff --git a/sw/qa/extras/mailmerge/mailmerge.cxx b/sw/qa/extras/mailmerge/mailmerge.cxx index b31662a31271..0089601974e6 100644 --- a/sw/qa/extras/mailmerge/mailmerge.cxx +++ b/sw/qa/extras/mailmerge/mailmerge.cxx @@ -305,8 +305,6 @@ protected: #define DECLARE_MAILMERGE_TEST(TestName, filename, datasource, tablename, filter, BaseClass, selection, column) \ class TestName : public BaseClass { \ - protected: \ - virtual OUString getTestName() override { return #TestName; } \ public: \ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(MailMerge); \ diff --git a/sw/qa/extras/mailmerge/mailmerge2.cxx b/sw/qa/extras/mailmerge/mailmerge2.cxx index c37946c25341..ddd7b4e35ebe 100644 --- a/sw/qa/extras/mailmerge/mailmerge2.cxx +++ b/sw/qa/extras/mailmerge/mailmerge2.cxx @@ -295,8 +295,6 @@ protected: #define DECLARE_MAILMERGE_TEST(TestName, filename, datasource, tablename, filter, BaseClass, selection, column) \ class TestName : public BaseClass { \ - protected: \ - virtual OUString getTestName() override { return #TestName; } \ public: \ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(MailMerge); \ diff --git a/sw/qa/extras/ooxmlexport/ooxmllinks.cxx b/sw/qa/extras/ooxmlexport/ooxmllinks.cxx index 000f4a607ae5..11b9cc03f4dd 100644 --- a/sw/qa/extras/ooxmlexport/ooxmllinks.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmllinks.cxx @@ -27,7 +27,6 @@ class TestName : public Test \ { \ protected: \ - virtual OUString getTestName() override { return #TestName; } \ virtual void postLoad(const char*) override \ { \ if (!bUseTempDir) \ @@ -73,9 +72,6 @@ #define DECLARE_LINKS_IMPORT_TEST(TestName, FileName, bAbsolute) \ class TestName : public Test \ { \ - protected: \ - virtual OUString getTestName() override { return #TestName; } \ - \ public: \ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(Import); \ diff --git a/sw/qa/inc/swmodeltestbase.hxx b/sw/qa/inc/swmodeltestbase.hxx index b6ce2f442f8d..e897a398cb86 100644 --- a/sw/qa/inc/swmodeltestbase.hxx +++ b/sw/qa/inc/swmodeltestbase.hxx @@ -42,8 +42,6 @@ */ #define DECLARE_SW_ROUNDTRIP_TEST(TestName, filename, password, BaseClass) \ class TestName : public BaseClass { \ - protected:\ - virtual OUString getTestName() override { return #TestName; } \ public:\ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(Load_Verify_Reload_Verify); \ @@ -65,8 +63,6 @@ #define DECLARE_SW_EXPORT_TEST(TestName, filename, password, BaseClass) \ class TestName : public BaseClass { \ - protected:\ - virtual OUString getTestName() override { return #TestName; } \ public:\ CPPUNIT_TEST_SUITE(TestName); \ CPPUNIT_TEST(Import_Export); \ @@ -101,8 +97,6 @@ protected: sal_uInt32 mnStartTime; - virtual OUString getTestName() { return OUString(); } - /// Copy&paste helper. void paste(std::u16string_view aFilename, OUString aInstance, css::uno::Reference<css::text::XTextRange> const& xTextRange); |