fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / include / test / bootstrapfixture.hxx
blobd8eaa1d3831bc0c14bb88f59b2a4886f9f6bf531
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
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"
28 namespace test {
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
39 bool m_bNeedUCB;
40 bool m_bAssertOnDialog;
42 public:
43 DECL_STATIC_LINK( BootstrapFixture, ImplInitFilterHdl, ConvertData* );
45 BootstrapFixture( bool bAssertOnDialog = true, bool bNeedUCB = true );
46 virtual ~BootstrapFixture();
48 virtual void setUp();
49 virtual void tearDown();
54 #endif
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */