nss: upgrade to release 3.73
[LibreOffice.git] / include / test / unoapi_test.hxx
blobb4a09b4a28cd76353224d22752453baf42a23069
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_TEST_UNOAPI_TEST_HXX
11 #define INCLUDED_TEST_UNOAPI_TEST_HXX
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>
19 // basic uno api test class
21 class OOO_DLLPUBLIC_TEST UnoApiTest : public test::BootstrapFixture, public unotest::MacrosTest
23 public:
24 UnoApiTest(const OUString& path);
26 void createFileURL(const OUString& aFileBase, OUString& rFilePath);
28 virtual void setUp() override;
30 protected:
31 void closeDocument(css::uno::Reference<css::lang::XComponent> const& xDocument);
33 private:
34 OUString m_aBaseString;
37 #endif // INCLUDED_TEST_UNOAPI_TEST_HXX
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */