From 328e2263fb6e2415bafbc40a7d7309b66f65971a Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 27 Jun 2012 16:05:04 +0100 Subject: targetted re-work of cppunit pieces. --- o3tl/qa/test-cow_wrapper.cxx | 6 +----- o3tl/qa/test-heap_ptr.cxx | 8 +------- o3tl/qa/test-range.cxx | 7 +------ o3tl/qa/test-vector_pool.cxx | 6 +----- 4 files changed, 4 insertions(+), 23 deletions(-) (limited to 'o3tl/qa') diff --git a/o3tl/qa/test-cow_wrapper.cxx b/o3tl/qa/test-cow_wrapper.cxx index d302052d98e9..ba261fa3c3f3 100644 --- a/o3tl/qa/test-cow_wrapper.cxx +++ b/o3tl/qa/test-cow_wrapper.cxx @@ -17,11 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -// autogenerated file with codegen.pl - -#include "sal/config.h" -#include "sal/precppunit.hxx" - +#include #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" diff --git a/o3tl/qa/test-heap_ptr.cxx b/o3tl/qa/test-heap_ptr.cxx index 5d6e681c800f..9f163c278e73 100644 --- a/o3tl/qa/test-heap_ptr.cxx +++ b/o3tl/qa/test-heap_ptr.cxx @@ -17,21 +17,15 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sal/config.h" -#include "sal/precppunit.hxx" - +#include #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" #include - - - using o3tl::heap_ptr; - class Help { public: diff --git a/o3tl/qa/test-range.cxx b/o3tl/qa/test-range.cxx index 335c7da35d9b..ff0e49c05fa9 100644 --- a/o3tl/qa/test-range.cxx +++ b/o3tl/qa/test-range.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "sal/config.h" -#include "sal/precppunit.hxx" - +#include #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" @@ -28,14 +26,11 @@ #include #include - - using o3tl::range; using o3tl::make_range; using o3tl::range_of; using std::size_t; - class range_test : public CppUnit::TestFixture { public: diff --git a/o3tl/qa/test-vector_pool.cxx b/o3tl/qa/test-vector_pool.cxx index 93edd1976a17..1b7ca1c97197 100644 --- a/o3tl/qa/test-vector_pool.cxx +++ b/o3tl/qa/test-vector_pool.cxx @@ -17,11 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -// autogenerated file with codegen.pl - -#include "sal/config.h" -#include "sal/precppunit.hxx" - +#include #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" -- cgit