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_BASIC_QA_CPPUNIT_BASICTEST_HXX
10 #define INCLUDED_BASIC_QA_CPPUNIT_BASICTEST_HXX
12 #include <sal/types.h>
13 #include <cppunit/TestFixture.h>
14 #include <cppunit/extensions/HelperMacros.h>
15 #include <cppunit/plugin/TestPlugIn.h>
16 #include <test/bootstrapfixture.hxx>
17 #include <basic/sbstar.hxx>
18 #include <basic/basrdll.hxx>
19 #include <basic/sbmod.hxx>
20 #include <basic/sbmeth.hxx>
21 #include <basic/sbuno.hxx>
27 BasicDLL maDll
; // we need a dll instance for resource manager etc.
32 void MakeModule( const OUString
& sSource
);
35 explicit MacroSnippet( const OUString
& sSource
);
38 void LoadSourceFromFile( const OUString
& sMacroFileURL
);
40 SbxVariableRef
Run( const css::uno::Sequence
< css::uno::Any
>& rArgs
);
46 DECL_LINK( BasicErrorHdl
, StarBASIC
*, bool );
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */