LibreOffice Module test (master)
1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
test
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
17
#include <
test/bootstrapfixture.hxx
>
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
24
class
OOO_DLLPUBLIC_TEST
UnoApiTest
:
public
test::BootstrapFixture
,
public
unotest::MacrosTest
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: */
UnoApiTest::m_aBaseString
OUString m_aBaseString
Definition:
unoapi_test.hxx:37
bootstrapfixture.hxx
config.h
test::BootstrapFixture::setUp
virtual void setUp() override
Definition:
bootstrapfixture.cxx:103
macros_test.hxx
test::BootstrapFixture
Definition:
bootstrapfixture.hxx:43
unotest::MacrosTest
UnoApiTest
Definition:
unoapi_test.hxx:24
OOO_DLLPUBLIC_TEST
#define OOO_DLLPUBLIC_TEST
Definition:
testdllapi.hxx:28
Generated on Sat Feb 27 2021 02:35:52 for LibreOffice Module test (master) by
1.8.10