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