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_unotype.cxx | |
parent | f2abd69d6adfa4e1ad0369519d61a226d9d56857 (diff) |
cppunit: port these tests over to canonical cppunit
Diffstat (limited to 'cppu/qa/test_unotype.cxx')
-rw-r--r-- | cppu/qa/test_unotype.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx index c7cca12ff955..f324616bbe39 100644 --- a/cppu/qa/test_unotype.cxx +++ b/cppu/qa/test_unotype.cxx @@ -31,6 +31,14 @@ #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 <typeinfo> #include "com/sun/star/beans/Optional.hpp" @@ -45,7 +53,6 @@ #include "com/sun/star/uno/XComponentContext.hpp" #include "com/sun/star/uno/XInterface.hpp" #include "cppu/unotype.hxx" -#include "testshl/simpleheader.hxx" #include "rtl/ustring.h" #include "rtl/ustring.hxx" #include "sal/types.h" @@ -806,10 +813,10 @@ void Test::testGetTypeFavourChar() { #endif } -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(Test, "alltests"); +CPPUNIT_TEST_SUITE_REGISTRATION(Test); } -NOADDITIONAL; +CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |