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