12#include <com/sun/star/lang/XServiceInfo.hpp>
14#include <com/sun/star/uno/Reference.hxx>
15#include <com/sun/star/uno/Sequence.hxx>
17#include <cppunit/TestAssert.h>
25 uno::Reference<lang::XServiceInfo> xSI(
init(), uno::UNO_QUERY_THROW);
27 CPPUNIT_ASSERT_EQUAL(
m_aImplName, xSI->getImplementationName());
32 uno::Reference<lang::XServiceInfo> xSI(
init(), uno::UNO_QUERY_THROW);
34 uno::Sequence<OUString>
aServiceNames = xSI->getSupportedServiceNames();
40 uno::Reference<lang::XServiceInfo> xSI(
init(), uno::UNO_QUERY_THROW);
43 CPPUNIT_ASSERT(xSI->supportsService(aServiceName));
std::vector< OUString > m_aServiceNames
void testSupportsService()
void testGetImplementationName()
OUString const m_aImplName
void testGetSupportedServiceNames()
virtual css::uno::Reference< css::uno::XInterface > init()=0
Sequence< OUString > aServiceNames