summaryrefslogtreecommitdiff
path: root/cppu/qa/test_reference.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-14 15:36:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-14 15:36:53 +0000
commit387b32109267cc855f1c127e3d4f6d316fb8cfaf (patch)
tree9449b3f2b808b9b74f70a578b97a51516c7bd3c0 /cppu/qa/test_reference.cxx
parentf2abd69d6adfa4e1ad0369519d61a226d9d56857 (diff)
cppunit: port these tests over to canonical cppunit
Diffstat (limited to 'cppu/qa/test_reference.cxx')
-rw-r--r--cppu/qa/test_reference.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/cppu/qa/test_reference.cxx b/cppu/qa/test_reference.cxx
index 968978af92fe..7572673aad32 100644
--- a/cppu/qa/test_reference.cxx
+++ b/cppu/qa/test_reference.cxx
@@ -31,9 +31,16 @@
#include "sal/config.h"
+#include "preextstl.h"
+#include <cppunit/TestSuite.h>
+#include <cppunit/TestFixture.h>
+#include <cppunit/TestCase.h>
+#include <cppunit/plugin/TestPlugIn.h>
+#include <cppunit/extensions/HelperMacros.h>
+#include "postextstl.h"
+
#include "Interface1.hpp"
-#include "testshl/simpleheader.hxx"
#include "rtl/ustring.hxx"
#include "sal/types.h"
@@ -150,10 +157,10 @@ void Test::testUnoSetThrow()
CPPUNIT_ASSERT_EQUAL( false, bCaughtException );
}
-CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(Test, "alltests");
+CPPUNIT_TEST_SUITE_REGISTRATION(Test);
} // namespace
-NOADDITIONAL;
+CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */