sw/qa/extras/rtfimport/rtfimport.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit a226cec52e536c46e03f57a5f1f7931abbeb0cdd Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Tue Nov 5 22:55:40 2019 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Nov 6 08:59:51 2019 +0100 CppunitTest_sw_rtfimport: convert one testcase to use CPPUNIT_TEST_FIXTURE() Let's see if this causes any problems before doing a mass-conversion. Benefits are: - ctags can jump to the testcase if Writer-specific macros are not used - the Writer-specific macros just overcomplicate things for people not familiar with Writer Change-Id: Icc057a789acc220f5625461944dc6b8f35aad334 Reviewed-on: https://gerrit.libreoffice.org/82109 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 82f3211c612f..ba19786d4fa2 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -60,8 +60,9 @@ protected: AllSettings m_aSavedSettings; }; -DECLARE_RTFIMPORT_TEST(testN695479, "n695479.rtf") +CPPUNIT_TEST_FIXTURE(Test, testN695479) { + load(mpTestDocumentPath, "n695479.rtf"); uno::Reference<text::XTextFramesSupplier> xTextFramesSupplier(mxComponent, uno::UNO_QUERY); uno::Reference<container::XIndexAccess> xIndexAccess(xTextFramesSupplier->getTextFrames(), uno::UNO_QUERY); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits