Line data Source code
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 <test/bootstrapfixture.hxx>
12 : #include <unotest/macros_test.hxx>
13 : #include <com/sun/star/lang/XComponent.hpp>
14 : #include <osl/file.hxx>
15 :
16 : // basic uno api test class
17 :
18 0 : class OOO_DLLPUBLIC_TEST UnoApiTest : public test::BootstrapFixture, public unotest::MacrosTest
19 : {
20 : public:
21 : UnoApiTest(const OUString& path);
22 :
23 : void createFileURL(const OUString& aFileBase, OUString& rFilePath);
24 :
25 : virtual void setUp() SAL_OVERRIDE;
26 : virtual void tearDown() SAL_OVERRIDE;
27 :
28 : protected:
29 : void closeDocument( css::uno::Reference< css::lang::XComponent > xDocument );
30 :
31 :
32 : private:
33 : OUString m_aBaseString;
34 : };
35 :
36 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|