summaryrefslogtreecommitdiff
path: root/tools/test/tests.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/tests.cxx')
-rw-r--r--tools/test/tests.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/tools/test/tests.cxx b/tools/test/tests.cxx
index 66d2ac50b352..a814fb2fea83 100644
--- a/tools/test/tests.cxx
+++ b/tools/test/tests.cxx
@@ -31,12 +31,13 @@
#include "precompiled_tools.hxx"
// autogenerated file with codegen.pl
-#include <testshl/simpleheader.hxx>
+#include <cppunit/TestFixture.h>
+#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/plugin/TestPlugIn.h>
+
#include <rtl/math.hxx>
#include <tools/fract.hxx>
-#include <stdio.h>
-
namespace tools
{
@@ -115,14 +116,9 @@ public:
};
// -----------------------------------------------------------------------------
-CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(tools::FractionTest, "FractionTest");
+CPPUNIT_TEST_SUITE_REGISTRATION(FractionTest);
} // namespace tools
-
-// -----------------------------------------------------------------------------
-
-// this macro creates an empty function, which will called by the RegisterAllFunctions()
-// to let the user the possibility to also register some functions by hand.
-NOADDITIONAL;
+CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */