Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / include / test / container / xnamed.hxx
blob17ef070de94717fd6dd5359f3d601ba701141349
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_CONTAINER_XNAMED_HXX
11 #define INCLUDED_TEST_CONTAINER_XNAMED_HXX
13 #include <rtl/ustring.hxx>
15 #include <com/sun/star/uno/XInterface.hpp>
17 #include <com/sun/star/uno/Reference.hxx>
19 #include <test/testdllapi.hxx>
20 #include <utility>
22 namespace apitest
24 class OOO_DLLPUBLIC_TEST XNamed
26 public:
27 XNamed(OUString aTestName)
28 : m_aTestName(std::move(aTestName))
32 void testGetName();
33 void testSetName();
34 // special case, here name is equal to links URL
35 void testSetNameByScSheetLinkObj();
36 void testSetNameThrowsException();
38 virtual css::uno::Reference<css::uno::XInterface> init() = 0;
40 protected:
41 ~XNamed() {}
43 private:
44 OUString m_aTestName;
48 #endif // INCLUDED_TEST_CONTAINER_XNAMED_HXX
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */