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 <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna
2019-11-05 22:55:40 +01:00
parent e4049dfb6a
commit a226cec52e

View File

@@ -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);