diff options
-rw-r--r-- | sal/prj/build.lst | 1 | ||||
-rw-r--r-- | sal/qa/rtl/alloc/rtl_alloc.cxx | 13 |
2 files changed, 10 insertions, 4 deletions
diff --git a/sal/prj/build.lst b/sal/prj/build.lst index 40e5e5c78113..ddbc44673a49 100644 --- a/sal/prj/build.lst +++ b/sal/prj/build.lst @@ -25,3 +25,4 @@ sa sal\qa\osl\security nmake - all sa_qa_osl_security sa_cppunittester sa_util N sa sal\qa\osl\process nmake - all sa_qa_osl_process sa_cppunittester sa_util NULL sa sal\qa\rtl\strings nmake - all sa_qa_rt_strings sa_cppunittester sa_util NULL sa sal\qa\rtl\oustringbuffer nmake - all sa_qa_rt_oustringbuffer sa_cppunittester sa_util NULL +sa sal\qa\rtl\alloc nmake - all sa_qa_rt_alloc sa_cppunittester sa_util NULL diff --git a/sal/qa/rtl/alloc/rtl_alloc.cxx b/sal/qa/rtl/alloc/rtl_alloc.cxx index d0e71c65f129..24dc3b453687 100644 --- a/sal/qa/rtl/alloc/rtl_alloc.cxx +++ b/sal/qa/rtl/alloc/rtl_alloc.cxx @@ -32,7 +32,12 @@ // autogenerated file with codegen.pl #include <rtl/alloc.h> -#include <testshl/simpleheader.hxx> +#include <cppunit/TestFixture.h> +#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/plugin/TestPlugIn.h> + +#include <memory.h> +#define t_print printf namespace rtl_alloc { @@ -167,8 +172,8 @@ public: }; // class test // ----------------------------------------------------------------------------- -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(rtl_alloc::Memory, "rtl_alloc"); -CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(rtl_alloc::ZeroMemory, "rtl_alloc"); +CPPUNIT_TEST_SUITE_REGISTRATION(rtl_alloc::Memory); +CPPUNIT_TEST_SUITE_REGISTRATION(rtl_alloc::ZeroMemory); } // namespace rtl_alloc @@ -176,6 +181,6 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(rtl_alloc::ZeroMemory, "rtl_alloc"); // 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: */ |