diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-14 15:36:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-14 15:36:53 +0000 |
commit | 387b32109267cc855f1c127e3d4f6d316fb8cfaf (patch) | |
tree | 9449b3f2b808b9b74f70a578b97a51516c7bd3c0 /cppu/qa/test_recursion.cxx | |
parent | f2abd69d6adfa4e1ad0369519d61a226d9d56857 (diff) |
cppunit: port these tests over to canonical cppunit
Diffstat (limited to 'cppu/qa/test_recursion.cxx')
-rw-r--r-- | cppu/qa/test_recursion.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cppu/qa/test_recursion.cxx b/cppu/qa/test_recursion.cxx index 977fdba1e062..463b8077ddba 100644 --- a/cppu/qa/test_recursion.cxx +++ b/cppu/qa/test_recursion.cxx @@ -29,7 +29,14 @@ #include "precompiled_cppu.hxx" #include "sal/config.h" -#include "testshl/simpleheader.hxx" +#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 "sal/types.h" #include "Rec.hpp" @@ -51,10 +58,10 @@ void Test::testRecursion() { CPPUNIT_ASSERT_EQUAL(static_cast< sal_Int32 >(0), Rec().x.getLength()); } -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(Test, "tests"); +CPPUNIT_TEST_SUITE_REGISTRATION(Test); } -NOADDITIONAL; +CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |