1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 #ifndef INCLUDED_TEST_BOOTSTRAPFIXTURE_HXX
10 #define INCLUDED_TEST_BOOTSTRAPFIXTURE_HXX
12 #include <sal/config.h>
14 #include <rtl/string.hxx>
15 #include <tools/link.hxx>
16 #include <vcl/salctype.hxx>
17 #include <com/sun/star/uno/XComponentContext.hpp>
18 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
19 #include <com/sun/star/lang/XMultiComponentFactory.hpp>
21 #include "cppunit/TestAssert.h"
22 #include "cppunit/TestFixture.h"
23 #include "cppunit/extensions/HelperMacros.h"
24 #include "cppunit/plugin/TestPlugIn.h"
25 #include "unotest/bootstrapfixturebase.hxx"
26 #include "test/testdllapi.hxx"
30 // Class to do lots of heavy-lifting UNO & environment
31 // bootstrapping for unit tests, such that we can use
32 // almost an entire LibreOffice during compile - so
33 // that we can get pieces of code alone to beat them up.
35 // NB. this class is instantiated multiple times during a
36 // run of unit tests ...
37 class OOO_DLLPUBLIC_TEST BootstrapFixture
: public BootstrapFixtureBase
40 bool m_bAssertOnDialog
;
43 DECL_STATIC_LINK( BootstrapFixture
, ImplInitFilterHdl
, ConvertData
* );
45 BootstrapFixture( bool bAssertOnDialog
= true, bool bNeedUCB
= true );
46 virtual ~BootstrapFixture();
49 virtual void tearDown();
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */