1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
10 #ifndef INCLUDED_TEST_LANG_XSERVICEINFO_HXX
11 #define INCLUDED_TEST_LANG_XSERVICEINFO_HXX
16 #include <com/sun/star/uno/XInterface.hpp>
18 #include <com/sun/star/uno/Reference.hxx>
20 #include <test/testdllapi.hxx>
24 class OOO_DLLPUBLIC_TEST XServiceInfo
27 XServiceInfo(OUString aImplName
, const OUString
& rServiceName
)
28 : m_aImplName(std::move(aImplName
))
30 m_aServiceNames
.push_back(rServiceName
);
32 XServiceInfo(OUString aImplName
, const std::vector
<OUString
> rServiceNames
)
33 : m_aImplName(std::move(aImplName
))
34 , m_aServiceNames(rServiceNames
)
38 virtual css::uno::Reference
<css::uno::XInterface
> init() = 0;
40 void testGetImplementationName();
41 void testGetSupportedServiceNames();
42 void testSupportsService();
48 OUString
const m_aImplName
;
49 std::vector
<OUString
> m_aServiceNames
;
52 } // namespace apitest
54 #endif // INCLUDED_TEST_LANG_XSERVICEINFO_HXX
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */