summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerfilter/qa/cppunittests/rtftok/testrtftok.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx b/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx
index 6396ffefbce4..a7f60d4bbfc0 100644
--- a/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx
+++ b/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx
@@ -30,12 +30,6 @@ public:
virtual bool load(const OUString&, const OUString& rURL, const OUString&, SfxFilterFlags,
SotClipboardFormatId, unsigned int) override;
- void test();
-
- CPPUNIT_TEST_SUITE(RtfTest);
- CPPUNIT_TEST(test);
- CPPUNIT_TEST_SUITE_END();
-
private:
uno::Reference<document::XFilter> m_xFilter;
};
@@ -72,15 +66,13 @@ bool RtfTest::load(const OUString&, const OUString& rURL, const OUString&, SfxFi
}
}
-void RtfTest::test()
+CPPUNIT_TEST_FIXTURE(RtfTest, testFilter)
{
#ifndef DISABLE_CVE_TESTS
testDir(OUString(), m_directories.getURLFromSrc("/writerfilter/qa/cppunittests/rtftok/data/"));
#endif
}
-CPPUNIT_TEST_SUITE_REGISTRATION(RtfTest);
-
CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */