summaryrefslogtreecommitdiff
path: root/include/svx/unomod.hxx
blob: 1ca002ac889efcc8704e9f51e9beea08393aed8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef INCLUDED_SVX_UNOMOD_HXX
#define INCLUDED_SVX_UNOMOD_HXX

#include <com/sun/star/document/EventObject.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
#include <svx/svxdllapi.h>

class SdrHint;
class SdrModel;
class SdrModel;

SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace > SvxCreateNumRule( SdrModel* pModel ) throw();

class SVX_DLLPUBLIC SvxUnoDrawMSFactory : public ::com::sun::star::lang::XMultiServiceFactory
{
public:
    SvxUnoDrawMSFactory() throw() {};

    virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance( const OUString& aServiceSpecifier ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments( const OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
    virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;

    static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createTextField( const OUString& aServiceSpecifier ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
    // internal
    static ::com::sun::star::uno::Sequence< OUString >
        concatServiceNames( ::com::sun::star::uno::Sequence< OUString >& rServices1,
                            ::com::sun::star::uno::Sequence< OUString >& rServices2 ) throw();

    /** fills the given EventObject from the given SdrHint.
        @returns
            true    if the SdrHint could be translated to an EventObject<br>
            false   if not
    */
    static bool createEvent( const SdrModel* pDoc, const SdrHint* pSdrHint, ::com::sun::star::document::EventObject& aEvent );

protected:
    ~SvxUnoDrawMSFactory() {}
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
lass='right'>64
-rw-r--r--cppunit/inc/cppunit/TestAssert.h246
-rw-r--r--cppunit/inc/cppunit/TestCaller.h204
-rw-r--r--cppunit/inc/cppunit/TestCase.h59
-rw-r--r--cppunit/inc/cppunit/TestFailure.h71
-rw-r--r--cppunit/inc/cppunit/TestFixture.h93
-rw-r--r--cppunit/inc/cppunit/TestSuite.h81
-rw-r--r--cppunit/inc/cppunit/additionalfunc.hxx61
-rw-r--r--cppunit/inc/cppunit/autoregister/callbackfunc_fktptr.h63
-rw-r--r--cppunit/inc/cppunit/autoregister/callbackstructure.h89
-rw-r--r--cppunit/inc/cppunit/autoregister/htestresult.h6
-rw-r--r--cppunit/inc/cppunit/autoregister/registerfunc.h50
-rw-r--r--cppunit/inc/cppunit/autoregister/registertestfunction.h54
-rw-r--r--cppunit/inc/cppunit/autoregister/testfunc.h47
-rw-r--r--cppunit/inc/cppunit/checkboom.hxx40
-rw-r--r--cppunit/inc/cppunit/cmdlinebits.hxx52
-rw-r--r--cppunit/inc/cppunit/extensions/AutoRegisterSuite.h53
-rw-r--r--cppunit/inc/cppunit/extensions/HelperMacros.h333
-rw-r--r--cppunit/inc/cppunit/extensions/TestFactory.h25
-rw-r--r--cppunit/inc/cppunit/extensions/TestFactoryRegistry.h158
-rw-r--r--cppunit/inc/cppunit/extensions/TestSuiteBuilder.h106
-rw-r--r--cppunit/inc/cppunit/extensions/TestSuiteFactory.h25
-rw-r--r--cppunit/inc/cppunit/extensions/TypeInfoHelper.h31
-rw-r--r--cppunit/inc/cppunit/externcallbackfunc.hxx58
-rw-r--r--cppunit/inc/cppunit/joblist.hxx99
-rw-r--r--cppunit/inc/cppunit/nocopy.hxx13
-rw-r--r--cppunit/inc/cppunit/portability/config-auto.h64
-rw-r--r--cppunit/inc/cppunit/portability/config-bcb5.h48
-rw-r--r--cppunit/inc/cppunit/portability/config-msvc6.h62
-rw-r--r--cppunit/inc/cppunit/result/SynchronizedObject.h82
-rw-r--r--cppunit/inc/cppunit/result/TestListener.h62
-rw-r--r--cppunit/inc/cppunit/result/TestResult.h123
-rw-r--r--cppunit/inc/cppunit/result/TestResultCollector.h165
-rw-r--r--cppunit/inc/cppunit/result/TestSucessListener.h40
-rw-r--r--cppunit/inc/cppunit/result/TextTestResult.h62
-rw-r--r--cppunit/inc/cppunit/result/callbackfunc.h25
-rw-r--r--cppunit/inc/cppunit/result/emacsTestResult.hxx82
-rw-r--r--cppunit/inc/cppunit/result/log.hxx106
-rw-r--r--cppunit/inc/cppunit/result/optionhelper.hxx98
-rw-r--r--cppunit/inc/cppunit/result/outputter.hxx85
-rw-r--r--cppunit/inc/cppunit/result/testshlTestResult.h72
-rw-r--r--cppunit/inc/cppunit/signaltest.h65
-rw-r--r--cppunit/inc/cppunit/simpleheader.hxx45
-rw-r--r--cppunit/inc/cppunit/stringhelper.hxx42
-rw-r--r--cppunit/inc/cppunit/taghelper.hxx91
-rw-r--r--cppunit/inc/cppunit/tagvalues.hxx81
-rw-r--r--cppunit/inc/makefile.mk52
-rw-r--r--cppunit/inc/pch/precompiled_cppunit.cxx33
-rw-r--r--cppunit/inc/pch/precompiled_cppunit.hxx36
-rw-r--r--cppunit/inc/testshl/autoregisterhelper.hxx65
-rw-r--r--cppunit/inc/testshl/dynamicregister.hxx67
-rw-r--r--cppunit/inc/testshl/filehelper.hxx50
-rw-r--r--cppunit/inc/testshl/getopt.hxx335
-rw-r--r--cppunit/inc/testshl/log.hxx116
-rw-r--r--cppunit/inc/testshl/tresstatewrapper.h66
-rw-r--r--cppunit/inc/testshl/tresstatewrapper.hxx60
-rw-r--r--cppunit/inc/testshl/versionhelper.hxx87
-rw-r--r--cppunit/inc/testshl/winstuff.hxx44
-rw-r--r--cppunit/makefile.mk131
-rw-r--r--cppunit/prj/build.lst5
-rw-r--r--cppunit/prj/d.lst70
-rw-r--r--cppunit/source/cppunit/Asserter.cpp81
-rw-r--r--cppunit/source/cppunit/Exception.cpp134
-rw-r--r--cppunit/source/cppunit/NotEqualException.cpp111
-rw-r--r--cppunit/source/cppunit/SourceLine.cpp62
-rw-r--r--cppunit/source/cppunit/TestAssert.cpp74
-rw-r--r--cppunit/source/cppunit/TestCase.cpp211
-rw-r--r--cppunit/source/cppunit/TestFactoryRegistry.cpp290
-rw-r--r--cppunit/source/cppunit/TestFailure.cpp86
-rw-r--r--cppunit/source/cppunit/TestSuite.cpp113
-rw-r--r--cppunit/source/cppunit/cmdlinebits.cxx144
-rw-r--r--cppunit/source/cppunit/joblist.cxx224
-rw-r--r--cppunit/source/cppunit/makefile.mk113
-rw-r--r--cppunit/source/cppunit/registertestfunction.cxx60
-rw-r--r--cppunit/source/cppunit/signaltest.cxx92
-rw-r--r--cppunit/source/cppunit/t_print.cxx98
-rw-r--r--cppunit/source/cppunit/tresregister.cxx69
-rw-r--r--cppunit/source/cppunit/tresstatewrapper.cxx168
-rw-r--r--cppunit/source/result/SynchronizedObject.cpp35
-rw-r--r--cppunit/source/result/TestResult.cpp260
-rw-r--r--cppunit/source/result/TestResultCollector.cpp147
-rw-r--r--cppunit/source/result/TestSucessListener.cpp46
-rw-r--r--cppunit/source/result/TextTestResult.cpp191
-rw-r--r--cppunit/source/result/emacsTestResult.cxx193
-rw-r--r--cppunit/source/result/log.cxx125
-rw-r--r--cppunit/source/result/makefile.mk85
-rw-r--r--cppunit/source/result/optionhelper.cxx317
-rw-r--r--cppunit/source/result/outputter.cxx106
-rw-r--r--cppunit/source/result/signal.cxx998
-rw-r--r--cppunit/source/result/signal.hxx42
-rw-r--r--cppunit/source/result/testshlTestResult.cxx428
-rw-r--r--cppunit/source/result/treswrapper.cxx261
-rw-r--r--cppunit/source/win32/makefile.mk65
-rw-r--r--cppunit/source/win32/winstuff.cxx130
100 files changed, 10022 insertions, 10697 deletions
diff --git a/cppunit/cppunit-1.8.0-r1.patch b/cppunit/cppunit-1.8.0-r1.patch
new file mode 100644
index 000000000000..426051d6288d
--- /dev/null
+++ b/cppunit/cppunit-1.8.0-r1.patch
@@ -0,0 +1,9830 @@
+--- misc/cppunit-1.8.0/AUTHORS 2002-03-26 09:29:58.000000000 +0100
++++ misc/build/cppunit-1.8.0/AUTHORS 2008-12-09 08:01:30.000000000 +0100
+@@ -5,3 +5,4 @@
+ Baptiste Lepilleur <gaiacrtn@free.fr> <blep@sourceforge.net>
+ Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
+ Steve Robbins <smr99@sourceforge.net>
++Lars Langhans <lla@openoffice.org>
+--- misc/cppunit-1.8.0/ChangeLog 2002-04-11 11:53:02.000000000 +0200
++++ misc/build/cppunit-1.8.0/ChangeLog 2008-12-09 08:08:42.000000000 +0100
+@@ -1,3 +1,9 @@
++2008-12-09 Lars Langhans <lla@openoffice.org>
++ * create with some source files a new library
++ * lot of source changes to build it within OOo environment.
++ * lot of additional code to build within OOo environment.
++ * Configure is no longer supported.
++
+ 2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr>
+
+ * doc/FAQ: removed question about the Exception::operator =() problem.
+--- misc/cppunit-1.8.0/INSTALL 2001-07-06 19:48:28.000000000 +0200
++++ misc/build/cppunit-1.8.0/INSTALL 2008-12-09 09:39:09.000000000 +0100
+@@ -1,6 +1,12 @@
+ Basic Installation
+ ==================
+
++<IMPORTANT>
++This is a patched Version of CppUnit and works only in a OpenOffice.org
++environment.
++All other information here are expired.
++</IMPORTANT>
++
+ These are generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+--- misc/cppunit-1.8.0/include/cppunit/Asserter.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/Asserter.h 2008-02-27 17:09:30.000000000 +0100
+@@ -4,6 +4,7 @@
+ #include <cppunit/Portability.h>
+ #include <cppunit/SourceLine.h>
+ #include <string>
++#include <rtl/ustring.hxx>
+
+ namespace CppUnit
+ {
+@@ -44,8 +45,8 @@
+
+ /*! Throws a Exception with the specified message and location.
+ */
+- void CPPUNIT_API fail( std::string message,
+- SourceLine sourceLine = SourceLine() );
++ void CPPUNIT_API fail( std::string const& message,
++ SourceLine const& sourceLine = SourceLine() );
+
+ /*! Throws a Exception with the specified message and location.
+ * \param shouldFail if \c true then the exception is thrown. Otherwise
+@@ -54,8 +55,14 @@
+ * \param sourceLine Location of the assertion.
+ */
+ void CPPUNIT_API failIf( bool shouldFail,
+- std::string message,
+- SourceLine sourceLine = SourceLine() );
++ std::string const& message,
++ SourceLine const& sourceLine = SourceLine() );
++
++
++ // LLA: test, if it's possible to use a DEFINE twice ;-)
++ void CPPUNIT_API failIf( bool shouldFail,
++ rtl::OUString const& message,
++ SourceLine const& sourceLine = SourceLine() );
+
+ /*! Throws a NotEqualException with the specified message and location.
+ * \param expected Text describing the expected value.
+@@ -64,10 +71,10 @@
+ * where the "difference" is located.
+ * \param sourceLine Location of the assertion.
+ */
+- void CPPUNIT_API failNotEqual( std::string expected,
+- std::string actual,
+- SourceLine sourceLine = SourceLine(),
+- std::string additionalMessage ="" );
++ void CPPUNIT_API failNotEqual( std::string const& expected,
++ std::string const& actual,
++ SourceLine const& sourceLine = SourceLine(),
++ std::string const& additionalMessage ="" );
+
+ /*! Throws a NotEqualException with the specified message and location.
+ * \param shouldFail if \c true then the exception is thrown. Otherwise
+@@ -79,10 +86,18 @@
+ * \param sourceLine Location of the assertion.
+ */
+ void CPPUNIT_API failNotEqualIf( bool shouldFail,
+- std::string expected,
+- std::string actual,
+- SourceLine sourceLine = SourceLine(),
+- std::string additionalMessage ="" );
++ std::string const& expected,
++ std::string const& actual,
++ SourceLine const& sourceLine = SourceLine(),
++ std::string const& additionalMessage ="" );
++
++
++ /*! Throws an Exception with the specified message and location.
++ * \param message Message explaining the assertion failure.
++ * \param sourceLine Location of the assertion.
++ */
++ void CPPUNIT_API failStub( std::string const& message,
++ SourceLine const& sourceLine = SourceLine() );
+
+ } // namespace Asserter
+ } // namespace CppUnit
+--- misc/cppunit-1.8.0/include/cppunit/Exception.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/Exception.h 2008-02-27 17:10:36.000000000 +0100
+@@ -21,7 +21,7 @@
+ class Type
+ {
+ public:
+- Type( std::string type ) : m_type ( type ) {}
++ Type( std::string const& _type ) : m_type ( _type ) {}
+
+ bool operator ==( const Type &other ) const
+ {
+@@ -32,13 +32,13 @@
+ };
+
+
+- Exception( std::string message = "",
+- SourceLine sourceLine = SourceLine() );
++ Exception( std::string const& message = "",
++ SourceLine const& sourceLine = SourceLine() );
+
+ #ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
+- Exception( std::string message,
++ Exception( std::string const& message,
+ long lineNumber,
+- std::string fileName );
++ std::string const& fileName );
+ #endif
+
+ Exception (const Exception& other);
+@@ -74,6 +74,41 @@
+ SourceLine m_sourceLine;
+ };
+
++// -----------------------------------------------------------------------------
++
++class StubException : public Exception
++{
++public:
++ StubException( std::string const& _message = "",
++ SourceLine const& _sourceLine = SourceLine() )
++ :Exception(_message, _sourceLine) {}
++
++
++#ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
++ StubException( std::string const& message,
++ long lineNumber,
++ std::string const& fileName )
++ :Exception(message, lineNumber, fileName) {}
++#endif
++};
++
++// -----------------------------------------------------------------------------
++
++class SignalException : public Exception
++{
++public:
++ SignalException( std::string const& _message = "",
++ SourceLine const& _sourceLine = SourceLine() )
++ :Exception(_message, _sourceLine) {}
++
++
++#ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
++ SignalException( std::string const& message,
++ long lineNumber,
++ std::string const& fileName )
++ :Exception(message, lineNumber, fileName) {}
++#endif
++};
+
+ } // namespace CppUnit
+
+--- misc/cppunit-1.8.0/include/cppunit/NotEqualException.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/NotEqualException.h 2008-02-27 17:11:12.000000000 +0100
+@@ -19,16 +19,16 @@
+ * \param additionalMessage Additionnal information provided to further qualify
+ * the inequality.
+ */
+- NotEqualException( std::string expected,
+- std::string actual,
+- SourceLine sourceLine = SourceLine(),
+- std::string additionalMessage = "" );
++ NotEqualException( std::string const& expected,
++ std::string const& actual,
++ SourceLine const& sourceLine = SourceLine(),
++ std::string const& additionalMessage = "" );
+
+ #ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
+- NotEqualException( std::string expected,
+- std::string actual,
++ NotEqualException( std::string const& expected,
++ std::string const& actual,
+ long lineNumber,
+- std::string fileName );
++ std::string const& fileName );
+ #endif
+
+ NotEqualException( const NotEqualException &other );
+--- misc/cppunit-1.8.0/include/cppunit/Portability.h 2002-03-25 19:41:39.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/Portability.h 2008-02-27 17:12:24.000000000 +0100
+@@ -3,11 +3,11 @@
+
+ /* include platform specific config */
+ #if defined(__BORLANDC__)
+-# include <cppunit/config-bcb5.h>
++# include <cppunit/portability/config-bcb5.h>
+ #elif defined (_MSC_VER)
+-# include <cppunit/config-msvc6.h>
++# include <cppunit/portability/config-msvc6.h>
+ #else
+-# include <cppunit/config-auto.h>
++# include <cppunit/portability/config-auto.h>
+ #endif
+
+
+--- misc/cppunit-1.8.0/include/cppunit/Test.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/Test.h 2008-02-27 17:09:20.000000000 +0100
+@@ -3,14 +3,15 @@
+
+ #include <cppunit/Portability.h>
+ #include <string>
++#include <cppunit/autoregister/htestresult.h>
+
+ namespace CppUnit {
+
+-class TestResult;
++//# class TestResult;
+
+ /*! \brief Base class for all test objects.
+ * \ingroup BrowsingCollectedTestResult
+- *
++ *l-
+ * All test objects should be a subclass of Test. Some test objects,
+ * TestCase for example, represent one individual test. Other test
+ * objects, such as TestSuite, are comprised of several tests.
+@@ -27,7 +28,7 @@
+
+ /*! \brief Run the test, collecting results.
+ */
+- virtual void run (TestResult *result) = 0;
++ virtual void run (hTestResult pResult) = 0;
+
+ /*! \brief Return the number of test cases invoked by run().
+ *
+--- misc/cppunit-1.8.0/include/cppunit/TestAssert.h 2002-04-04 17:39:37.000000000 +0200
++++ misc/build/cppunit-1.8.0/include/cppunit/TestAssert.h 2008-02-27 17:12:12.000000000 +0100
+@@ -5,9 +5,12 @@
+ #include <cppunit/Exception.h>
+ #include <cppunit/Asserter.h>
+
++#include <cppunit/checkboom.hxx>
+
+ namespace CppUnit {
+
++
++
+ /*! \brief Traits used by CPPUNIT_ASSERT_EQUAL().
+ *
+ * Here is an example of specialization of that traits:
+@@ -31,83 +34,83 @@
+ * };
+ * \endcode
+ */
+- template <class T>
+- struct assertion_traits
+- {
+- static bool equal( const T& x, const T& y )
+- {
+- return x == y;
+- }
+-
+- static std::string toString( const T& x )
+- {
+- OStringStream ost;
+- ost << x;
+- return ost.str();
+- }
+- };
+
+
+- namespace TestAssert
+- {
++template <class T>
++struct assertion_traits
++{
++ static bool equal( const T& x, const T& y )
++ {
++ return x == y;
++ }
++
++ static std::string toString( const T& x )
++ {
++ OStringStream ost;
++ ost << x;
++ return ost.str();
++ }
++};
++
++namespace TestAssert
++{
+ #ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
+- void CPPUNIT_API assertImplementation( bool condition,
+- std::string conditionExpression = "",
+- long lineNumber,
+- std::string fileName );
+-
+- void CPPUNIT_API assertNotEqualImplementation( std::string expected,
+- std::string actual,
+- long lineNumber,
+- std::string fileName );
+-
+-
+- template <class T>
+- void assertEquals( const T& expected,
+- const T& actual,
+- long lineNumber,
+- std::string fileName )
+- {
+- if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion...
+- {
+- assertNotEqualImplementation( assertion_traits<T>::toString(expected),
+- assertion_traits<T>::toString(actual),
+- lineNumber,
+- fileName );
+- }
+- }
+-
+- void CPPUNIT_API assertEquals( double expected,
+- double actual,
+- double delta,
+- long lineNumber,
+- std::string fileName );
++ void CPPUNIT_API assertImplementation( bool condition,
++ std::string conditionExpression = "",
++ long lineNumber,
++ std::string fileName );
++
++ void CPPUNIT_API assertNotEqualImplementation( std::string expected,
++ std::string actual,
++ long lineNumber,
++ std::string fileName );
++
++
++ template <class T>
++ void assertEquals( const T& expected,
++ const T& actual,
++ long lineNumber,
++ std::string fileName )
++ {
++ if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion...
++ {
++ assertNotEqualImplementation( assertion_traits<T>::toString(expected),
++ assertion_traits<T>::toString(actual),
++ lineNumber,
++ fileName );
++ }
++ }
++
++ void CPPUNIT_API assertEquals( double expected,
++ double actual,
++ double delta,
++ long lineNumber,
++ std::string fileName );
+
+ #else // using SourceLine
+
+- template <class T>
+- void assertEquals( const T& expected,
+- const T& actual,
+- SourceLine sourceLine,
+- const std::string &message ="" )
+- {
+- if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion...
+- {
+- Asserter::failNotEqual( assertion_traits<T>::toString(expected),
+- assertion_traits<T>::toString(actual),
+- sourceLine,
+- message );
+- }
+- }
+-
+- void CPPUNIT_API assertDoubleEquals( double expected,
+- double actual,
+- double delta,
+- SourceLine sourceLine );
++ template <class T>
++ void assertEquals( const T& expected,
++ const T& actual,
++ SourceLine sourceLine,
++ const std::string &message ="" )
++ {
++ if ( !assertion_traits<T>::equal(expected,actual) ) // lazy toString conversion...
++ {
++ Asserter::failNotEqual( assertion_traits<T>::toString(expected),
++ assertion_traits<T>::toString(actual),
++ sourceLine,
++ message );
++ }
++ }
++
++ void CPPUNIT_API assertDoubleEquals( double expected,
++ double actual,
++ double delta,
++ SourceLine sourceLine );
+
+ #endif
+- }
+-
++}
+
+ /* A set of macros which allow us to get the line number
+ * and file name at the point of an error.
+@@ -118,15 +121,22 @@
+ /** Assertions that a condition is \c true.
+ * \ingroup Assertions
+ */
+-#define CPPUNIT_ASSERT(condition) \
+- ( ::CppUnit::Asserter::failIf( !(condition), \
+- (#condition), \
+- CPPUNIT_SOURCELINE() ) )
++ // LLA: due to the fact, that side effects are not wished, we create a local scope,
++ // assign the condition to a local variable and check this variable again and again.
++
++#define CPPUNIT_ASSERT(condition) \
++ { bool __bLocalCondition = condition; \
++ CheckBoom((__bLocalCondition), (#condition)); \
++ (::CppUnit::Asserter::failIf( !(__bLocalCondition), \
++ (#condition), \
++ CPPUNIT_SOURCELINE() ) ); }
+ #else
+-#define CPPUNIT_ASSERT(condition) \
+- ( ::CppUnit::Asserter::failIf( !(condition), \
+- "", \
+- CPPUNIT_SOURCELINE() ) )
++#define CPPUNIT_ASSERT(condition) \
++ { bool __bLocalCondition = condition; \
++ CheckBoom((__bLocalCondition), ""); \
++ (::CppUnit::Asserter::failIf( !(__bLocalCondition), \
++ "", \
++ CPPUNIT_SOURCELINE() ) ); }
+ #endif
+
+ /** Assertion with a user specified message.
+@@ -136,25 +146,33 @@
+ * \param condition If this condition evaluates to \c false then the
+ * test failed.
+ */
+-#define CPPUNIT_ASSERT_MESSAGE(message,condition) \
+- ( ::CppUnit::Asserter::failIf( !(condition), \
+- (message), \
+- CPPUNIT_SOURCELINE() ) )
++#define CPPUNIT_ASSERT_MESSAGE(message,condition) \
++ { bool __bLocalCondition = (condition); \
++ CheckBoom((__bLocalCondition), (message)); \
++ (::CppUnit::Asserter::failIf( !(__bLocalCondition), \
++ (message), \
++ CPPUNIT_SOURCELINE() ) ); }
++
++#define CPPUNIT_ASSERT_STUB() \
++ CheckBoom((1 == 0), ("This is only a stub.")); \
++ (::CppUnit::Asserter::failStub("This is only a stub.", \
++ CPPUNIT_SOURCELINE() ) )
++
+
+ /** Fails with the specified message.
+ * \ingroup Assertions
+ * \param message Message reported in diagnostic.
+ */
+ #define CPPUNIT_FAIL( message ) \
+- ( ::CppUnit::Asserter::fail( message, \
+- CPPUNIT_SOURCELINE() ) )
++ ( ::CppUnit::Asserter::fail( message, \
++ CPPUNIT_SOURCELINE() ) )
+
+ #ifdef CPPUNIT_ENABLE_SOURCELINE_DEPRECATED
+ /// Generalized macro for primitive value comparisons
+ #define CPPUNIT_ASSERT_EQUAL(expected,actual) \
+- ( ::CppUnit::TestAssert::assertEquals( (expected), \
+- (actual), \
+- __LINE__, __FILE__ ) )
++ ( ::CppUnit::TestAssert::assertEquals( (expected), \
++ (actual), \
++ __LINE__, __FILE__ ) )
+ #else
+ /** Asserts that two values are equals.
+ * \ingroup Assertions
+@@ -173,9 +191,9 @@
+ * removed by specializing the CppUnit::assertion_traits.
+ */
+ #define CPPUNIT_ASSERT_EQUAL(expected,actual) \
+- ( ::CppUnit::TestAssert::assertEquals( (expected), \
+- (actual), \
+- CPPUNIT_SOURCELINE() ) )
++ ( ::CppUnit::TestAssert::assertEquals( (expected), \
++ (actual), \
++ CPPUNIT_SOURCELINE() ) )
+
+ /** Asserts that two values are equals, provides additional messafe on failure.
+ * \ingroup Assertions
+@@ -196,20 +214,20 @@
+ * removed by specializing the CppUnit::assertion_traits.
+ */
+ #define CPPUNIT_ASSERT_EQUAL_MESSAGE(message,expected,actual) \
+- ( ::CppUnit::TestAssert::assertEquals( (expected), \
+- (actual), \
+- CPPUNIT_SOURCELINE(), \
+- (message) ) )
++ ( ::CppUnit::TestAssert::assertEquals( (expected), \
++ (actual), \
++ CPPUNIT_SOURCELINE(), \
++ (message) ) )
+ #endif
+
+ /*! \brief Macro for primitive value comparisons
+ * \ingroup Assertions
+ */
+ #define CPPUNIT_ASSERT_DOUBLES_EQUAL(expected,actual,delta) \
+- ( ::CppUnit::TestAssert::assertDoubleEquals( (expected), \
+- (actual), \
+- (delta), \
+- CPPUNIT_SOURCELINE() ) )
++ ( ::CppUnit::TestAssert::assertDoubleEquals( (expected), \
++ (actual), \
++ (delta), \
++ CPPUNIT_SOURCELINE() ) )
+
+ // Backwards compatibility
+
+@@ -223,7 +241,6 @@
+
+ #endif
+
+-
+ } // namespace CppUnit
+
+ #endif // CPPUNIT_TESTASSERT_H
+--- misc/cppunit-1.8.0/include/cppunit/TestCaller.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/TestCaller.h 2008-02-27 17:09:40.000000000 +0100
+@@ -111,7 +111,7 @@
+ * \param name name of this TestCaller
+ * \param test the method this TestCaller calls in runTest()
+ */
+- TestCaller( std::string name, TestMethod test ) :
++ TestCaller( std::string const& name, TestMethod test ) :
+ TestCase( name ),
+ m_ownFixture( true ),
+ m_fixture( new Fixture() ),
+@@ -128,7 +128,7 @@
+ * \param test the method this TestCaller calls in runTest()
+ * \param fixture the Fixture to invoke the test method on.
+ */
+- TestCaller(std::string name, TestMethod test, Fixture& fixture) :
++ TestCaller(std::string const& name, TestMethod test, Fixture& fixture) :
+ TestCase( name ),
+ m_ownFixture( false ),
+ m_fixture( &fixture ),
+@@ -145,7 +145,7 @@
+ * \param test the method this TestCaller calls in runTest()
+ * \param fixture the Fixture to invoke the test method on.
+ */
+- TestCaller(std::string name, TestMethod test, Fixture* fixture) :
++ TestCaller(std::string const& name, TestMethod test, Fixture* fixture) :
+ TestCase( name ),
+ m_ownFixture( true ),
+ m_fixture( fixture ),
+--- misc/cppunit-1.8.0/include/cppunit/TestCase.h 2002-03-27 18:56:45.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/TestCase.h 2008-02-27 17:11:00.000000000 +0100
+@@ -3,15 +3,13 @@
+
+ #include <cppunit/Portability.h>
+ #include <cppunit/Test.h>
+-#include <cppunit/TestAssert.h>
+ #include <cppunit/TestFixture.h>
+ #include <string>
+-
++#include <cppunit/autoregister/htestresult.h>
+
+ namespace CppUnit {
+
+-class TestResult;
+-
++//# class TestResult;
+
+ /*! \brief A single test object.
+ *
+@@ -28,25 +26,25 @@
+ {
+ public:
+
+- TestCase( std::string Name );
++ TestCase( std::string const& Name );
+ //! \internal
+ TestCase();
+ ~TestCase();
+
+- virtual void run(TestResult *result);
++ virtual void run(hTestResult pResult);
+ virtual int countTestCases() const;
+ std::string getName() const;
+ std::string toString() const;
+
+ //! FIXME: what is this for?
+- virtual TestResult *run();
++ //# virtual TestResult *run();
+
+ protected:
+ //! FIXME: this should probably be pure virtual.
+ virtual void runTest();
+
+ //! Create TestResult for the run(void) method.
+- TestResult *defaultResult();
++ //# TestResult *defaultResult();
+
+ private:
+ TestCase( const TestCase &other );
+--- misc/cppunit-1.8.0/include/cppunit/TestFailure.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/TestFailure.h 2008-02-27 17:09:50.000000000 +0100
+@@ -4,6 +4,16 @@
+ #include <cppunit/Portability.h>
+ #include <string>
+
++namespace ErrorType
++{
++ enum num
++ {
++ ET_FAILURE = 1,
++ ET_ERROR = 2,
++ ET_SIGNAL = 4
++ };
++}
++
+ namespace CppUnit {
+
+ class Exception;
+@@ -20,12 +30,13 @@
+ * TestFailure assumes lifetime control for any exception
+ * passed to it.
+ */
++
+ class CPPUNIT_API TestFailure
+ {
+ public:
+ TestFailure( Test *failedTest,
+ Exception *thrownException,
+- bool isError );
++ ErrorType::num eError );
+
+ virtual ~TestFailure ();
+
+@@ -36,6 +47,7 @@
+ virtual SourceLine sourceLine() const;
+
+ virtual bool isError() const;
++ virtual ErrorType::num getErrorType() const;
+
+ virtual std::string failedTestName() const;
+
+@@ -46,7 +58,7 @@
+ protected:
+ Test *m_failedTest;
+ Exception *m_thrownException;
+- bool m_isError;
++ ErrorType::num m_eError;
+
+ private:
+ TestFailure( const TestFailure &other );
+--- misc/cppunit-1.8.0/include/cppunit/TestFixture.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/TestFixture.h 2008-02-27 17:10:26.000000000 +0100
+@@ -74,11 +74,6 @@
+ * }
+ * \endcode
+ *
+- * A set of macros have been created for convenience. They are located in HelperMacros.h.
+- *
+- * \see TestResult, TestSuite, TestCaller,
+- * \see CPPUNIT_TEST_SUB_SUITE, CPPUNIT_TEST, CPPUNIT_TEST_SUITE_END,
+- * \see CPPUNIT_TEST_SUITE_REGISTRATION, CPPUNIT_TEST_EXCEPTION, CPPUNIT_TEST_FAIL.
+ */
+ class CPPUNIT_API TestFixture
+ {
+--- misc/cppunit-1.8.0/include/cppunit/TestSuite.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/TestSuite.h 2008-02-27 17:11:24.000000000 +0100
+@@ -4,17 +4,20 @@
+ #include <cppunit/Portability.h>
+
+ #if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
+ #pragma warning( push )
+ #pragma warning( disable: 4251 ) // X needs to have dll-interface to be used by clients of class Z
+ #endif
++#endif
+
+ #include <cppunit/Test.h>
+ #include <vector>
+ #include <string>
++#include <cppunit/autoregister/htestresult.h>
+
+ namespace CppUnit {
+
+-class TestResult;
++//# class TestResult;
+
+ #if CPPUNIT_NEED_DLL_DECL
+ template class CPPUNIT_API std::vector<Test *>;
+@@ -35,7 +38,6 @@
+ * Note that TestSuites assume lifetime
+ * control for any tests added to them.
+ *
+- * TestSuites do not register themselves in the TestRegistry.
+ * \see Test
+ * \see TestCaller
+ */
+@@ -44,10 +46,10 @@
+ class CPPUNIT_API TestSuite : public Test
+ {
+ public:
+- TestSuite( std::string name = "" );
++ TestSuite( std::string const& name = "" );
+ ~TestSuite();
+
+- void run( TestResult *result );
++ void run( hTestResult pResult );
+ int countTestCases() const;
+ std::string getName() const;
+ std::string toString() const;
+@@ -71,7 +73,9 @@
+
+
+ #if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
+ #pragma warning( pop )
+ #endif
++#endif
+
+ #endif // CPPUNIT_TESTSUITE_H
+--- misc/cppunit-1.8.0/include/cppunit/additionalfunc.hxx 2008-12-10 20:46:05.823290260 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/additionalfunc.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,61 @@
+-dummy
++#ifndef ADDITIONALFUNC_HXX
++#define ADDITIONALFUNC_HXX
++
++#include "cppunit/autoregister/registertestfunction.h"
++#include "sal/types.h"
++
++extern "C" void SAL_CALL RegisterAdditionalFunctions(FktRegFuncPtr _pFunc);
++
++#define NOADDITIONAL \
++void RegisterAdditionalFunctions(FktRegFuncPtr){}
++
++namespace {
++
++enum T2_OSType {
++ T2_OS_WNT32 = 1,
++ T2_OS_UNIX,
++ T2_OS_OS2
++};
++
++inline T2_OSType getOSType()
++{
++#if defined WNT
++ return T2_OS_WNT32;
++#elif defined OS2
++ return T2_OS_OS2;
++#else
++ return T2_OS_UNIX;
++#endif
++}
++
++}
++
++#define TESTSHL2_UNO_BOOTSTRAP(file) \
++void RegisterAdditionalFunctions(FktRegFuncPtr _pFunc) \
++{ \
++ com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory> xMS; \
++ com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > xComponentContext; \
++ try { \
++ if (strlen(#file) > 0) { \
++ ::rtl::OUString iniFile(rtl::OUString::createFromAscii(#file)); \
++ if (getOSType() == T2_OS_WNT32 || getOSType() == T2_OS_OS2) { \
++ iniFile += ::rtl::OUString::createFromAscii(".ini"); \
++ } else { \
++ iniFile += ::rtl::OUString::createFromAscii("rc"); \
++ } \
++ xComponentContext = cppu::defaultBootstrap_InitialComponentContext(iniFile); \
++ } else { \
++ xComponentContext = cppu::defaultBootstrap_InitialComponentContext(); \
++ } \
++ xMS.set(xComponentContext->getServiceManager(), com::sun::star::uno::UNO_QUERY); \
++ comphelper::setProcessServiceFactory(xMS); \
++ } \
++ catch (::com::sun::star::uno::Exception e ) { \
++ rtl::OString aError; \
++ aError = rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US); \
++ printf("Error at UNO bootstrap time caught: %s\nMust quit.\n", aError.getStr()); \
++ exit(1); \
++ } \
++}
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: additionalfunc.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/autoregister/callbackfunc_fktptr.h 2008-12-10 20:46:05.931077489 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/autoregister/callbackfunc_fktptr.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,63 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef _callbackfunc_fktptr_h
++#define _callbackfunc_fktptr_h
++
++#include <sal/types.h>
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++// these typedefs are used for the TestCase, to call the TestResult functions.
++// The TestResult is only in the testshl tool, not in the test libraries.
++
++typedef void* hTest;
++typedef void* hException;
++
++typedef sal_Int32 (* FktPtr_CallbackDispatch)(int x, ...);
++
++//# typedef void (* FktPtr_TestResult_startTest)(hTestResult, hTest );
++//# typedef void (* FktPtr_TestResult_addFailure)( hTestResult, hTest , hException pException );
++//# typedef void (* FktPtr_TestResult_addError)( hTestResult, hTest , hException pException );
++//# typedef void (* FktPtr_TestResult_endTest)( hTestResult, hTest );
++//# typedef bool (* FktPtr_TestResult_shouldStop)(hTestResult);
++//#
++//# // Additional functions
++//# typedef void (* FktPtr_TestResult_addInfo)( hTestResult, hTest, const char* );
++//# typedef void (* FktPtr_TestResult_enterNode)( hTestResult, const char* );
++//# typedef void (* FktPtr_TestResult_leaveNode)( hTestResult, const char* );
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/autoregister: callbackfunc_fktptr.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/autoregister/callbackstructure.h 2008-12-10 20:46:06.013912039 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/autoregister/callbackstructure.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,89 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef _callbackstructure_h
++#define _callbackstructure_h
++
++#include <sal/types.h>
++#include <cppunit/autoregister/callbackfunc_fktptr.h>
++#include <cppunit/autoregister/registerfunc.h>
++#include <cppunit/autoregister/registertestfunction.h>
++#include <cppunit/cmdlinebits.hxx>
++
++// this structure will filled by the testshl tool and hand to the testdll
++
++struct CallbackStructure
++{
++ // a version number, if we want to change/expand this struct
++ sal_Int32 nVersion;
++ sal_Int64 nMagic;
++
++ FktRegFuncPtr aRegisterFunction;
++
++ FktPtr_CallbackDispatch aCallbackDispatch;
++
++ //# FktPtr_TestResult_startTest aStartTest;
++ //# FktPtr_TestResult_addFailure aAddFailure;
++ //# FktPtr_TestResult_addError aAddError;
++ //# FktPtr_TestResult_endTest aEndTest;
++ //# FktPtr_TestResult_shouldStop aShouldStop;
++ //#
++ //# FktPtr_TestResult_addInfo aAddInfo;
++ //# FktPtr_TestResult_enterNode aEnterNode;
++ //# FktPtr_TestResult_leaveNode aLeaveNode;
++
++ const char* psForward;
++ CmdLineBits nBits;
++
++ // void* pJobList;
++
++ sal_Int64 nMagic2;
++
++ CallbackStructure()
++ :nVersion(1),
++ nMagic(SAL_CONST_INT64(0x0123456789abcdef)),
++ aRegisterFunction(NULL),
++ aCallbackDispatch(NULL),
++ /* aStartTest(NULL),
++ aAddFailure(NULL),
++ aAddError(NULL),
++ aEndTest(NULL),
++ aShouldStop(NULL),
++ aAddInfo(NULL),
++ aEnterNode(NULL),
++ aLeaveNode(NULL), */
++ psForward(NULL),
++ nBits(0),
++ /* pJobList(NULL), */
++ nMagic2(0)
++ {}
++};
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/autoregister: callbackstructure.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/autoregister/htestresult.h 2008-12-10 20:46:06.090738039 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/autoregister/htestresult.h 2008-02-27 17:17:34.000000000 +0100
+@@ -1 +1,6 @@
+-dummy
++#ifndef _htestresult_h
++#define _htestresult_h
++
++typedef void* hTestResult;
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/autoregister: htestresult.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/autoregister/registerfunc.h 2008-12-10 20:46:06.135034318 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/autoregister/registerfunc.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,50 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef _registerfunc_h
++#define _registerfunc_h
++
++#include <sal/types.h>
++#include <cppunit/autoregister/htestresult.h>
++#include <cppunit/autoregister/callbackfunc_fktptr.h>
++#include <cppunit/autoregister/testfunc.h>
++
++struct CallbackStructure;
++
++// this function is used to register one function into a Container in the testshl tool.
++extern "C" void SAL_CALL registerFunction(FktPtr aFunc, const char* aFuncName);
++
++// this function is the register function for auto registering
++
++extern "C" void SAL_CALL registerAllTestFunction(CallbackStructure* );
++typedef void (* FktRegAllPtr)(CallbackStructure*);
++
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/autoregister: registerfunc.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/autoregister/registertestfunction.h 2008-12-10 20:46:06.214882818 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/autoregister/registertestfunction.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,54 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef _registertestfunction_h
++#define _registertestfunction_h
++
++#include <sal/types.h>
++#include <cppunit/autoregister/testfunc.h>
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++// function ptr, to register a function
++typedef void (* FktRegFuncPtr)(FktPtr aFunc, const char* aFuncName);
++
++// this function is used in the testdll to register the given function
++// into the testshl
++extern "C" void SAL_CALL RegisterTestFunctions(FktRegFuncPtr aFunc);
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/autoregister: registertestfunction.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/autoregister/testfunc.h 2008-12-10 20:46:06.292344601 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/autoregister/testfunc.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,47 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef _testfunc_h
++#define _testfunc_h
++
++#include <cppunit/autoregister/htestresult.h>
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++// typedef for a testfunction
++typedef void (* FktPtr)(hTestResult);
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/autoregister: testfunc.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/checkboom.hxx 2008-12-10 20:46:06.371034174 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/checkboom.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,40 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef CHECKBOOM_HXX
++#define CHECKBOOM_HXX
++
++#include <string>
++#include <rtl/ustring.hxx>
++
++void CheckBoom(bool bCondition, std::string const& msg);
++void CheckBoom(bool bCondition, rtl::OUString const& msg);
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: checkboom.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/cmdlinebits.hxx 2008-12-10 20:46:06.465888459 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/cmdlinebits.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,52 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef CMDLINEBITS_HXX
++#define CMDLINEBITS_HXX
++
++#include <sal/types.h>
++
++typedef sal_uInt32 CmdLineBits;
++const char* getForwardString();
++
++#include <stdarg.h>
++
++enum T_Print_Params {
++ T_INFO = 1,
++ T_VERBOSE,
++ T_DEBUG,
++ T_ERROR
++};
++
++// void t_print(const char*);
++void t_print(const char*, ...);
++void t_print(T_Print_Params, const char*, ...);
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: cmdlinebits.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/extensions/AutoRegisterSuite.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/extensions/AutoRegisterSuite.h 2008-02-27 17:16:16.000000000 +0100
+@@ -1,6 +1,7 @@
+ #ifndef CPPUNIT_EXTENSIONS_AUTOREGISTERSUITE_H
+ #define CPPUNIT_EXTENSIONS_AUTOREGISTERSUITE_H
+
++#include <stdio.h>
+ #include <string>
+ #include <cppunit/extensions/TestSuiteFactory.h>
+ #include <cppunit/extensions/TestFactoryRegistry.h>
+@@ -30,19 +31,20 @@
+ /** Auto-register the suite factory in the global registry.
+ */
+ AutoRegisterSuite()
+- {
+- TestFactory *factory = new TestSuiteFactory<TestCaseType>();
+- TestFactoryRegistry::getRegistry().registerFactory( factory );
+- }
+-
++ {
++ TestFactory *factory = new TestSuiteFactory<TestCaseType>();
++ TestFactoryRegistry::getRegistry().registerFactory( factory );
++ }
++
+ /** Auto-register the suite factory in the specified registry.
+ * \param name Name of the registry.
+ */
+ AutoRegisterSuite( const std::string &name )
+- {
+- TestFactory *factory = new TestSuiteFactory<TestCaseType>();
+- TestFactoryRegistry::getRegistry( name ).registerFactory( factory );
+- }
++ {
++ // printf("AutoRegisterSuite %s\n", name.c_str());
++ TestFactory *factory = new TestSuiteFactory<TestCaseType>();
++ TestFactoryRegistry::getRegistry( name ).registerFactory( factory );
++ }
+ };
+
+ } // namespace CppUnit
+--- misc/cppunit-1.8.0/include/cppunit/extensions/HelperMacros.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/extensions/HelperMacros.h 2008-02-27 17:17:12.000000000 +0100
+@@ -132,6 +132,14 @@
+ } \
+ }; \
+ public: \
++ static CppUnit::TestSuite *suite() \
++ { \
++ CppUnit::TestSuiteBuilder<__ThisTestFixtureType> \
++ builder __CPPUNIT_SUITE_CTOR_ARGS( ATestFixtureType ); \
++ ThisTestFixtureFactory factory; \
++ __ThisTestFixtureType::registerTests( builder.suite(), &factory ); \
++ return builder.takeSuite(); \
++ } \
+ static void \
+ registerTests( CppUnit::TestSuite *suite, \
+ CppUnit::TestFixtureFactory *factory ) \
+@@ -245,14 +253,6 @@
+ #define CPPUNIT_TEST_SUITE_END() \
+ builder.takeSuite(); \
+ } \
+- static CppUnit::TestSuite *suite() \
+- { \
+- CppUnit::TestSuiteBuilder<__ThisTestFixtureType> \
+- builder __CPPUNIT_SUITE_CTOR_ARGS( ATestFixtureType ); \
+- ThisTestFixtureFactory factory; \
+- __ThisTestFixtureType::registerTests( builder.suite(), &factory ); \
+- return builder.takeSuite(); \
+- } \
+ private: /* dummy typedef so that the macro can still end with ';'*/ \
+ typedef ThisTestFixtureFactory __ThisTestFixtureFactory
+
+@@ -283,10 +283,12 @@
+ * \see CPPUNIT_TEST_SUITE, CppUnit::AutoRegisterSuite,
+ * CppUnit::TestFactoryRegistry.
+ */
+-#define CPPUNIT_TEST_SUITE_REGISTRATION( ATestFixtureType ) \
+- static CppUnit::AutoRegisterSuite< ATestFixtureType > \
+- __CPPUNIT_MAKE_UNIQUE_NAME(__autoRegisterSuite )
+
++/* LLA:
++ #define CPPUNIT_TEST_SUITE_REGISTRATION( ATestFixtureType ) \
++ static CppUnit::AutoRegisterSuite< ATestFixtureType > \
++ __CPPUNIT_MAKE_UNIQUE_NAME(__autoRegisterSuite )
++*/
+
+ /** Adds the specified fixture suite to the specified registry suite.
+ * \ingroup CreatingTestSuite
+@@ -325,21 +327,7 @@
+ */
+ #define CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( ATestFixtureType, suiteName ) \
+ static CppUnit::AutoRegisterSuite< ATestFixtureType > \
+- __CPPUNIT_MAKE_UNIQUE_NAME(__autoRegisterSuite )(suiteName)
+-
+-
+-// Backwards compatibility
+-// (Not tested!)
+-
+-#if CPPUNIT_ENABLE_CU_TEST_MACROS
+-
+-#define CU_TEST_SUITE(tc) CPPUNIT_TEST_SUITE(tc)
+-#define CU_TEST_SUB_SUITE(tc,sc) CPPUNIT_TEST_SUB_SUITE(tc,sc)
+-#define CU_TEST(tm) CPPUNIT_TEST(tm)
+-#define CU_TEST_SUITE_END() CPPUNIT_TEST_SUITE_END()
+-#define CU_TEST_SUITE_REGISTRATION(tc) CPPUNIT_TEST_SUITE_REGISTRATION(tc)
+-
+-#endif
++ __CPPUNIT_MAKE_UNIQUE_NAME(__autoRegisterSuite )( suiteName )
+
+
+ #endif // CPPUNIT_EXTENSIONS_HELPERMACROS_H
+--- misc/cppunit-1.8.0/include/cppunit/extensions/TestFactoryRegistry.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/extensions/TestFactoryRegistry.h 2008-02-27 17:16:38.000000000 +0100
+@@ -4,14 +4,18 @@
+ #include <cppunit/Portability.h>
+
+ #if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
+ #pragma warning( push )
+ #pragma warning( disable: 4251 ) // X needs to have dll-interface to be used by clients of class Z
+ #endif
++#endif
+
+ #include <cppunit/extensions/TestFactory.h>
+ #include <map>
+ #include <string>
+
++#include <cppunit/autoregister/htestresult.h>
++
+ namespace CppUnit {
+
+ class TestSuite;
+@@ -79,7 +83,7 @@
+ * \param name Name of the registry. It is the name of TestSuite returned by
+ * makeTest().
+ */
+- TestFactoryRegistry( std::string name = "All Tests" );
++ TestFactoryRegistry( std::string const& name = "All Tests" );
+
+ /// Destructor.
+ virtual ~TestFactoryRegistry();
+@@ -105,6 +109,7 @@
+ * specified name.
+ */
+ static TestFactoryRegistry &getRegistry( const std::string &name );
++ static void testRegistries(hTestResult _pResult);
+
+ /** Adds the registered tests to the specified suite.
+ * \param suite Suite the tests are added to.
+@@ -116,9 +121,12 @@
+ * \param factory Factory to register.
+ * \deprecated Use registerFactory( TestFactory *) instead.
+ */
++protected:
++
+ void registerFactory( const std::string &name,
+ TestFactory *factory );
+-
++public:
++
+ /** Adds the specified TestFactory to the registry.
+ *
+ * \param factory Factory to register.
+@@ -141,8 +149,10 @@
+
+
+ #if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
+ #pragma warning( pop )
+ #endif
++#endif
+
+
+ #endif // CPPUNIT_EXTENSIONS_TESTFACTORYREGISTRY_H
+--- misc/cppunit-1.8.0/include/cppunit/extensions/TestSuiteBuilder.h 2002-03-28 16:47:07.000000000 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/extensions/TestSuiteBuilder.h 2008-02-27 17:17:22.000000000 +0100
+@@ -34,11 +34,11 @@
+ }
+ #endif
+
+- TestSuiteBuilder( TestSuite *suite ) : m_suite( suite )
++ TestSuiteBuilder( TestSuite *_suite ) : m_suite( _suite )
+ {
+ }
+
+- TestSuiteBuilder(std::string name) : m_suite( new TestSuite(name) )
++ TestSuiteBuilder(std::string const& name) : m_suite( new TestSuite(name) )
+ {
+ }
+
+@@ -57,7 +57,7 @@
+ m_suite->addTest( test );
+ }
+
+- void addTestCaller( std::string methodName,
++ void addTestCaller( std::string const& methodName,
+ TestMethod testMethod )
+ {
+ Test *test =
+@@ -66,7 +66,7 @@
+ addTest( test );
+ }
+
+- void addTestCaller( std::string methodName,
++ void addTestCaller( std::string const& methodName,
+ TestMethod testMethod,
+ Fixture *fixture )
+ {
+@@ -78,7 +78,7 @@
+ }
+
+ template<typename ExceptionType>
+- void addTestCallerForException( std::string methodName,
++ void addTestCallerForException( std::string const& methodName,
+ TestMethod testMethod,
+ Fixture *fixture,
+ ExceptionType *dummyPointer )
+@@ -93,7 +93,8 @@
+
+ std::string makeTestName( const std::string &methodName )
+ {
+- return m_suite->getName() + "." + methodName;
++ // return m_suite->getName() + "." + methodName;
++ return methodName;
+ }
+
+ private:
+--- misc/cppunit-1.8.0/include/cppunit/externcallbackfunc.hxx 2008-12-10 20:46:06.550085206 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/externcallbackfunc.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,58 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef _externcallbackfunc_hxx
++#define _externcallbackfunc_hxx
++
++#include <cppunit/autoregister/callbackfunc_fktptr.h>
++
++// these pointers have they origin in 'tresregister.cxx'
++extern FktPtr_CallbackDispatch pCallbackFunc;
++
++//# extern FktPtr_TestResult_startTest pTestResult_StartTest;
++//# extern FktPtr_TestResult_addFailure pTestResult_AddFailure;
++//# extern FktPtr_TestResult_addError pTestResult_AddError;
++//# extern FktPtr_TestResult_endTest pTestResult_EndTest;
++//# extern FktPtr_TestResult_addInfo pTestResult_AddInfo;
++
++// these pointers have they origin in 'tresregister.cxx'
++// extern FktPtr_TestResult_Starter pTestResult_Starter;
++
++//# extern FktPtr_TestResult_startTest pTestResult_StartTest;
++//# extern FktPtr_TestResult_addFailure pTestResult_AddFailure;
++//# extern FktPtr_TestResult_addError pTestResult_AddError;
++//# extern FktPtr_TestResult_endTest pTestResult_EndTest;
++//# extern FktPtr_TestResult_addInfo pTestResult_AddInfo;
++//#
++//# extern FktPtr_TestResult_enterNode pTestResult_EnterNode;
++//# extern FktPtr_TestResult_leaveNode pTestResult_LeaveNode;
++//#
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: externcallbackfunc.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/joblist.hxx 2008-12-10 20:46:06.643901729 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/joblist.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,99 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef CPPUNIT_JOBLIST_HXX
++#define CPPUNIT_JOBLIST_HXX
++
++#include <vector>
++#include <string>
++#include <hash_map>
++#include "sal/types.h"
++
++// #include <cppunit/nocopy.hxx>
++
++/*
++ struct eqstr
++ {
++ bool operator()( std::string const & s1, std::string const& s2 ) const
++ {
++ return ( s1 == s2 );
++ }
++ };
++*/
++
++/*
++ struct hashstr
++ {
++ sal_uInt32 operator()( std::string const & str ) const
++ {
++ return str.hashCode();
++ }
++ };
++*/
++typedef std::hash_map< std::string, int > HashMap;
++
++// typedef std::vector<std::string> StringList;
++
++#define JOB_UNKNOWN 0
++#define JOB_NOT_FOUND 1
++#define JOB_PASSED 2
++#define JOB_FAILED 3
++#define JOB_ACCESS 4
++
++#define JOB_EXCLUDE_LIST 0x1000
++#define JOB_ONLY_LIST 0x1001
++
++typedef sal_Int16 JobType;
++
++class JobList /* : NOCOPY */
++{
++ HashMap m_aJobList;
++ char** ppsJobList;
++
++ // returns true if the given List contains unxlngi or unxsols or wntmsci...
++ bool isInCurrentEnvironment(std::string const& _sString);
++ std::string trim(std::string const& _sStringToTrim);
++
++public:
++ JobList();
++ ~JobList();
++
++ bool readfile(std::string const& _sFilename, JobType _nJobType);
++ const char** getList() const {return (const char**)ppsJobList;}
++
++ int getJobListEntry(std::string const& _sIndexName);
++ void setJobListEntry(std::string const& _sIndexName, int _nValue);
++
++ int size() {return m_aJobList.size();}
++ HashMap const& getHashMap() {return m_aJobList;}
++};
++
++#endif
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit: joblist.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/nocopy.hxx 2008-12-10 20:46:06.720535461 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/nocopy.hxx 2008-02-27 17:08:42.000000000 +0100
+@@ -1 +1,13 @@
+-dummy
++#ifndef NOCOPY_HXX
++#define NOCOPY_HXX
++
++// prevent illegal copies
++class NOCOPY
++{
++ NOCOPY(NOCOPY const&);
++ NOCOPY& operator=(NOCOPY const&);
++public:
++ NOCOPY(){}
++};
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: nocopy.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/portability/config-auto.h 2008-12-10 20:46:06.802507987 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/portability/config-auto.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,64 @@
+-dummy
++#ifndef _INCLUDE_CPPUNIT_CONFIG_AUTO_H
++#define _INCLUDE_CPPUNIT_CONFIG_AUTO_H 1
++
++/* include/cppunit/config-auto.h. Generated automatically at end of configure. */
++/* config/config.h. Generated automatically by configure. */
++/* config/config.h.in. Generated automatically from configure.in by autoheader. */
++
++/* define if library uses std::string::compare(string,pos,n) */
++#ifndef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
++#define CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST 1
++#endif
++
++/* define if the library defines sstream */
++#ifndef CPPUNIT_HAVE_SSTREAM
++#define CPPUNIT_HAVE_SSTREAM 1
++#endif
++
++/* Define if you have the <cmath> header file. */
++#ifndef CPPUNIT_HAVE_CMATH
++#define CPPUNIT_HAVE_CMATH 1
++#endif
++
++/* Define if you have the <dlfcn.h> header file. */
++#ifndef CPPUNIT_HAVE_DLFCN_H
++#define CPPUNIT_HAVE_DLFCN_H 1
++#endif
++
++/* define to 1 if the compiler implements namespaces */
++#ifndef CPPUNIT_HAVE_NAMESPACES
++#define CPPUNIT_HAVE_NAMESPACES 1
++#endif
++
++/* define if the compiler supports Run-Time Type Identification */
++#ifndef CPPUNIT_HAVE_RTTI
++#define CPPUNIT_HAVE_RTTI 0
++#endif
++
++/* define if the compiler has stringstream */
++#ifndef CPPUNIT_HAVE_SSTREAM
++#define CPPUNIT_HAVE_SSTREAM 1
++#endif
++
++/* Define if you have the <strstream> header file. */
++#ifndef CPPUNIT_HAVE_STRSTREAM
++#define CPPUNIT_HAVE_STRSTREAM 1
++#endif
++
++/* Name of package */
++#ifndef CPPUNIT_PACKAGE
++#define CPPUNIT_PACKAGE "cppunit"
++#endif
++
++/* Define to 1 to use type_info::name() for class names */
++#ifndef CPPUNIT_USE_TYPEINFO_NAME
++#define CPPUNIT_USE_TYPEINFO_NAME CPPUNIT_HAVE_RTTI
++#endif
++
++/* Version number of package */
++#ifndef CPPUNIT_VERSION
++#define CPPUNIT_VERSION "1.8.0"
++#endif
++
++/* _INCLUDE_CPPUNIT_CONFIG_AUTO_H */
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/portability: config-auto.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/portability/config-bcb5.h 2008-12-10 20:46:05.287223886 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/portability/config-bcb5.h 2008-02-27 17:15:52.000000000 +0100
+@@ -1 +1,48 @@
+-dummy
++#ifndef _INCLUDE_CPPUNIT_CONFIG_BCB5_H
++#define _INCLUDE_CPPUNIT_CONFIG_BCB5_H 1
++
++#define HAVE_CMATH 1
++
++/* include/cppunit/config-bcb5.h. Manually adapted from
++ include/cppunit/config-auto.h */
++
++/* define if library uses std::string::compare(string,pos,n) */
++#ifndef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
++#define CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST 1
++#endif
++
++/* Define if you have the <dlfcn.h> header file. */
++#ifdef CPPUNIT_HAVE_DLFCN_H
++#undef CPPUNIT_HAVE_DLFCN_H
++#endif
++
++/* define to 1 if the compiler implements namespaces */
++#ifndef CPPUNIT_HAVE_NAMESPACES
++#define CPPUNIT_HAVE_NAMESPACES 1
++#endif
++
++/* define if the compiler supports Run-Time Type Identification */
++#ifndef CPPUNIT_HAVE_RTTI
++#define CPPUNIT_HAVE_RTTI 1
++#endif
++
++/* Define to 1 to use type_info::name() for class names */
++#ifndef CPPUNIT_USE_TYPEINFO_NAME
++#define CPPUNIT_USE_TYPEINFO_NAME CPPUNIT_HAVE_RTTI
++#endif
++
++#define CPPUNIT_HAVE_SSTREAM 1
++
++/* Name of package */
++#ifndef CPPUNIT_PACKAGE
++#define CPPUNIT_PACKAGE "cppunit"
++#endif
++
++/* Version number of package */
++#ifndef CPPUNIT_VERSION
++#define CPPUNIT_VERSION "1.5.5"
++#endif
++
++
++/* _INCLUDE_CPPUNIT_CONFIG_BCB5_H */
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/portability: config-bcb5.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/portability/config-msvc6.h 2008-12-10 20:46:05.392326519 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/portability/config-msvc6.h 2008-02-27 17:15:40.000000000 +0100
+@@ -1 +1,62 @@
+-dummy
++#ifndef _INCLUDE_CPPUNIT_CONFIG_MSVC6_H
++#define _INCLUDE_CPPUNIT_CONFIG_MSVC6_H 1
++
++#define HAVE_CMATH 1
++
++/* include/cppunit/config-msvc6.h. Manually adapted from
++ include/cppunit/config-auto.h */
++
++/* define if library uses std::string::compare(string,pos,n) */
++#ifdef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
++#undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
++#endif
++
++/* Define if you have the <dlfcn.h> header file. */
++#ifdef CPPUNIT_HAVE_DLFCN_H
++#undef CPPUNIT_HAVE_DLFCN_H
++#endif
++
++/* define to 1 if the compiler implements namespaces */
++#ifndef CPPUNIT_HAVE_NAMESPACES
++#define CPPUNIT_HAVE_NAMESPACES 1
++#endif
++
++#ifndef CPPUNIT_HAVE_RTTI
++#define CPPUNIT_HAVE_RTTI 0
++#endif
++
++#ifndef CPPUNIT_USE_TYPEINFO_NAME
++#define CPPUNIT_USE_TYPEINFO_NAME CPPUNIT_HAVE_RTTI
++#endif
++
++#define CPPUNIT_HAVE_SSTREAM 1
++
++/* Name of package */
++#ifndef CPPUNIT_PACKAGE
++#define CPPUNIT_PACKAGE "cppunit"
++#endif
++
++#undef CPPUNIT_API
++
++// define CPPUNIT_DLL_BUILD when building CppUnit dll.
++#ifdef CPPUNIT_BUILD_DLL
++#define CPPUNIT_API __declspec(dllexport)
++#endif
++
++// define CPPUNIT_DLL when linking to CppUnit dll.
++#ifdef CPPUNIT_DLL
++#define CPPUNIT_API __declspec(dllimport)
++#endif
++
++#ifdef CPPUNIT_API
++#undef CPPUNIT_NEED_DLL_DECL
++#define CPPUNIT_NEED_DLL_DECL 1
++#endif
++
++#if _MSC_VER > 1000 // VC++
++#pragma warning( disable : 4786 ) // disable warning debug symbol > 255...
++#endif // _MSC_VER > 1000
++
++
++/* _INCLUDE_CPPUNIT_CONFIG_MSVC6_H */
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/portability: config-msvc6.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/SynchronizedObject.h 2008-12-10 20:46:04.893658092 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/SynchronizedObject.h 2008-02-27 17:14:06.000000000 +0100
+@@ -1 +1,82 @@
+-dummy
++#ifndef CPPUNIT_SYNCHRONIZEDOBJECT_H
++#define CPPUNIT_SYNCHRONIZEDOBJECT_H
++
++#include <cppunit/Portability.h>
++#include <cppunit/nocopy.hxx>
++
++namespace CppUnit
++{
++
++/*! \brief Base class for synchronized object.
++ *
++ * Synchronized object are object which members are used concurrently by mutiple
++ * threads.
++ *
++ * This class define the class SynchronizationObject which must be subclassed
++ * to implement an actual lock.
++ *
++ * Each instance of this class holds a pointer on a lock object.
++ *
++ * See src/msvc6/MfcSynchronizedObject.h for an example.
++ */
++class CPPUNIT_API SynchronizedObject
++{
++public:
++ /*! \brief Abstract synchronization object (mutex)
++ */
++ class SynchronizationObject
++ {
++ public:
++ SynchronizationObject() {}
++ virtual ~SynchronizationObject() {}
++
++ virtual void lock() {}
++ virtual void unlock() {}
++ };
++
++ /*! Constructs a SynchronizedObject object.
++ */
++ SynchronizedObject( SynchronizationObject *syncObject =0 );
++
++ /// Destructor.
++ virtual ~SynchronizedObject();
++
++protected:
++ /*! \brief Locks a synchronization object in the current scope.
++ */
++ class ExclusiveZone : NOCOPY
++ {
++ SynchronizationObject *m_syncObject;
++
++ public:
++ ExclusiveZone( SynchronizationObject *syncObject )
++ : m_syncObject( syncObject )
++ {
++ m_syncObject->lock();
++ }
++
++ ~ExclusiveZone()
++ {
++ m_syncObject->unlock ();
++ }
++ };
++
++ virtual void setSynchronizationObject( SynchronizationObject *syncObject );
++
++protected:
++ SynchronizationObject *m_syncObject;
++
++private:
++ /// Prevents the use of the copy constructor.
++ SynchronizedObject( const SynchronizedObject &copy );
++
++ /// Prevents the use of the copy operator.
++ void operator =( const SynchronizedObject &copy );
++};
++
++
++
++} // namespace CppUnit
++
++
++#endif // CPPUNIT_SYNCHRONIZEDOBJECT_H
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: SynchronizedObject.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/TestListener.h 2008-12-10 20:46:04.938237839 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/TestListener.h 2008-02-27 17:14:38.000000000 +0100
+@@ -1 +1,62 @@
+-dummy
++#ifndef CPPUNIT_TESTLISTENER_H // -*- C++ -*-
++#define CPPUNIT_TESTLISTENER_H
++
++#include <cppunit/Portability.h>
++
++
++namespace CppUnit {
++
++class Exception;
++class Test;
++class TestFailure;
++
++
++/*! \brief Listener for test progress and result.
++ * \ingroup TrackingTestExecution
++ *
++ * Implementing the Observer pattern a TestListener may be registered
++ * to a TestResult to obtain information on the testing progress. Use
++ * specialized sub classes of TestListener for text output
++ * (TextTestProgressListener). Do not use the Listener for the test
++ * result output, use a subclass of Outputter instead.
++ *
++ * The test framework distinguishes between failures and errors.
++ * A failure is anticipated and checked for with assertions. Errors are
++ * unanticipated problems signified by exceptions that are not generated
++ * by the framework.
++ *
++ * \see TestResult
++ */
++class CPPUNIT_API TestListener
++{
++public:
++ virtual ~TestListener() {}
++
++ /// Called when just before a TestCase is run.
++ virtual void startTest( Test *test ) =0 ;
++
++ /*! Called when a failure occurs while running a test.
++ * \see TestFailure.
++ * \warning \a failure is a temporary object that is destroyed after the
++ * method call. Use TestFailure::clone() to create a duplicate.
++ */
++ virtual void addFailure( const TestFailure &failure ) =0;
++
++ /// Called just after a TestCase was run (even if a failure occured).
++ virtual void endTest( Test *test ) =0;
++
++ // additional info
++ virtual void addInfo(Test *test, const char*) =0;
++
++ // info in which node we are
++ // helper functions to create tree structures
++ // old: virtual void enterNode( const char* ) =0;
++ // old: virtual void leaveNode( const char* ) =0;
++};
++
++
++} // namespace CppUnit
++
++#endif // CPPUNIT_TESTLISTENER_H
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: TestListener.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/TestResult.h 2008-12-10 20:46:05.070889564 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/TestResult.h 2008-02-27 17:13:08.000000000 +0100
+@@ -1 +1,123 @@
+-dummy
++#ifndef CPPUNIT_TESTRESULT_H
++#define CPPUNIT_TESTRESULT_H
++
++#include <cppunit/Portability.h>
++
++#if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
++#pragma warning( push )
++#pragma warning( disable: 4251 ) // X needs to have dll-interface to be used by clients of class Z
++#endif
++#endif
++
++#include <cppunit/result/SynchronizedObject.h>
++#include <vector>
++#include <string>
++#include <deque>
++//!io #include <iostream>
++
++#include "cppunit/result/optionhelper.hxx"
++#include "cppunit/TestFailure.h"
++
++class Outputter;
++namespace CppUnit {
++
++class Exception;
++class Test;
++// class TestFailure;
++class TestListener;
++
++#if CPPUNIT_NEED_DLL_DECL
++ template class CPPUNIT_API std::deque<TestListener *>;
++#endif
++
++/*! \brief Manages TestListener.
++ * \ingroup TrackingTestExecution
++ *
++ * A single instance of this class is used when running the test. It is usually
++ * created by the test runner (TestRunner).
++ *
++ * This class shouldn't have to be inherited from. Use a TestListener
++ * or one of its subclasses to be informed of the ongoing tests.
++ * Use a Outputter to receive a test summary once it has finished
++ *
++ * TestResult supplies a template method 'setSynchronizationObject()'
++ * so that subclasses can provide mutual exclusion in the face of multiple
++ * threads. This can be useful when tests execute in one thread and
++ * they fill a subclass of TestResult which effects change in another
++ * thread. To have mutual exclusion, override setSynchronizationObject()
++ * and make sure that you create an instance of ExclusiveZone at the
++ * beginning of each method.
++ *
++ * \see Test, TestListener, TestResultCollector, Outputter.
++ */
++class CPPUNIT_API TestResult : protected SynchronizedObject
++{
++protected:
++ OptionHelper m_aOptionHelper;
++
++public:
++ TestResult( GetOpt & _aOptions, SynchronizationObject *syncObject = 0 );
++ virtual ~TestResult();
++
++ virtual void addListener( TestListener *listener );
++ virtual void removeListener( TestListener *listener );
++
++ virtual void reset();
++ virtual void stop();
++
++ virtual bool shouldStop() const;
++
++ virtual void startTest( Test *test );
++ virtual void addError( Test *test, Exception *e, ErrorType::num eType=ErrorType::ET_ERROR);
++ virtual void addFailure( Test *test, Exception *e );
++ virtual void endTest( Test *test );
++
++ // LLA: additionals
++ virtual void addInfo(Test *test, const char *sInfo);
++
++ virtual void enterNode(const char* Node);
++ virtual void leaveNode(const char* Node);
++ virtual std::string getNodeName();
++
++ // if true, execution is allowed.
++ virtual bool isAllowedToExecute(std::string const & sName);
++ bool isOnlyShowJobs() {return m_aOptionHelper.isOnlyShowJobs();}
++ bool isOptionWhereAmI();
++
++ virtual void print(Outputter &);
++ void setExitValue(int _nValue) {m_nExitValue = _nValue;}
++ int getExitValue() {return m_nExitValue;}
++
++protected:
++ void addFailure( const TestFailure &failure );
++
++protected:
++ typedef std::deque<TestListener *> TestListeners;
++ TestListeners m_listeners;
++ bool m_stop;
++
++ // this vector is used to expand the test name with a current node name
++ std::vector<std::string> m_aCurrentNodeNames;
++
++ //# std::vector<std::string> m_aNodes;
++
++private:
++ TestResult( const TestResult &other );
++ TestResult &operator =( const TestResult &other );
++ int m_nExitValue;
++};
++
++
++} // namespace CppUnit
++
++
++#if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
++#pragma warning( pop )
++#endif
++#endif
++
++#endif // CPPUNIT_TESTRESULT_H
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: TestResult.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/TestResultCollector.h 2008-12-10 20:46:05.024473262 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/TestResultCollector.h 2008-02-27 17:14:48.000000000 +0100
+@@ -1 +1,165 @@
+-dummy
++#ifndef CPPUNIT_TESTRESULTCOLLECTOR_H
++#define CPPUNIT_TESTRESULTCOLLECTOR_H
++
++#include <cppunit/Portability.h>
++
++#if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
++#pragma warning( push )
++#pragma warning( disable: 4251 ) // X needs to have dll-interface to be used by clients of class Z
++#endif
++#endif
++
++#include <cppunit/result/TestResult.h>
++#include <cppunit/result/TestSucessListener.h>
++#include <deque>
++#include <vector>
++
++namespace CppUnit
++{
++
++
++#if CPPUNIT_NEED_DLL_DECL
++ template class CPPUNIT_API std::deque<TestFailure *>;
++ template class CPPUNIT_API std::deque<Test *>;
++#endif
++
++
++/*! \brief Collects test result.
++ * \ingroup WritingTestResult
++ * \ingroup BrowsingCollectedTestResult
++ *
++ * A TestResultCollector is a TestListener which collects the results of executing
++ * a test case. It is an instance of the Collecting Parameter pattern.
++ *
++ * The test framework distinguishes between failures and errors.
++ * A failure is anticipated and checked for with assertions. Errors are
++ * unanticipated problems signified by exceptions that are not generated
++ * by the framework.
++ * \see TestListener, TestFailure.
++ */
++
++class OneStringContainer
++{
++ std::string m_sName;
++protected:
++ OneStringContainer() {}
++public:
++ OneStringContainer(std::string const& _sName)
++ :m_sName(_sName){}
++ std::string getString() const {return m_sName;}
++ virtual ~OneStringContainer(){}
++};
++
++// -----------------------------------------------------------------------------
++class TestEnvelope : public OneStringContainer
++{
++ Test* m_pTest;
++public:
++ TestEnvelope():m_pTest(NULL){}
++
++ TestEnvelope(Test* _pTest, std::string const& _sName)
++ : OneStringContainer(_sName),
++ m_pTest(_pTest)
++ {}
++
++ Test* getTest() {return m_pTest;}
++ virtual ~TestEnvelope(){}
++
++};
++
++// -----------------------------------------------------------------------------
++class TestInfo : public TestEnvelope
++{
++public:
++ TestInfo(Test* _pTest, std::string const& _sName)
++ :TestEnvelope(_pTest, _sName)
++ {}
++};
++
++// -----------------------------------------------------------------------------
++class TestFailureEnvelope : public OneStringContainer
++{
++ TestFailure* m_pTestFailure;
++public:
++ TestFailureEnvelope():m_pTestFailure(NULL){}
++
++ TestFailureEnvelope(TestFailure* _pTestFailure, std::string const& _sName)
++ :OneStringContainer(_sName),
++ m_pTestFailure(_pTestFailure)
++ {}
++
++ TestFailure* getTestFailure() {return m_pTestFailure;}
++ virtual ~TestFailureEnvelope(){}
++
++};
++// -----------------------------------------------------------------------------
++
++class CPPUNIT_API TestResultCollector : public TestSucessListener
++{
++ TestResult* m_pResult;
++public:
++ typedef std::deque<TestFailureEnvelope *> TestFailures;
++ typedef std::deque<TestEnvelope *> Tests;
++ typedef std::vector<TestInfo *> TestInfos;
++
++
++ /*! Constructs a TestResultCollector object.
++ */
++ TestResultCollector( TestResult *_pResult, SynchronizationObject *syncObject = 0 );
++
++ /// Destructor.
++ virtual ~TestResultCollector();
++
++ void startTest( Test *test );
++ void endTest( Test *test );
++
++ void addFailure( const TestFailure &failure );
++
++ virtual void reset();
++
++ virtual int runTests() const;
++ virtual int testErrors() const;
++ virtual int testFailures() const;
++ virtual int testFailuresTotal() const;
++
++ virtual const TestFailures& failures() const;
++ virtual const Tests &tests() const;
++ virtual std::string getInfo(Test*);
++
++ virtual void addInfo(Test *test, const char *sInfo);
++
++ // virtual void enterNode(const char* Node);
++ // virtual void leaveNode(const char* Node);
++
++protected:
++ Tests m_tests;
++ TestFailures m_failures;
++ TestInfos m_aInfos;
++
++ int m_testErrors;
++
++ // this vector is used to expand the test name with a current node name
++ // std::vector<std::string> m_aCurrentNodeNames;
++ // std::string getNodeName();
++private:
++ /// Prevents the use of the copy constructor.
++ TestResultCollector( const TestResultCollector &copy );
++
++ /// Prevents the use of the copy operator.
++ void operator =( const TestResultCollector &copy );
++};
++
++
++
++} // namespace CppUnit
++
++
++#if CPPUNIT_NEED_DLL_DECL
++#ifdef _MSC_VER
++#pragma warning( pop )
++#endif
++#endif
++
++
++#endif // CPPUNIT_TESTRESULTCOLLECTOR_H
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: TestResultCollector.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/TestSucessListener.h 2008-12-10 20:46:05.161106554 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/TestSucessListener.h 2008-02-27 17:14:16.000000000 +0100
+@@ -1 +1,40 @@
+-dummy
++#ifndef CPPUNIT_TESTSUCESSLISTENER_H
++#define CPPUNIT_TESTSUCESSLISTENER_H
++
++#include <cppunit/result/SynchronizedObject.h>
++#include <cppunit/result/TestListener.h>
++
++
++namespace CppUnit
++{
++
++/*! \brief TestListener that checks if any test case failed.
++ * \ingroup TrackingTestExecution
++ */
++class CPPUNIT_API TestSucessListener : public TestListener,
++ public SynchronizedObject
++{
++public:
++ /*! Constructs a TestSucessListener object.
++ */
++ TestSucessListener( SynchronizationObject *syncObject = 0 );
++
++ /// Destructor.
++ virtual ~TestSucessListener();
++
++ virtual void reset();
++
++ void addFailure( const TestFailure &failure );
++
++ /// Returns whether the entire test was successful or not.
++ virtual bool wasSuccessful() const;
++
++private:
++ bool m_sucess;
++};
++
++
++} // namespace CppUnit
++
++
++#endif // CPPUNIT_TESTSUCESSLISTENER_H
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: TestSucessListener.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/TextTestResult.h 2008-12-10 20:46:05.242583534 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/TextTestResult.h 2008-02-27 17:14:28.000000000 +0100
+@@ -1 +1,62 @@
+-dummy
++#ifndef CPPUNIT_TEXTTESTRESULT_H
++#define CPPUNIT_TEXTTESTRESULT_H
++
++#include <cppunit/result/TestResult.h>
++#include <cppunit/result/TestResultCollector.h>
++#include <ostream>
++
++class GetOpt;
++namespace CppUnit {
++
++class SourceLine;
++class Exception;
++class Test;
++
++/*! \brief Holds printable test result (DEPRECATED).
++ * \ingroup TrackingTestExecution
++ *
++ * deprecated Use class TextTestProgressListener and TextOutputter instead.
++ */
++class CPPUNIT_API TextTestResult : public TestResult
++/* public TestResultCollector*/
++{
++ TestResultCollector m_aResulter;
++public:
++ TextTestResult(GetOpt& _aOptions);
++
++ virtual void addFailure( const TestFailure &failure );
++ virtual void startTest( Test *test );
++ virtual void endTest( Test *test );
++
++ virtual void print( std::ostream &stream );
++protected:
++
++ virtual void printFailures( std::ostream &stream );
++ virtual void printHeader( std::ostream &stream );
++
++ virtual void printFailure( TestFailure *failure,
++ int failureNumber,
++ std::ostream &stream );
++ virtual void printFailureListMark( int failureNumber,
++ std::ostream &stream );
++ virtual void printFailureTestName( TestFailure *failure,
++ std::ostream &stream );
++ virtual void printFailureType( TestFailure *failure,
++ std::ostream &stream );
++ virtual void printFailureLocation( SourceLine sourceLine,
++ std::ostream &stream );
++ virtual void printFailureDetail( Exception *thrownException,
++ std::ostream &stream );
++ virtual void printFailureWarning( std::ostream &stream );
++ virtual void printStatistics( std::ostream &stream );
++};
++
++/** insertion operator for easy output */
++std::ostream &operator <<( std::ostream &stream,
++ TextTestResult &result );
++
++} // namespace CppUnit
++
++#endif // CPPUNIT_TEXTTESTRESULT_H
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: TextTestResult.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/callbackfunc.h 2008-12-10 20:46:06.881445744 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/callbackfunc.h 2008-02-27 17:15:00.000000000 +0100
+@@ -1 +1,25 @@
+-dummy
++#ifndef _callbackfunc_h
++#define _callbackfunc_h
++
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++ // this is the entry point from the DLL back to the executable.
++ sal_Int32 CallbackDispatch(int x, ...);
++
++//# void TestResult_startTest(hTestResult _pResult, hTest _pTest);
++//# void TestResult_addFailure( hTestResult _pResult, hTest _pTest, hException _pException );
++//# void TestResult_addError( hTestResult _pResult, hTest _pTest, hException _pException );
++//# void TestResult_endTest( hTestResult _pResult, hTest _pTest );
++//# bool TestResult_shouldStop(hTestResult _pResult);
++//# void TestResult_addInfo( hTestResult _pResult, hTest _pTest, const char* _sInfo );
++//#
++//# void TestResult_enterNode( hTestResult _pResult, const char* _sInfo );
++//# void TestResult_leaveNode( hTestResult _pResult, const char* _sInfo );
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: callbackfunc.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/emacsTestResult.hxx 2008-12-10 20:46:06.924792880 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/emacsTestResult.hxx 2008-12-10 20:42:43.000000000 +0100
+@@ -1 +1,82 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef cppunit_emacstestresult_h
++#define cppunit_emacstestresult_h
++
++#include <cppunit/result/TestResult.h>
++#include <cppunit/result/TestResultCollector.h>
++#include <ostream>
++#include "testshl/getopt.hxx"
++
++class Outputter;
++namespace CppUnit {
++
++class SourceLine;
++class Exception;
++class Test;
++
++/*! \brief Holds printable test result (DEPRECATED).
++ * \ingroup TrackingTestExecution
++ *
++ * deprecated Use class TextTestProgressListener and TextOutputter instead.
++ */
++ class CPPUNIT_API emacsTestResult : public TestResult
++
++/* ,public TestResultCollector*/
++ {
++ GetOpt & m_aOptions;
++ // OptionHelper m_aOptionHelper;
++ TestResultCollector m_aResulter;
++
++ public:
++ emacsTestResult(GetOpt & _aOptions);
++
++ // virtual void addFailure( const TestFailure &failure );
++ // virtual void startTest( Test *test );
++ // virtual void endTest( Test *test );
++
++ virtual void print( Outputter &stream );
++
++ protected:
++ virtual void printHeader( Outputter &stream );
++ // virtual void printTestLine( Outputter &stream, Test* pTest, std::string const& _sNodeName, std::string const& _sInfo);
++ virtual void printFailureLine( Outputter &stream, TestFailure* pFailure, std::string const& _sNodeName );
++ };
++
++/** insertion operator for easy output */
++// std::ostream &operator <<( std::ostream &stream,
++// emacsTestResult &result );
++
++} // namespace CppUnit
++
++#endif // CPPUNIT_testshlTESTRESULT_H
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: emacsTestResult.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/log.hxx 2008-12-10 20:46:07.004030154 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/log.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,106 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++#ifndef __QADEV_REGSCAN_LOG_HXX__
++#define __QADEV_REGSCAN_LOG_HXX__
++
++#include <time.h>
++#include <rtl/ustring.hxx>
++#include <rtl/strbuf.hxx>
++#include <sal/types.h>
++#include <osl/thread.h>
++#include <osl/file.hxx>
++
++#include <cppunit/nocopy.hxx>
++
++//!io #include <iostream>
++#include <vector>
++
++// using namespace std;
++
++
++/**
++ * Log derives the interface of the ::osl::File class ( is-a relation ).
++ * Its members (has-a relation) are the (full qualified)name of the log
++ * and an OStringBuffer which represents the content of the logfile.
++ * It provides the functionality of easy-to-use open and write logs
++ */
++//: Log
++class Log : NOCOPY {
++
++ ::osl::File* m_logfile; // fileobject
++ rtl::OUString m_logurl; // url of log
++ rtl::OStringBuffer m_buf; // content of log
++
++ Log();
++
++public:
++
++ //> c'tor
++ /**
++ * constructors argument is a full qualified UNC path
++ * @param OUString logfile ( full qualified UNC path )
++ */
++ Log( const rtl::OUString& logURL )
++ : m_logfile( new ::osl::File( logURL ))
++ , m_logurl(logURL)
++ {} ///< c'tor
++
++ //> d'tor
++ virtual ~Log()
++ {
++ m_logfile->close();
++ delete( m_logfile );
++ } ///< d'tor
++
++ //> inline methods
++ // returns a reference to name instance
++ inline rtl::OUString getLogURL() { return m_logurl; }
++ inline rtl::OString getName() { return rtl::OUStringToOString(
++ m_logurl, RTL_TEXTENCODING_ASCII_US ); }
++ ///< inline methods
++
++ // open logfile for overwrite (default) or append
++ ::osl::FileBase::RC open( sal_Bool append = sal_False );
++ ::osl::FileBase::RC close() { return m_logfile->close(); }
++
++
++ // write methods without (default) or with echo on display
++ ::osl::FileBase::RC write( const sal_Char* buf, sal_Bool v = sal_False );
++ ::osl::FileBase::RC write( const rtl::OString& buf,
++ sal_Bool v = sal_False );
++ //! ::osl::FileBase::RC write( rtl::OStringBuffer& buf,
++ //! sal_Bool v = sal_False );
++ ::osl::FileBase::RC write( const rtl::OUString& buf,
++ rtl_TextEncoding enc = RTL_TEXTENCODING_ASCII_US,
++ sal_Bool v = sal_False );
++
++}; ///:~ Log
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: log.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/optionhelper.hxx 2008-12-10 20:46:07.084399993 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/optionhelper.hxx 2008-12-10 20:42:43.000000000 +0100
+@@ -1 +1,98 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef optionhelper_hxx
++#define optionhelper_hxx
++
++#include <string>
++
++#include <sal/types.h>
++
++#include "cppunit/nocopy.hxx"
++#include "testshl/getopt.hxx"
++#include "cppunit/joblist.hxx"
++
++// -----------------------------------------------------------------------------
++
++typedef std::vector<rtl::OString> OStringList;
++
++//!? Better: OptionHelper
++class OptionHelper : NOCOPY
++{
++ GetOpt & m_aOption;
++ JobList m_aJobOnlyList;
++ JobList m_aJobExcludeList;
++ OStringList m_aJobFilter;
++
++ std::string m_sProjectId;
++ std::string m_sBuildId;
++
++ std::string getProjectId() const;
++ std::string getBuildId() const;
++ std::string createDateTag(std::string const& _sProjectId, std::string const& _sBuildId);
++
++ void handleJobs();
++public:
++ OptionHelper(GetOpt & _aOption)
++ :m_aOption(_aOption)
++ {
++ if (m_aOption.hasOpt("-projectid"))
++ m_sProjectId = m_aOption.getOpt("-projectid");
++
++ if (m_aOption.hasOpt("-buildid"))
++ m_sBuildId = m_aOption.getOpt("-buildid");
++
++ handleJobs();
++ }
++
++ static std::string integerToAscii(sal_Int32 nValue);
++ static std::string twoDigits(std::string const& _sValue);
++
++ std::string createDateTag();
++ bool showErrors();
++ bool showTests();
++
++ JobList getJobOnlyList() {return m_aJobOnlyList;}
++ JobList getJobExcludeList() {return m_aJobExcludeList;}
++
++ bool isAllowedToExecute(std::string const& _sNode, std::string const& _sName);
++
++ bool isOnlyShowJobs() {return m_aOption.hasOpt("-onlyshowjobs") == sal_True ? true : false;}
++ GetOpt& getOptions() {return m_aOption;}
++ bool isVerbose() {return m_aOption.hasOpt("-verbose") == sal_True ? true : false;}
++ bool isOptionWhereAmI() {return m_aOption.hasOpt("-whereami") == sal_True ? true : false;}
++};
++
++// -----------------------------------------------------------------------------
++
++
++#endif
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: optionhelper.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/outputter.hxx 2008-12-10 20:46:07.186579135 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/outputter.hxx 2008-12-10 20:42:43.000000000 +0100
+@@ -1 +1,85 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++//
++
++#ifndef outputter_hxx
++#define outputter_hxx
++
++#include <string>
++#include <ostream>
++#include <memory>
++#include "testshl/log.hxx"
++#include <sal/types.h>
++#include "cppunit/nocopy.hxx"
++
++// #include <fstream>
++
++class Outputter : NOCOPY
++{
++ std::auto_ptr<Log> m_pLog;
++ std::ostream* m_pStream;
++
++ void writeToAll(const sal_Char* _pStr);
++public:
++ class endl
++ {
++ char c;
++ public:
++ endl():c('\0'){}
++ };
++public:
++ Outputter(Log * _pLog )
++ :m_pLog(_pLog),
++ m_pStream(NULL) {}
++
++ Outputter(std::ostream& _aStream)
++ :m_pLog(NULL),
++ m_pStream(&_aStream) {}
++
++ ~Outputter();
++
++ void write(const sal_Char*);
++ void write(std::string const&);
++ void write(sal_Int32);
++ // void write(double);
++};
++
++Outputter& operator <<( Outputter &stream, const sal_Char* );
++Outputter& operator <<( Outputter &stream, std::string const& );
++Outputter& operator <<( Outputter &stream, sal_Int32 );
++// Outputter& operator <<( Outputter &stream, double );
++
++Outputter& operator <<( Outputter &stream, Outputter::endl const&);
++
++// Outputter& operator <<( Outputter &stream, const char* );
++
++#endif
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: outputter.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/result/testshlTestResult.h 2008-12-10 20:46:07.267386761 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/result/testshlTestResult.h 2008-12-10 20:42:43.000000000 +0100
+@@ -1 +1,72 @@
+-dummy
++#ifndef cppunit_testshltestresult_h
++#define cppunit_testshltestresult_h
++
++#include <map>
++#include <cppunit/result/TestResult.h>
++#include <cppunit/result/TestResultCollector.h>
++#include <ostream>
++#include "testshl/getopt.hxx"
++
++class Outputter;
++
++namespace CppUnit {
++
++class SourceLine;
++class Exception;
++class Test;
++
++struct ltstr
++{
++ bool operator()(const CppUnit::Test* p1, const CppUnit::Test* p2) const
++ {
++ return p1 < p2;
++ }
++};
++typedef std::map<CppUnit::Test*, bool, ltstr> TestPtrList;
++
++
++/*! \brief Holds printable test result (DEPRECATED).
++ * \ingroup TrackingTestExecution
++ *
++ * deprecated Use class TextTestProgressListener and TextOutputter instead.
++ */
++ class CPPUNIT_API testshlTestResult : public TestResult
++
++/* ,public TestResultCollector*/
++ {
++ GetOpt & m_aOptions;
++ // OptionHelper m_aOptionHelper;
++ TestResultCollector m_aResulter;
++
++ public:
++ testshlTestResult(GetOpt & _aOptions);
++ virtual ~testshlTestResult();
++
++ // virtual void addFailure( const TestFailure &failure );
++ // virtual void startTest( Test *test );
++ // virtual void endTest( Test *test );
++
++ virtual void print( Outputter &stream );
++
++ protected:
++ virtual void printHeader( Outputter &stream );
++
++ void printLines(Outputter &stream, HashMap & _aJobList);
++ void printFailedTests(Outputter &stream, TestPtrList &aFailedTests);
++ void printTestLines(Outputter &stream, TestPtrList &aFailedTests);
++ void printUnknownLines(Outputter &stream, HashMap & _aJobList);
++
++ virtual void printTestLine( Outputter &stream, Test* pTest, std::string const& _sNodeName, std::string const& _sInfo);
++ virtual void printFailureLine( Outputter &stream, TestFailure* pFailure, std::string const& _sNodeName );
++ virtual void printUnknownLine( Outputter &stream, std::string const& _sTestName);
++ };
++
++/** insertion operator for easy output */
++ Outputter &operator <<( Outputter &stream,
++ testshlTestResult &result );
++
++} // namespace CppUnit
++
++#endif // CPPUNIT_testshlTESTRESULT_H
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit/result: testshlTestResult.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/signaltest.h 2008-12-10 20:46:07.349658445 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/signaltest.h 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,65 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef SIGNALTEST_H
++#define SIGNALTEST_H
++
++#include <string>
++#include "cppunit/Test.h"
++#include <cppunit/autoregister/htestresult.h>
++
++namespace CppUnit
++{
++
++class CPPUNIT_API SignalTest : public Test
++{
++public:
++
++ SignalTest( std::string const& Name );
++
++ ~SignalTest();
++
++ virtual void run(hTestResult pResult);
++ virtual int countTestCases() const;
++ std::string getName() const;
++ std::string toString() const;
++
++private:
++ SignalTest( const SignalTest &other );
++ SignalTest &operator=( const SignalTest &other );
++
++private:
++ const std::string m_sName;
++};
++
++} // namespace CppUnit
++
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: signaltest.h.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/simpleheader.hxx 2008-12-10 20:46:07.425092111 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/simpleheader.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,45 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef CPPUNIT_SIMPLEHEADER_HXX
++#define CPPUNIT_SIMPLEHEADER_HXX
++
++// This file contains only the cppunit header files, for simplification.
++
++#include <cppunit/TestFixture.h>
++#include <cppunit/TestCaller.h>
++#include <cppunit/TestSuite.h>
++#include <cppunit/TestAssert.h>
++#include <cppunit/autoregister/registertestfunction.h>
++#include <cppunit/extensions/HelperMacros.h>
++#include <cppunit/additionalfunc.hxx>
++#include <cppunit/cmdlinebits.hxx>
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: simpleheader.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/stringhelper.hxx 2008-12-10 20:46:07.500255274 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/stringhelper.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,42 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef STRINGHELPER_HXX
++#define STRINGHELPER_HXX
++
++#include <rtl/ustring.hxx>
++#include <rtl/string.hxx>
++
++inline void operator <<= (rtl::OString& _rAsciiString, const rtl::OUString& _rUnicodeString)
++{
++ _rAsciiString = rtl::OUStringToOString(_rUnicodeString,RTL_TEXTENCODING_ASCII_US);
++}
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: stringhelper.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/taghelper.hxx 2008-12-10 20:46:07.588895546 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/taghelper.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,91 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef TAGHELPER_HXX
++#define TAGHELPER_HXX
++
++#include <map>
++#include <sal/types.h>
++#include <cppunit/nocopy.hxx>
++
++/* Tags are a general mechanism of extensible data arrays for parameter
++ * specification and property inquiry. In practice, tags are used in arrays,
++ * or chain of arrays.
++ *
++ */
++
++typedef sal_IntPtr Tag;
++typedef sal_IntPtr TagData;
++
++//# struct TagItem
++//# {
++//# Tag ti_Tag; /* identifies the type of data */
++//# TagData ti_Data; /* type-specific data */
++//# };
++
++/* constants for Tag.ti_Tag, control tag values */
++#define TAG_DONE (Tag(0L)) /* terminates array of TagItems. ti_Data unused */
++#define TAG_END (Tag(0L)) /* synonym for TAG_DONE */
++#define TAG_IGNORE (Tag(1L)) /* ignore this item, not end of array */
++#define TAG_MORE (Tag(2L)) /* ti_Data is pointer to another array of TagItems
++ * note that this tag terminates the current array
++ */
++#define TAG_SKIP (Tag(3L)) /* skip this and the next ti_Data items */
++
++/* differentiates user tags from control tags */
++#define TAG_USER (Tag(1L<<31))
++
++// -----------------------------------------------------------------------------
++class TagHelper /* : NOCOPY */
++{
++ typedef std::map<Tag, TagData> TagItems;
++ TagItems m_aTagItems;
++
++public:
++ TagHelper(){}
++ void insert(Tag _nTag, TagData _nData)
++ {
++ m_aTagItems[_nTag] = _nData;
++ }
++ // const TagItems& get() const { return m_aTagItems; }
++
++ TagData GetTagData(Tag _aTagValue, TagData _aDefaultValue = 0 /* NULL */) const
++ {
++ TagItems::const_iterator it = m_aTagItems.find(_aTagValue);
++ if (it != m_aTagItems.end())
++ return (*it).second;
++ else
++ return _aDefaultValue;
++ }
++};
++
++#endif
++
++
+Nur in misc/build/cppunit-1.8.0/include/cppunit: taghelper.hxx.dummy.
+--- misc/cppunit-1.8.0/include/cppunit/tagvalues.hxx 2008-12-10 20:46:07.672788513 +0100
++++ misc/build/cppunit-1.8.0/include/cppunit/tagvalues.hxx 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,81 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef TAGVALUES_H
++#define TAGVALUES_H
++
++#include <cppunit/taghelper.hxx>
++
++#define TAG_TYPE (Tag(TAG_USER | (0x01L)))
++
++#define TAG_RESULT (TAG_USER | 0x100)
++
++#define RESULT_START (Tag(TAG_RESULT | (0x02L)))
++#define TAG_RESULT_PTR (Tag(TAG_RESULT | (0x03L)))
++#define TAG_TEST_PTR (Tag(TAG_RESULT | (0x04L)))
++
++#define RESULT_END (Tag(TAG_RESULT | (0x05L)))
++
++#define RESULT_ADD_FAILURE (Tag(TAG_RESULT | (0x06L)))
++#define RESULT_ADD_ERROR (Tag(TAG_RESULT | (0x07L)))
++
++#define TAG_EXCEPTION (Tag(TAG_RESULT | (0x08L)))
++
++#define RESULT_ADD_INFO (Tag(TAG_RESULT | (0x09L)))
++#define TAG_INFO (Tag(TAG_RESULT | (0x0aL)))
++
++#define RESULT_ENTER_NODE (Tag(TAG_RESULT | (0x0bL)))
++#define RESULT_LEAVE_NODE (Tag(TAG_RESULT | (0x0cL)))
++#define TAG_NODENAME (Tag(TAG_RESULT | (0x0dL)))
++
++#define RESULT_SHOULD_STOP (Tag(TAG_RESULT | (0x0eL)))
++
++
++#define TAG_SIGNAL (TAG_USER | 0x200)
++// #define SIGNAL_CHECK (Tag(TAG_SIGNAL | (0x01L)))
++// #define INIT_SIGNAL_HANDLING (Tag(TAG_SIGNAL | (0x04L)))
++// #define RELEASE_SIGNAL_HANDLING (Tag(TAG_SIGNAL | (0x05L)))
++
++#define SIGNAL_START_TEST (Tag(TAG_SIGNAL | (0x06L)))
++#define SIGNAL_END_TEST (Tag(TAG_SIGNAL | (0x07L)))
++
++#define TAG_EXECUTION (TAG_USER | 0x400)
++#define EXECUTION_CHECK (Tag(TAG_EXECUTION | (0x01)))
++#define INIT_TEST (Tag(TAG_EXECUTION | (0x02)))
++#define RELEASE_TEST (Tag(TAG_EXECUTION | (0x03)))
++// #define EXECUTION_PUSH_NAME (Tag(TAG_EXECUTION | (0x04)))
++// #define EXECUTION_POP_NAME (Tag(TAG_EXECUTION | (0x05)))
++
++#define DO_NOT_EXECUTE 666
++#define GO_EXECUTE 1
++
++typedef sal_Int32 ReturnValue;
++
++#endif
+Nur in misc/build/cppunit-1.8.0/include/cppunit: tagvalues.hxx.dummy.
+--- misc/cppunit-1.8.0/include/makefile.mk 2008-12-10 20:46:08.530624271 +0100
++++ misc/build/cppunit-1.8.0/include/makefile.mk 2008-07-14 07:25:14.000000000 +0200
+@@ -1 +1,52 @@
+-dummy
++#*************************************************************************
++#
++# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++#
++# Copyright 2008 by Sun Microsystems, Inc.
++#
++# OpenOffice.org - a multi-platform office productivity suite
++#
++# $RCSfile$
++#
++# $Revision$
++#
++# This file is part of OpenOffice.org.
++#
++# OpenOffice.org is free software: you can redistribute it and/or modify
++# it under the terms of the GNU Lesser General Public License version 3
++# only, as published by the Free Software Foundation.
++#
++# OpenOffice.org is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU Lesser General Public License version 3 for more details
++# (a copy is included in the LICENSE file that accompanied this code).
++#
++# You should have received a copy of the GNU Lesser General Public License
++# version 3 along with OpenOffice.org. If not, see
++# <http://www.openoffice.org/license.html>
++# for a copy of the LGPLv3 License.
++#
++#*************************************************************************
++PRJ=..
++# PRJINC=..
++
++PRJNAME=cppunit
++TARGET=inc
++
++# --- Settings -----------------------------------------------------
++
++.INCLUDE : settings.mk
++
++# --- Files --------------------------------------------------------
++# --- Targets -------------------------------------------------------
++
++.INCLUDE : target.mk
++
++.IF "$(ENABLE_PCH)"!=""
++ALLTAR : \
++ $(SLO)$/precompiled.pch \
++ $(SLO)$/precompiled_ex.pch
++
++.ENDIF # "$(ENABLE_PCH)"!=""
++
+Nur in misc/build/cppunit-1.8.0/include: makefile.mk.dummy.
+--- misc/cppunit-1.8.0/include/testshl/autoregisterhelper.hxx 2008-12-10 20:46:07.771638742 +0100
++++ misc/build/cppunit-1.8.0/include/testshl/autoregisterhelper.hxx 2008-07-07 08:13:42.000000000 +0200
+@@ -1 +1,65 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU Lesser General Public License version 3 for more details
++ * (a copy is included in the LICENSE file that accompanied this code).
++ *
++ * You should have received a copy of the GNU Lesser General Public License
++ * version 3 along with OpenOffice.org. If not, see
++ * <http://www.openoffice.org/license.html>
++ * for a copy of the LGPLv3 License.
++ *
++ ************************************************************************/
++
++#ifndef AUTOREGISTER_HXX
++#define AUTOREGISTER_HXX
++
++#include <vector>
++#include <rtl/ustring.hxx>
++
++#include <cppunit/autoregister/testfunc.h>
++
++#include "dynamicregister.hxx"
++#include "getopt.hxx"
++
++typedef std::vector<FktPtr> FunctionList;
++
++// -----------------------------------------------------------------------------
++class JobList;
++class AutomaticRegisterHelper : public DynamicLibraryHelper
++{
++ FunctionList m_aFunctionList;
++ bool m_bLoadLibraryOK;
++ // GetOpt & m_aOptions; // use getOptions() instead!
++
++public:
++ AutomaticRegisterHelper(rtl::OUString const& _sDLLName, GetOpt & _aOptions/* , JobList * _pJobList = NULL */ );
++
++ // FunctionList getFunctions(){return m_aFunctionList;}
++ void CallAll(hTestResult _hResult) const;
++
++ /// @return true, if the given DLLName library could load and initialised.
++ bool isOkToStartTests() const {return m_bLoadLibraryOK;}
++
++ virtual ~AutomaticRegisterHelper();
++};
++
++#endif
++
+Nur in misc/build/cppunit-1.8.0/include/testshl: autoregisterhelper.hxx.dummy.
+--- misc/cppunit-1.8.0/include/testshl/dynamicregister.hxx 2008-12-10 20:46:07.812458771 +0100
++++ misc/build/cppunit-1.8.0/include/testshl/dynamicregister.hxx 2008-07-07 08:13:42.000000000 +0200
+@@ -1 +1,67 @@
+-dummy
++/*************************************************************************
++ *
++ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
++ *
++ * Copyright 2008 by Sun Microsystems, Inc.
++ *
++ * OpenOffice.org - a multi-platform office productivity suite
++ *
++ * $RCSfile$
++ * $Revision$
++ *
++ * This file is part of OpenOffice.org.
++ *
++ * OpenOffice.org is free software: you can redistribute it and/or modify
++ * it under the terms of the GNU Lesser General Public License version 3
++ * only, as published by the Free Software Foundation.
++ *
++ * OpenOffice.org is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the