summaryrefslogtreecommitdiff
path: root/basebmp/test/polytest.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-12-11 14:29:59 +0100
committersb <sb@openoffice.org>2009-12-11 14:29:59 +0100
commit18be96dc73c64d16f63fc6d3382d7d7d3a8fee24 (patch)
tree994abb78470fddf977f267d7d1f5ad4c6b489c2e /basebmp/test/polytest.cxx
parentf8ada8f2a93659e27928f3b5244c813de2c3847b (diff)
sb118: Replace (heavily modified) CppUnit 1.8.0 with (unmodified) latest 1.12.1.
- Old modifications were necessary for testshl2, which has simply been excluded from the build for now. - Tests in basebmp, basegfx, o3tl (that are executed during build) have been converted from using modified CppUnit/testshl2 to using unmodified CppUnit. - CppUnit's DllPlugInTester has problems with OOo tests on Windows, see #i107562#, so for now a new cppunittester from sal is used instead.
Diffstat (limited to 'basebmp/test/polytest.cxx')
-rw-r--r--basebmp/test/polytest.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/basebmp/test/polytest.cxx b/basebmp/test/polytest.cxx
index e35c8c834bd9..c1e066eac562 100644
--- a/basebmp/test/polytest.cxx
+++ b/basebmp/test/polytest.cxx
@@ -30,7 +30,9 @@
// autogenerated file with codegen.pl
-#include <cppunit/simpleheader.hxx>
+#include "cppunit/TestAssert.h"
+#include "cppunit/TestFixture.h"
+#include "cppunit/extensions/HelperMacros.h"
#include <basegfx/vector/b2isize.hxx>
#include <basegfx/range/b2irange.hxx>
@@ -288,7 +290,7 @@ public:
};
// -----------------------------------------------------------------------------
-CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(PolyTest, "PolyTest");
+CPPUNIT_TEST_SUITE_REGISTRATION(PolyTest);
}