LibreOffice Module unotest (master) 1
bootstrapfixturebase.cxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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
10#include <sal/config.h>
11#include <config_features.h>
12
15#if HAVE_FEATURE_SCRIPTING
16#include <basic/sbstar.hxx>
17#endif
18
19using namespace ::com::sun::star;
20
21// NB. this constructor is called before any tests are run, once for each
22// test function in a rather non-intuitive way. This is why all the 'real'
23// heavy lifting is deferred until setUp. setUp and tearDown are interleaved
24// between the tests as you might expect.
26
28
30{
32 m_xFactory = m_xContext->getServiceManager();
33 m_xSFactory.set(m_xFactory, uno::UNO_QUERY_THROW);
34}
35
37{
38#if HAVE_FEATURE_SCRIPTING
40#endif
41}
42
43/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Reference< XComponentContext > m_xContext
static void DetachAllDocBasicItems()
virtual void setUp() override
virtual void tearDown() override
virtual ~BootstrapFixtureBase() override
Reference< XComponentContext > getProcessComponentContext()