diff options
Diffstat (limited to 'cppu/qa/test_recursion.cxx')
-rw-r--r-- | cppu/qa/test_recursion.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cppu/qa/test_recursion.cxx b/cppu/qa/test_recursion.cxx index c0bab3e30b95..81ee1f0664fa 100644 --- a/cppu/qa/test_recursion.cxx +++ b/cppu/qa/test_recursion.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,7 +29,12 @@ #include "precompiled_cppu.hxx" #include "sal/config.h" -#include "testshl/simpleheader.hxx" +#include <cppunit/TestSuite.h> +#include <cppunit/TestFixture.h> +#include <cppunit/TestCase.h> +#include <cppunit/plugin/TestPlugIn.h> +#include <cppunit/extensions/HelperMacros.h> + #include "sal/types.h" #include "Rec.hpp" @@ -50,8 +56,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: */ |